Handy hints for ExcelTo display the current date and time in a cell, type in the formula: =NOW()
This formula displays both the date and time in the cell. To display just the date, then use the formula: =TODAY()
These formulae update each time the sheet opens. To insert today’s date into a cell and not have it update automatically, press Ctrl and ; together.
|
A
|
B
|
|
|
1
|
01/11/2006
|
|
|
2
|
19/02/1980
|
|
|
3
|
26
|
26
|
For example, cell A1 contains today’s date, cell A2 contains a date of birth.
To ascertain age, then one of two different formulae can be used:
The formula in cell A3 is =DATEDIF(A2,A1,”Y”)
The formula in cell B3 is =YEAR(A1)-YEAR(A2). The cell B3 must be formatted to a general number.