Blank cell showing 00/01/1900

mesteptoe

Board Regular
Joined
Aug 22, 2008
Messages
105
I have a series of spreadsheets. On one of these (say Sheet A) there is a cell (Cell X) where the user inputs the date when it is last viewed. However, at the outset, it is an empty cell but formatted for a date.
On another spreadsheet (Sheet B) there is a facility whereby it displays the date (in cell Y) when spreadsheet Sheet A was last viewed. This works fine once a date is entered in Cell X (Sheet A) but, initially, when the cell X is blank Cell Y shows as 00/01/1900. How can I get Cell Y to also be blank?

The same also happens when I try to pass information between two separate workbooks, i.e. Cell Y in a different workbook to Cell X.

Any suggestions?

Thank you

Graham
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
When you reference an empty cell in a formula, Excel treats it as zero ( that includes simple linking formulas from one workbook to another ). ( and zero in date format comes out as 00/01/1900 )

You can either use a formula like this:
=IF(cellA="","",cellA)

or use custom number formatting to suppress the zeros, like Format Cells/Number/Custom:
Code:
[<1]"";dd/mm/yyyy
 
Upvote 0
Hi Graham

I take it you are using a formula along the lines of:

=SheetA!CellX

Instead, use a formula like:

=IF(ISNUMBER(SheetA!CellX),SheetA!CellX,"")
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,750
Members
452,940
Latest member
rootytrip

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top