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
Comment Utility
=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
Comment Utility
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

Comment Utility
Thanks very much it works

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

762 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

12 Experts available now in Live!

Get 1:1 Help Now