Excel 2010 - IF with inside IFERROR

Posted on 2016-07-26
Last Modified: 2016-07-27
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,
Question by:csehz
LVL 50

Expert Comment

by:Ryan Chong
ID: 41730679
=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")))
LVL 43

Accepted Solution

Saqib Husain, Syed earned 500 total points
ID: 41730688
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"))

Author Closing Comment

ID: 41730718
Thanks very much it works

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question