1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Excel Formula - Help Fast Please

Discussion in 'Business Applications' started by Kammmie, Dec 3, 2001.

Thread Status:
Not open for further replies.
Advertisement
  1. Kammmie

    Kammmie Thread Starter

    Joined:
    Aug 14, 2001
    Messages:
    132
    Hi,

    I need help on how to use an excel formula. Here is what I need to do. I need to set a cell equal to a certain number if another cell is equal to a certain company name. How would I do this ?

    Thanks.
     
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    Conditional formatting or just put the formula in the cell.

    =IF(C1="Company Name",Value if true,value if false)
     
  3. Kammmie

    Kammmie Thread Starter

    Joined:
    Aug 14, 2001
    Messages:
    132
    Thank you so much for your help. I had one more question. What if I had to make one cell equal to a number if ummmmmm well heres an example:

    A1 = 4 IF B1 = 1 or C1 = 2 or D1 = 3 , etc.

    Thanks
     
  4. Gram123

    Gram123

    Joined:
    Mar 15, 2001
    Messages:
    1,829
    Just add an OR function, and separate the possible values with commas:

    Using Rockn's example:
    =IF(OR(C1="Company Name", C2="Manager"),Value if true,value if false)


    Using your example:

    =IF(OR(A1=4,B1=1,C1=2,D1=3),"Okay!", "No Way!")

    HTH
    Gram
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/60537

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice