#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default VLOOKUP

We have a sheet which contains a VLOOKUP. But when the date looked up on
another sheet finds a blank, the date returned onto the sheet with the
VLOOKUP command, comes up with the date: 00/01/1900. We'd like it just to
show a blank field.

This is the current formula: =VLOOKUP(A3,Offers!$B$2:$U$751,18,FALSE)

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default VLOOKUP

Use a Custom number format.

Select the cell and press Ctrl-1. On the Number tab choose Custom and in
the Style box type

m/d/yyyy;;""



"bollard" wrote:

We have a sheet which contains a VLOOKUP. But when the date looked up on
another sheet finds a blank, the date returned onto the sheet with the
VLOOKUP command, comes up with the date: 00/01/1900. We'd like it just to
show a blank field.

This is the current formula: =VLOOKUP(A3,Offers!$B$2:$U$751,18,FALSE)

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default VLOOKUP

Try it like this:
=IF(VLOOKUP(...)=0,"",VLOOKUP(...))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"bollard" wrote:
We have a sheet which contains a VLOOKUP. But when the date looked up on
another sheet finds a blank, the date returned onto the sheet with the
VLOOKUP command, comes up with the date: 00/01/1900. We'd like it just to
show a blank field.

This is the current formula: =VLOOKUP(A3,Offers!$B$2:$U$751,18,FALSE)

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default VLOOKUP

Hi Max

I tried this, but it didn't work. I also tried replacing the 0- with "" or "
", but that didn't work either.

Seemed such a neat idea too.

"Max" wrote:

Try it like this:
=IF(VLOOKUP(...)=0,"",VLOOKUP(...))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"bollard" wrote:
We have a sheet which contains a VLOOKUP. But when the date looked up on
another sheet finds a blank, the date returned onto the sheet with the
VLOOKUP command, comes up with the date: 00/01/1900. We'd like it just to
show a blank field.

This is the current formula: =VLOOKUP(A3,Offers!$B$2:$U$751,18,FALSE)

Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default VLOOKUP

well, think it should have worked. "00/01/1900" is simply a zero returned by
the vlookup for blank cells where the formula cell is formatted as dd/m/yyyy.

Here's a quick sample to illustrate that it works:
http://cjoint.com/?ivpswpsoqg
bollard.xls
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"bollard" wrote:
Hi Max

I tried this, but it didn't work. I also tried replacing the 0- with "" or "
", but that didn't work either.

Seemed such a neat idea too.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default VLOOKUP

Hi Max

I just did it again and it works fine.

Many thanks.

"Max" wrote:

well, think it should have worked. "00/01/1900" is simply a zero returned by
the vlookup for blank cells where the formula cell is formatted as dd/m/yyyy.

Here's a quick sample to illustrate that it works:
http://cjoint.com/?ivpswpsoqg
bollard.xls
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"bollard" wrote:
Hi Max

I tried this, but it didn't work. I also tried replacing the 0- with "" or "
", but that didn't work either.

Seemed such a neat idea too.


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default VLOOKUP

ok, good to hear that.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"bollard" wrote in message
...
Hi Max

I just did it again and it works fine.

Many thanks.



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
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
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 05:38 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"