Go Premium for a chance to win a PS4. Enter to Win

x
Solved

# Excel 2010 - IF with inside IFERROR

Posted on 2016-07-26
Medium Priority
96 Views
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

0
Question by:csehz

LVL 54

Expert Comment

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")))
0

LVL 43

Accepted Solution

Saqib Husain, Syed earned 2000 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"))
0

LVL 1

Author Closing Comment

ID: 41730718
Thanks very much it works
0

## Featured Post

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
###### Suggested Courses
Course of the Month10 days, 22 hours left to enroll