If you put a date in a cell, then the value will always be the date.
You might see
January 23, 2006
or
1/23/2006
or
Jan 23, 2006
or
01232006
But if you select that cell and look at the formula bar, you'll see the date.
In fact, if you format the cell as General, you'll see:
38740
(which is the number of days since December 31, 1899. That date is equal to 0
to excel. Excel just keeps adding one to for every day passed since then.)
It's what makes date arithmetic so easy to do:
=today()+7
is a week from today.
Hi, I got it. But if the cell isnt custom formatted, i.e general, how to
refer?