SOLVED

Employee Current Age or Age at DOD

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3166101%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3EEmployee%20Current%20Age%20or%20Age%20at%20DOD%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3166101%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CP%3EDoes%20anyone%20know%20if%20there%20is%20a%20formula%20that%20will%20show%20an%20employee's%20Current%20Age%20(as%20of%20TODAY)%20OR%20if%20there%20is%20a%20Date%20of%20Death%20present%2C%20what%20the%20Age%20was%20when%20they%20deceased%3F%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26lt%3B%5C%2FP%26gt%3B%3C%2FP%3E%3CP%3EI%20seem%20to%20only%20know%20how%20to%20calculate%20one%20or%20the%20other%20(like%3A%20Current%20age%20or%20DOD%20age)%2C%20but%20I%20need%20the%20formula%20to%20figure%20out%20that%20if%20there%20is%20not%20a%20DOD%20to%20continue%20to%20calculate%20the%20age%20of%20the%20employee%20for%20the%20current%20date.%26lt%3B%5C%2FP%26gt%3B%26lt%3B%5C%2Flingo-body%26gt%3B%3CLINGO-LABS%20id%3D%22%5C%26quot%3Blingo-labs-3166101%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%26lt%3B%5C%2Flingo-label%26gt%3B%26lt%3B%5C%2Flingo-labs%26gt%3B%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3166269%22%20slang%3D%22en-US%22%3ERe%3A%20Employee%20Current%20Age%20or%20Age%20at%20DOD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3166269%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1307221%22%20target%3D%22_blank%22%3E%40Debbie_Faye%3C%2FA%3E%26nbsp%3BPerhaps%20like%20this%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Riny_van_Eekelen_1-1644907732924.png%22%20style%3D%22width%3A%20580px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348244i3CB52E94758B23EF%2Fimage-dimensions%2F580x171%3Fv%3Dv2%22%20width%3D%22580%22%20height%3D%22171%22%20role%3D%22button%22%20title%3D%22Riny_van_Eekelen_1-1644907732924.png%22%20alt%3D%22Riny_van_Eekelen_1-1644907732924.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20calculated%20age%20on%20today's%20date%20if%20DOD%20is%20blank%2C%20otherwise%20it%20calculates%20the%20age%20at%20death.%20Ages%20are%20presented%20in%20one%20decimal%2C%20but%20you%20can%20round%20at%20as%20you%20wish.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3170061%22%20slang%3D%22en-US%22%3ERe%3A%20Employee%20Current%20Age%20or%20Age%20at%20DOD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3170061%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOMG!%20It%20works!%20You're%20a%20life%20saver!%20Thank%20you%20so%20much!%20%3A0)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3170089%22%20slang%3D%22en-US%22%3ERe%3A%20Employee%20Current%20Age%20or%20Age%20at%20DOD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3170089%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1307221%22%20target%3D%22_blank%22%3E%40Debbie_Faye%3C%2FA%3E%26nbsp%3BOf%20course%20it%20works%20%3A)))%20Most%20welcome.%20Glad%20I%20could%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3202229%22%20slang%3D%22en-US%22%3ERe%3A%20Employee%20Current%20Age%20or%20Age%20at%20DOD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3202229%22%20slang%3D%22en-US%22%3EI%20am%20not%20shocked%20it%20works%2C%20but%20just%20coming%20in%20to%20say%20thanks.%20Just%20what%20I%20needed%20for%20something%20else.%20Cheers!%3C%2FLINGO-BODY%3E
New Contributor

Does anyone know if there is a formula that will show an employee's Current Age (as of TODAY) OR if there is a Date of Death present, what the Age was when they deceased?

 

I seem to only know how to calculate one or the other (like: Current age or DOD age), but I need the formula to figure out that if there is not a DOD to continue to calculate the age of the employee for the current date.

10 Replies
best response confirmed by Sergei Baklan (MVP)
Solution

@Debbie_Faye Perhaps like this:

Riny_van_Eekelen_1-1644907732924.png

 

It calculated age on today's date if DOD is blank, otherwise it calculates the age at death. Ages are presented in one decimal, but you can round at as you wish.

 

@Riny_van_Eekelen 

 

OMG! It works! You're a life saver! Thank you so much! :0)

@Debbie_Faye Of course it works :))) Most welcome. Glad I could help!

I am not shocked it works, but just coming in to say thanks. Just what I needed for something else. Cheers!
Riny, Do you have any suggestions for how to present the Age as Years and Months? I'm dealing with data that has infants in it. So it's DOB referencing a session date to get Age at the session. 1.8 When the point 8 represents 80% isn't so clear.
Without using DATEDIF, unfortunately. Still on Office 2019 on desktop.

@davidmaddock54 

Just use it. You can use it. 

@davidmaddock54 

@Riny_van_Eekelen solution does not suit your needs unless you have the definition about "the month difference", e.g. assume each month 30 days.  Otherwise, Riny's solution cannot suit your needs to turn the overall day difference to "the number of years and month difference".

 

If I am wrong, please correct me.  I am also learning too.

I had Riny's solution get me totals that were close enough. Once I had the difference as a number of days, I divided by 30.5 to give me a ballpark Month count. But that wouldn't help with years, I think I'd be doing some sort of calculation to work out How many years in X days, then working out how to calculate the remainder into Months, then getting it to format correctly. When you're just dealing with older ages it would have been great, and I'll use it again, but when I'm trying to humanise the data into plain English and account for folks talking about ages in Months and then at some random point between 1-3 going to Years and Months, it's tricky.

Thank god Datedif works. No syntax help, but it does work.