Replace #N/A with blank in array formula

redrand

New Member
Joined
Oct 25, 2010
Messages
14
Hi

I have a formula I have used to match data in two columns and return the value of the third column, however this formula shows #N/A if not results or matches occur.

below is the formula I am using
=INDEX('Contract Data'!F$3:F$144,MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0))

I have tried using the =IF(ISERROR and the =IF(ISERR for example

=IF(ISERROR(INDEX('Contract Data'!F$3:F$144,MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0))))

However, excel 2003 states there is an error with the formula and no idea where.

All I want to do is if no match is found or no result available, show the cell as blank.

Hope someone can help with this, thanks :)
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi

You should be able to do that with:

=IF(ISNA(MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0)),"",INDEX('Contract Data'!F$3:F$144,MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0)))
 
Upvote 0
Hi

=IF(ISERROR(INDEX('Contract Data'!F$3:F$144,MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0) )))


Don't you need to finish the IF statement?

Code:
=IF(ISERROR((INDEX('Contract Data'!F$3:F$144,MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0)))),0,(INDEX('Contract Data'!F$3:F$144,MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0))))
 
Upvote 0
Hey, your missing what to do if it is true or false, here it is.

=IF(ISERROR(INDEX('Contract Data'!F$3:F$144,MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0)))," ",INDEX('Contract Data'!F$3:F$144,MATCH(Summary!$C$1&$D18,'Contract Data'!$A$3:$A$145&'Contract Data'!$B$3:$B$145,0)))
Jesse
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top