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 - Fast Help Please

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

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

    Kammmie Thread Starter

    Joined:
    Aug 14, 2001
    Messages:
    132
    OK for some reason I can't get this IF/OR formula to work .... someone please tell me the formula for this

    A1 = 4 IF A2 = 16580 or A2 = 16587 or A3 = EAR or A3 = FAB

    Thanks I appreciate the help.
     
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    you have to do it the other way around and have the IF statement first and do something like this:

    =IF(OR(A2=16580,A2=16587),4,0)

    you might be asking for trouble going outside of the one cell and looking for conditios there too. What if A2 and A3 were the same...then what?
     
  3. Anne Troy

    Anne Troy

    Joined:
    Feb 14, 1999
    Messages:
    11,746
    First Name:
    Anne
    A1 = 4 IF A2 = 16580 or A2 = 16587 or A3 = EAR or A3 = FAB

    =If(or(a2=16580,a2=16587,a3=ear,a3=fab),4,"I don't know")

    The "I don't know" part is because you didn't tell us what you want it to do if none of those arguments are NOT true. If you don't want it to say anything if any of those values are NOT true, then put my formula with nothing (not even a space) between the two quotes.
     
  4. Anne Troy

    Anne Troy

    Joined:
    Feb 14, 1999
    Messages:
    11,746
    First Name:
    Anne
    kammmie:

    It's nice if you can let us know if this worked for you. That way I can mark it solved, or we can keep helping, or you can tell us that you don't need it anymore, or you can tell us the formula you ended up finding someplace else.

    The whole idea of these free tech support sites is to share the information we learn.

    Thanks!

    :D
     
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/60655

  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