Bonjour, see below your ask, the question isnammed:
Hidding #N/A, #Value!, ect... Forgot How... - Tom Woodyard 10:57:42 05/23/01
There are a few ways to do this. The way that I always use is to insert the vlookup formula into a if, iserror formula. It would look like this:
=if(iserror(VLOOKUP(B47,'July model stock'!$1:$65536,2,FALSE)),0,VLOOKUP(B47,'July model stock'!$1:$65536,2,FALSE))
The ",0," tells it to return a "0" if there is an error, or in your case a #N/A. Hope this helps.
Christi
Is $1:$65536 really the range of your lookup table on July model stock? Amazing.
Especially, with huge tables as yours, you wouldn't want #N/A's because hiding them can lead to slow performance. If you insist to get rid of them, I'd suggest using the following formula with, I believe, lesser performance cost:
=IF(ISNUMBER(MATCH(B47,July model stock!A:A,0)),VLOOKUP(B47,July model stock!$1:$65536,2,0),"")
I substituted the number 0 for FALSE in VLOOKUP, because as far as Excel concerned, FALSE=0 and TRUE=1.
Aladin
================== Here is the formula I am using: