#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Vlookup problem

Hi!

The problem I am having is in the lookup table, sometimes row 5 is
empty. When it is, it puts a zero in my cell. I want it to be blank.
Can I do this? I have pasted my formula.

=IF(ISERROR(VLOOKUP($A7,BB!$A$1:$S$5000,5,FALSE)), "",VLOOKUP($A7,BB!$A
$1:$S$5000,5,FALSE))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Vlookup problem

On Oct 12, 9:04*pm, Debbie wrote:
Hi!

The problem I am having is in the lookup table, sometimes row 5 is
empty. When it is, it puts a zero in my cell. I want it to be blank.
Can I do this? I have pasted my formula.

=IF(ISERROR(VLOOKUP($A7,BB!$A$1:$S$5000,5,FALSE)), "",VLOOKUP($A7,BB!$A
$1:$S$5000,5,FALSE))


Sorry, column 5 not row 5
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Vlookup problem

Well, it's a bit messy, but you could do this:

=IF(ISERROR(VLOOKUP($A7,BB!$A$1:$S$5000,5,0)),"",I F(VLOOKUP($A7,BB!$A
$1:$S$5000,5,0)="","",VLOOKUP($A7,BB!$A$1:$S$5000, 5,0)))

Hope this helps.

Pete

On Oct 13, 2:05*am, Debbie wrote:
On Oct 12, 9:04*pm, Debbie wrote:

Hi!


The problem I am having is in the lookup table, sometimes row 5 is
empty. When it is, it puts a zero in my cell. I want it to be blank.
Can I do this? I have pasted my formula.


=IF(ISERROR(VLOOKUP($A7,BB!$A$1:$S$5000,5,FALSE)), "",VLOOKUP($A7,BB!$A
$1:$S$5000,5,FALSE))


Sorry, column 5 not row 5


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Vlookup problem

What is the data type of the returned value?

If it's TEXT try this:

=IF(ISERROR(VLOOKUP($A7,BB!$A$1:$S$5000,5,0)),"",T (VLOOKUP($A7,BB!$A
$1:$S$5000,5,0)))

If it's numeric will 0 be an otherwise valid result?

--
Biff
Microsoft Excel MVP


"Debbie" wrote in message
...
Hi!

The problem I am having is in the lookup table, sometimes row 5 is
empty. When it is, it puts a zero in my cell. I want it to be blank.
Can I do this? I have pasted my formula.

=IF(ISERROR(VLOOKUP($A7,BB!$A$1:$S$5000,5,FALSE)), "",VLOOKUP($A7,BB!$A
$1:$S$5000,5,FALSE))



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Vlookup problem

'if col 5 is text then you can try
=IF(ISERROR(VLOOKUP($A7,bb!$A$1:$S$5000,5,FALSE)), "",T(VLOOKUP($A7,bb!$A$1:$S$5000,5,FALSE)))

'or other wise
=IF(ISERROR(VLOOKUP($A7,bb!$A$1:$S$5000,5,FALSE)), "",IF(VLOOKUP($A7,bb!$A$1:$S$5000,5,FALSE)="","",V LOOKUP($A7,bb!$A$1:$S$5000,5,FALSE)))


If this post helps click Yes
---------------
Jacob Skaria


"Debbie" wrote:

Hi!

The problem I am having is in the lookup table, sometimes row 5 is
empty. When it is, it puts a zero in my cell. I want it to be blank.
Can I do this? I have pasted my formula.

=IF(ISERROR(VLOOKUP($A7,BB!$A$1:$S$5000,5,FALSE)), "",VLOOKUP($A7,BB!$A
$1:$S$5000,5,FALSE))



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Vlookup problem

On Oct 12, 9:31*pm, Jacob Skaria
wrote:
'if col 5 is text then you can try
=IF(ISERROR(VLOOKUP($A7,bb!$A$1:$S$5000,5,FALSE)), "",T(VLOOKUP($A7,bb!$A$1:*$S$5000,5,FALSE)))

'or other wise
=IF(ISERROR(VLOOKUP($A7,bb!$A$1:$S$5000,5,FALSE)), "",IF(VLOOKUP($A7,bb!$A$1*:$S$5000,5,FALSE)="","", VLOOKUP($A7,bb!$A$1:$S$5000,5,FALSE)))

If this post helps click Yes
---------------
Jacob Skaria



"Debbie" wrote:
Hi!


The problem I am having is in the lookup table, sometimes row 5 is
empty. When it is, it puts a zero in my cell. I want it to be blank.
Can I do this? I have pasted my formula.


=IF(ISERROR(VLOOKUP($A7,BB!$A$1:$S$5000,5,FALSE)), "",VLOOKUP($A7,BB!$A
$1:$S$5000,5,FALSE))- Hide quoted text -


- Show quoted text -


Thank you. The second works great.
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
Problem with Vlookup Confused Excel Worksheet Functions 10 April 23rd 09 07:20 PM
vlookup problem Alessandro Excel Discussion (Misc queries) 10 January 22nd 08 05:49 PM
vlookup problem Jeanette Excel Worksheet Functions 4 February 14th 07 07:18 PM
VLOOKUP Problem uplink600 Excel Worksheet Functions 2 November 24th 05 03:57 PM
vlookup problem idcreek Excel Worksheet Functions 4 May 24th 05 01:07 PM


All times are GMT +1. The time now is 01:28 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"