Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
AZExcelNewbie
 
Posts: n/a
Default get rid of #N/A in a VLOOKUP

I need to replace the #N/A values to be blank within a VLOOKUP formula. How
do I do this?

I've tried the following but excel doesn't seem to like it:

=IF(ISBLANK(VLOOKUP($A6,'Sept 9'!$A$1:$U$47,14,FALSE),"",(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))
  #2   Report Post  
Ken Hudson
 
Posts: n/a
Default

Hi,
You are missing a closing parens in the formula and I usually use ISERROR.

=IF(ISERROR(VLOOKUP($A6,'Sept 9'!$A$1:$U$47,14,FALSE)),"",VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))

HTH
--
Ken Hudson


"AZExcelNewbie" wrote:

I need to replace the #N/A values to be blank within a VLOOKUP formula. How
do I do this?

I've tried the following but excel doesn't seem to like it:

=IF(ISBLANK(VLOOKUP($A6,'Sept 9'!$A$1:$U$47,14,FALSE),"",(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))

  #3   Report Post  
JMB
 
Posts: n/a
Default

Replace ISBLANK with ISERROR. Also, it looks like you're missing the ending
) for your ISBLANK function (posting error perhaps).


"AZExcelNewbie" wrote:

I need to replace the #N/A values to be blank within a VLOOKUP formula. How
do I do this?

I've tried the following but excel doesn't seem to like it:

=IF(ISBLANK(VLOOKUP($A6,'Sept 9'!$A$1:$U$47,14,FALSE),"",(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))

  #4   Report Post  
Zack Barresse
 
Posts: n/a
Default

Hello,

The proper formula would be ...

=IF(ISNA(VLOOKUP($A6,'Sept 9'!$A$1:$U$47,14,0)),"",VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,0))

Although I would suggest downloading Laurent Longre's Morefunc.xll add-in.
Found he http://xcell05.free.fr/english/index.html (english).

You could then shorten it to ...

=IF(SETV(VLOOKUP($A6,'Sept 9'!$A$1:$U$47,14,0)),"",GETV())

Makes it a little simpler to read/understand/troubleshoot.

HTH

--
Regards,
Zack Barresse, aka firefytr, (GT = TFS FF Zack)


"AZExcelNewbie" wrote in message
...
I need to replace the #N/A values to be blank within a VLOOKUP formula.
How
do I do this?

I've tried the following but excel doesn't seem to like it:

=IF(ISBLANK(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE),"",(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))



  #5   Report Post  
Zack Barresse
 
Posts: n/a
Default

Why ISERROR? Why not ISNA?

--
Regards,
Zack Barresse, aka firefytr, (GT = TFS FF Zack)


"Ken Hudson" wrote in message
...
Hi,
You are missing a closing parens in the formula and I usually use
ISERROR.

=IF(ISERROR(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE)),"",VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))

HTH
--
Ken Hudson


"AZExcelNewbie" wrote:

I need to replace the #N/A values to be blank within a VLOOKUP formula.
How
do I do this?

I've tried the following but excel doesn't seem to like it:

=IF(ISBLANK(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE),"",(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))





  #6   Report Post  
Ken Hudson
 
Posts: n/a
Default

Hi Zack,
Just my preference. ISNA accounts for the #NA error which is in the original
posting. I added the ISERROR suggestion to alert the poster that it would
cover the gamut of possible errors and is what I usually want to test.
--
Ken Hudson


"Zack Barresse" wrote:

Why ISERROR? Why not ISNA?

--
Regards,
Zack Barresse, aka firefytr, (GT = TFS FF Zack)


"Ken Hudson" wrote in message
...
Hi,
You are missing a closing parens in the formula and I usually use
ISERROR.

=IF(ISERROR(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE)),"",VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))

HTH
--
Ken Hudson


"AZExcelNewbie" wrote:

I need to replace the #N/A values to be blank within a VLOOKUP formula.
How
do I do this?

I've tried the following but excel doesn't seem to like it:

=IF(ISBLANK(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE),"",(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))




  #7   Report Post  
Zack Barresse
 
Posts: n/a
Default

True. I just am of the thinking, "If the glove fits..." Ya know? I mean,
I can do almost anything with VBA, but that doesn't mean use it when a
simple worksheet function would do the trick, does it? I know we're talking
petty change here, I've just seen these semantics often times get blown up
on a proportionately bigger scale with the same priciples.

Take care.

--
Regards,
Zack Barresse, aka firefytr, (GT = TFS FF Zack)


"Ken Hudson" wrote in message
...
Hi Zack,
Just my preference. ISNA accounts for the #NA error which is in the
original
posting. I added the ISERROR suggestion to alert the poster that it would
cover the gamut of possible errors and is what I usually want to test.
--
Ken Hudson


"Zack Barresse" wrote:

Why ISERROR? Why not ISNA?

--
Regards,
Zack Barresse, aka firefytr, (GT = TFS FF Zack)


"Ken Hudson" wrote in message
...
Hi,
You are missing a closing parens in the formula and I usually use
ISERROR.

=IF(ISERROR(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE)),"",VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))

HTH
--
Ken Hudson


"AZExcelNewbie" wrote:

I need to replace the #N/A values to be blank within a VLOOKUP
formula.
How
do I do this?

I've tried the following but excel doesn't seem to like it:

=IF(ISBLANK(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE),"",(VLOOKUP($A6,'Sept
9'!$A$1:$U$47,14,FALSE))






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 10:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"