Avoid #N/A in an Index Match Formula

Posted on 2013-01-10
Last Modified: 2013-01-10
I have the following formula that looks for values in a separate worksheet, whenever it doesn't find a value it places the #N/A symbol in the cell. Since I will be charting this information how can I get the cell to be left blank if nothing is captured ?

=INDEX('Act vs Bud'!$I$2:$ES$401,MATCH($A9,'Act vs Bud'!$A$2:$A$401,0),MATCH(B$1,'Act vs Bud'!$I$2:$ES$2,0))
Question by:joeserrone
LVL 23

Accepted Solution

NBVC earned 500 total points
ID: 38764491
You can wrap it in an IFERROR()


=IFERROR(INDEX('Act vs Bud'!$I$2:$ES$401,MATCH($A9,'Act vs Bud'!$A$2:$A$401,0),MATCH(B$1,'Act vs Bud'!$I$2:$ES$2,0)),"")

Author Closing Comment

ID: 38764609

Featured Post

Problems using Powershell and Active Directory?

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

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