Forum Discussion

g_pramono's avatar
g_pramono
Copper Contributor
Apr 01, 2026
Solved

Finding return value from multiple columns/cells with specific text

Hello,

I have to verify multiple cells (C2 to F2) with two possible statuses: "Eligible" and "Not Eligible". In Excel, would it be possible to:

  1. If all cells "Eligible", then the result is "Passed".
  2. If any of the columns is "Not Eligible", then the result is "Failed".
  3. (additional issue) this is not super important but it would be helpful to add one more condition: if any of the columns is "Consult", then the result is "No Result". I'm fine if only the 1st and 2nd issue works, though.

I have tried finding solutions in other discussions, but usually the formula that I copy-pasted keep showing "Passed" even if one of the documents is listed as "Not Eligible".

Thanks in advance.

 ABCDEFG
1No.NameDocument 1Document 2Document 3Document 4Result
21Candidate AEligibleEligibleEligibleEligiblePassed
32Candidate BEligibleNot EligibleEligibleEligibleFailed
43Candidate CEligibleEligibleConsultEligibleNo Result
54Candidate DEligibleEligibleEligibleNot EligibleFailed
  • yes,  try this:

    =IFS(AND(D3:G3="Eligible"),"Passed",OR(D3:G3="Consult"),"No Result",OR(D3:G3="Not Eligible"),"Failed",1,"Error")

    here is the result:

    I will try to attach the file...

4 Replies