+ Reply to Thread
Results 1 to 4 of 4

Help with "IF" Formula with conditions--

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Washington, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Help with "IF" Formula with conditions--

    Hello Users,

    I could sure use some help with a formula. Since I am not an Excel Ninja by any stretch of the imagination, I can't seem to get this formula right.

    I am comparing a new tab called "Analyst 1" to an original tab called "Master". The analyst is to select from a massive list of different options, each option having a drop-down box with at least two possible selections. I am trying to generating the results on a different tab called "Results". I want to create an outcome where, depending on the Analyst's answers compared to the Master, 1 of the 5 options below appears in the cell (blank, "Missing PoL"/"Extra PoL", or Correct/Incorrect).

    If Analyst 1 B3=0 & If Master B3=0 then “”

    If Analyst 1 B3=0 & If Master B3≠0 then “Missed PoL”

    If Analyst 1 B3≠0 & If Master B3 =0 then “Extra PoL”

    If Analyst 1 B3=Master then “Correct”, “Incorrect”

    The formula that I have come up with follows, but it never seems to work right. Either there is an error of some kind, or the word 'FALSE' makes its way into the box. Here is one of the many variations of the formula that I am working on:

    =IF('Analyst 1'!B3=0,"",IF(Master!B3=0,"Correct No PoL","Extra PoL"),IF('Analyst 1'!B3=Master!B3,"Correct","Incorrect"))

    Any help would be greatly appreciated.
    Thanks,
    Rhett

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Help with "IF" Formula with conditions--

    =IF('Analyst 1'!B3=Master!B3,IF('Analyst 1'!B3=0,"","Correct"),IF('Analyst 1'!=0,"Missed PoL",If(Master!B3=0,"Extra PoL","Incorrect")))
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

  3. #3
    Registered User
    Join Date
    03-21-2012
    Location
    Washington, USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Help with "IF" Formula with conditions--

    Dear Forum Guru,

    This is sooo close, but its not quite right. Perhaps my criterion above are not exactly correct.

    With the formula you provided, when the "Master" is blank and the "Analyst 1" is correctly left blank the response "correct" appears in the cell. However, I'd like it to just stay blank. I only want the "correct" to come up when the Master has selected an option and the Analyst 1 also selects that option correctly. What do you think?

    Thank you so much, this has been very frustrating (but in a good way, I guess).

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Help with "IF" Formula with conditions--

    Ok, try =IF('Analyst 1'!B3=Master!B3,IF('Master!B3="","",IF('Analyst 1'!B3=0,"","Correct"),IF('Analyst 1'!=0,"Missed PoL",If(Master!B3=0,"Extra PoL","Incorrect"))))

    If Master b3 is blank and analyst 1 is blank or 0, it will remain blank. If both need to be blank for it to remain blank, try
    =IF(AND('Analyst 1'!B3="",Master!B3=""),"",IF('Analyst 1'!B3=Master!B3,IF('Analyst 1'!B3=0,"","Correct"),IF('Analyst 1'!=0,"Missed PoL",If(Master!B3=0,"Extra PoL","Incorrect"))))

+ 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