• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 109
  • Last Modified:

Excel 2010 - IF with inside IFERROR

Dear Experts,

I have a formula combining formula IF with IFERROR and that works because brings result without any error in the cell:

=IF(C2="","",IF(B2="C","C",IFERROR(VLOOKUP(C:C,Status!$F$4:$F$200000,1,0),"No action yet")))

This means that technically possible to have IFERROR as nested after IF.

But when trying to apply the following formula which is just adding one VLOOKUP compare to the before one, it brings result as #N/A:

=IF(C3="","",IF(VLOOKUP(C:C,Status!$F$4:$F$200000,1,0)>0,"Group de-duplicated",IFERROR(VLOOKUP(C:C,Status!$F$4:$F$200000,1,0),"No action yet")))

Could you please help to spot the eventual syntax issue in the second one? My target is to not bring #N/A in the cell

Thanks in advance,
1 Solution
Ryan ChongCommented:
=IF(C3="","",IF(VLOOKUP(C:C,Status!$F$4:$F$200000,1,0)>0,"Group de-duplicated",IFERROR(VLOOKUP(C:C,Status!$F$4:$F$200000,1,0),"No action yet")))

seems wrong, do you mean C3 instead?

=IF(C3="","",IF(VLOOKUP(C3,Status!$F$4:$F$200000,1,0)>0,"Group de-duplicated",IFERROR(VLOOKUP(C3,Status!$F$4:$F$200000,1,0),"No action yet")))
Saqib Husain, SyedEngineerCommented:
If the given formula works then this could be the sought modification

=IF(C3="","",IFERROR(IF(VLOOKUP(C:C,status!$F$4:$F$200000,1,0)>0,"Group de-duplicated"),"No action yet"))
csehzIT consultantAuthor Commented:
Thanks very much it works
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now