Time Duration using dates

Hayesk

New Member
Joined
Mar 14, 2002
Messages
30
Hello

I have the following:

Column A- "Date Built" formatted as 2/15/2002
Column B- "Today's Date" using =TODAY()
Column C- "Building Age" ?

How to I calculate the age of the building and show the age in years in the cell?

Appreciate the help. Thanks!

Regards,
Hayesk
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,209
On 2002-09-17 03:07, Hayesk wrote:
Hello

I have the following:

Column A- "Date Built" formatted as 2/15/2002
Column B- "Today's Date" using =TODAY()
Column C- "Building Age" ?

How to I calculate the age of the building and show the age in years in the cell?

Appreciate the help. Thanks!

Regards,
Hayesk

=DATEDIF(A1,B1,"y")

or

=YEARFRAC(A1,B1)

where A1 houses a "date built" and B1 today's date.

The latter requires the Analysis Toolpak add-in (see Tools|Add-Ins).
 

Forum statistics

Threads
1,144,312
Messages
5,723,647
Members
422,508
Latest member
Lordkit1

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
Top