Calculate age based on defined date

spill-the-beans

Board Regular
Joined
Feb 7, 2013
Messages
52
Hello all,

At the moment I have a rather clumsy way of calculating someone's age based on today.

BCDEF
date of birthtodayyearmonthsanswer
06/05/2008

<tbody>
</tbody>
=TODAY()=IF(MONTH(TODAY())>MONTH(B2),YEAR(TODAY())-YEAR(B2), IF(AND(MONTH(TODAY())=MONTH(B2),DAY(TODAY())>=DAY(B2)), YEAR(TODAY())-YEAR(B2),(YEAR(TODAY())-YEAR(B2))-1))=DATEDIF(B2,C2,"m")=INT(E2/12)&" years "&MOD(E2,12) & " months"

<tbody>
</tbody>

I have 2 questions:

1: Does anyone know how I would be able to have just three columns (B: the date of birth, C: today, and F: the answer) rather than have extra columns D and E in order to work out the answer in F?

2: Is it possible to work out someone's age based on their date of birth and a defined date? So instead of date of birth to today, I could put a different specific date in column C and have another formula to work out how old that person was on that specific date?

If anyone could help, I would much appreciate this.
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,215,650
Messages
6,126,021
Members
449,281
Latest member
redwine77

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