#1   Report Post  
leolin
 
Posts: n/a
Default 0/01/1900

i have a VLOOKUP formula which returns a date value and i have formatted the
cells to be in date format. however when a value cannot be found (ie. returns
0) the format changes the 0 to 0/01/1900. how can i stop this? id want the
cell to be blank if there is no value.

appreciate your help, thanks!
  #2   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=IF(VLOOKUP(...)=0,"",VLOOKUP(...))

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"leolin" wrote in message
...
i have a VLOOKUP formula which returns a date value and i have formatted

the
cells to be in date format. however when a value cannot be found (ie.

returns
0) the format changes the 0 to 0/01/1900. how can i stop this? id want the
cell to be blank if there is no value.

appreciate your help, thanks!



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

I think I'd use:

=if(vlookup()="","",vlookup())

just in case there was ever a zero that should be returned.



Arvi Laanemets wrote:

Hi

=IF(VLOOKUP(...)=0,"",VLOOKUP(...))

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets

"leolin" wrote in message
...
i have a VLOOKUP formula which returns a date value and i have formatted

the
cells to be in date format. however when a value cannot be found (ie.

returns
0) the format changes the 0 to 0/01/1900. how can i stop this? id want the
cell to be blank if there is no value.

appreciate your help, thanks!


--

Dave Peterson
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



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

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"