Excel Age Calculator

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Slight variation on azumis post using datedif(). These are based on the cells used in the download but are a few columns to the right.


Cell Formulas
RangeFormula
D11=DATEDIF(DATE($C$9, $B$9, $A$9),DATE($C$5, $B$5, $A$5),"y")&" Years "&DATEDIF(DATE($C$9, $B$9, $A$9),DATE($C$5, $B$5, $A$5),"ym")&" months "&DATEDIF(DATE($C$9, $B$9, $A$9),DATE($C$5, $B$5, $A$5),"md")&" days"
D13=DATE($C$5, $B$5, $A$5)-DATE($C$9, $B$9, $A$9)&" Days "
D15=(DATE($C$5, $B$5, $A$5)-DATE($C$9, $B$9, $A$9))*24&" Hours "
D17=(DATE($C$5, $B$5, $A$5)-DATE($C$9, $B$9, $A$9))*1440&" Minutes "


Hope this might also be of use.

Dave
 
Upvote 0
Also if you want to get the "Number of days until next birthday" from that calculator you can use this formula

=IF(AND(B9=B5,A9=A5),"Happy Birthday!",DATE(C9+1,B9+DATEDIF(DATE(C9,B9,A9),DATE(C5,B5,A5),"y")*12,A9)-DATE(C5,B5,A5)&" days left for your next birthday")
 
Upvote 0
Although the OP has plenty of options for age formulas you happen to have missed that one out on your file royUK ;)
 
Upvote 0
I must have deleted it by accident. It was the first formula that I added.

Anyway it's back now.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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