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 49

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now