+ Reply to Thread
Results 1 to 4 of 4

Conditional IF statement help

  1. #1
    Registered User
    Join Date
    02-24-2010
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2003
    Posts
    51

    Conditional IF statement help

    How can I complete this formula?

    Basically I want to say, only when cell H2 contains Item3, Item5, Item7 or Item9 then use the following formula:

    =IF(I2="1-Critical",4,IF(I2="2-High",3,IF(I2="3-Medium",2,IF(I2="4-Low",1,"")))))

    Summary:
    If cell H2 contains Item3, Item5, Item7, or Item9, then it will populate the cell containing the formula with 4,3,2, or 1.
    Last edited by NBVC; 04-07-2010 at 04:25 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Conditional IF statement help

    Try:

    =IF(OR(H2={"Item3","Item5","Item7","Item9"}),IF(I2="1-Critical",4,IF(I2="2-High",3,IF(I2="3-Medium",2,IF(I2="4-Low",1,"")))),"")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    02-24-2010
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2003
    Posts
    51

    Re: Conditional IF statement help

    That worked fantastically! You are amazing. Thanks a ton!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Conditional IF statement help

    You are welcome,

    Remember to please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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