+ Reply to Thread
Results 1 to 6 of 6

if, and, or

  1. #1
    Registered User
    Join Date
    11-04-2014
    Location
    New York, NY
    MS-Off Ver
    2013
    Posts
    6

    if, and, or

    I will try to describe the problem that I haven't been able to solve for days. Maybe it's really easy, but I haven't been able to string together my logical tests so that they work together. E1 will contain one of 4 values (They are the words "Elite", "Preferred", "Traditional" and "Non-Traditional"). The word that appears in E1 is dependent on lots of other data, which all works fine. The value of a related cell (where the formula will reside) will populate depending on the word. So, =if("Elite",6, if("Preferred",4, if("Traditional",8, if("Non-Traditional",7 Again, it seems like it should be so simple but I can't get it. Any help? Thank you in advance. Tom

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: if, and, or

    give this a try

    Please Login or Register  to view this content.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: if, and, or

    Hi, welcome to the forum

    Perhaps a small addition to that?
    =if("Elite",6, if("Preferred",4, if("Traditional",8,7))) Agai
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    10-30-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    2

    Re: if, and, or

    Gotcha. This formula will work:

    =IF(E1="Elite",6, IF(E1="Preferred",4,IF(E1="Traditional",8,IF(E1="Non-Traditional",7))))

    -PMC_93

  5. #5
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: if, and, or

    twyckoff - thanks for the rep point - glad we could all help...

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: if, and, or

    glad we could help and thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1