VLOOKUP

B

bollard

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.
 
D

Duke Carey

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;;""
 
B

bollard

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.
 
M

Max

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
 
Top