ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Format displays (https://www.excelbanter.com/excel-discussion-misc-queries/218039-format-displays.html)

Michele

Format displays
 
I have a worksheet with a formula in a cell that results in a date.
Currently the cell is formatted for a date and because of the formula in the
cell, 01/00/00 displays in the cell until data is entered in various other
cells of the worksheet to populate the cell with the formula in it. Is it
possible to NOT display the 01/00/00 in the field?

Bernard Liengme

Format displays
 
In D1 I have a date; In A1 I have =IF(YEAR(D1)2008,D1,"")
A1 is formatted to display long date (e.g. January 12, 2009)
When the year of D1 is less than 2008, A1 looks empty
How is you worksheet set up?
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"michele" wrote in message
...
I have a worksheet with a formula in a cell that results in a date.
Currently the cell is formatted for a date and because of the formula in
the
cell, 01/00/00 displays in the cell until data is entered in various other
cells of the worksheet to populate the cell with the formula in it. Is it
possible to NOT display the 01/00/00 in the field?




David Biddulph[_2_]

Format displays
 
If your formula is using data from A1, and you want the answer blank if A1
is blank, then use
=IF(A1="","",your_formula)
--
David Biddulph

"michele" wrote in message
...
I have a worksheet with a formula in a cell that results in a date.
Currently the cell is formatted for a date and because of the formula in
the
cell, 01/00/00 displays in the cell until data is entered in various other
cells of the worksheet to populate the cell with the formula in it. Is it
possible to NOT display the 01/00/00 in the field?





All times are GMT +1. The time now is 12:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com