Lookup Index #NA Help!!!

stephen.smith

Board Regular
Joined
Jul 7, 2010
Messages
119
Hi Guys
I am having issues with two formulas which I have pasted below. Both of the formulas work perfectly however in some cases there is will be no possible answer in which case the cells with these formulas display #NA. Is it possible to perform these formulas in a way that if there is no possible answer that the cell remains empty and does not display #NA.
Thanks in advance and if anyone needs more info please let me know.

=VLOOKUP(B3,'PS 1'!$VW$1:$VX$13,2)
=INDEX('PS 1'!$B$52:$G$52,,MATCH(2,'PS 1'!$B$5:$G$5,0))
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try like this

=IF(ISNA(VLOOKUP(B3,'PS 1'!$VW$1:$VX$13,2),"",VLOOKUP(B3,'PS 1'!$VW$1:$VX$13,2))
 
Upvote 0
If you are using Excel 2007, you can use IFERROR:

=IFERROR(VLOOKUP(B3,'PS 1'!$VW$1:$VX$13,2),"")

This will give you a balnk cell if the lookup formula is #NA.

If you are using 2003, you can achieve the same reult by using ISNA. Let me know if this is the case & I will show you what to do.

Bill
 
Upvote 0
Hi Peter thanks but this doesnt work, an error message appears stating that I have too many arguments. Any ideas what is going wrong?
 
Upvote 0
Missing a ) I think

=IF(ISNA(VLOOKUP(B3,'PS 1'!$VW$1:$VX$13,2)),"",VLOOKUP(B3,'PS 1'!$VW$1:$VX$13,2))
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,848
Members
452,948
Latest member
UsmanAli786

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