Link to home
Start Free TrialLog in
Avatar of Salvosg1
Salvosg1Flag for United States of America

asked on

excel help

Based on a date in the future I need to be able to put people into groups based on their date of birth.

So for example I need to know what a persons age will be on march 4th of this year. The result will need to put out their age at that time on that date.
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rgonzo1971
Rgonzo1971

Hi,

pls try
if DOB in A2 and your date in B2 then try in C2
=INT(YEARFRAC(A2,B2,1))

Open in new window

Regards
Hi,

If you want actual then pls try below:
DOB in A2, Future Date in B2 and below formula in C2
=YEARFRAC(B2,A2,1)

Open in new window

Avatar of Salvosg1

ASKER

This solution was more of what I was looking for. Thanks to the others that posted.