#1   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=DATEDIF(BirthDate,ReferDate,"Y") returns number of full years;
=DATEDIF(BirthDate,ReferDate,"M") returns number of full months;
=DATEDIF(BirthDate,ReferDate,"YM") returns remaining number of full months,
after full years are calculated;
=DATEDIF(BirthDate,ReferDate,"MD") returns remaining number of days, after
full months are calculated;

P.e. you can calculate an age string:
="Y:" & DATEDIF(BirthDate,ReferDate,"Y") & "; M:" &
DATEDIF(BirthDate,ReferDate,"YM") & "; D:" &
DATEDIF(BirthDate,ReferDate,"MD")

Arvi Laanemets


"Joe S." wrote in message
...
How to calculate ages of employees for benefits enrollment given the date

of
birth?
--
Joe S.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating and locking the esult of a formula investor Excel Discussion (Misc queries) 1 December 7th 04 07:08 PM
Calculating Interest where rate changes per quarter Dean Strudwick Excel Discussion (Misc queries) 1 December 6th 04 11:36 PM
Calculating tax Formula DWright Excel Discussion (Misc queries) 7 December 1st 04 07:37 AM
Formulas stop calculating at random times when editing a few spreadsheets. Luke MacNeil Excel Discussion (Misc queries) 3 November 30th 04 03:21 PM
Calculating without including Hidden Cells LiquidFire Excel Discussion (Misc queries) 3 November 29th 04 08:35 PM


All times are GMT +1. The time now is 02:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"