Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
is there a formula that will subtract todays date from a hire date so that I
could have a "years of service" column |
#2
![]() |
|||
|
|||
![]()
Note: The DATEDIF function calculates the difference between two dates in years, months, or days. The "y" argument in the formula tells the function to calculate the difference in years. The "&" symbol is used to concatenate the result with the word "years".
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
in one cell enter the formula as follow =today() this will bring todays date, let's say is in cell E5, then use the formula as follow to calculate the difference =DATEDIF(D5,$E$5,"y")&" years "&DATEDIF(D5,$E$5,"ym")&" months "&DATEDIF(D5,$E$5,"md")&" days" Change range to fit your needs if this help please click yes, thanks "Heather" wrote: is there a formula that will subtract todays date from a hire date so that I could have a "years of service" column |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
A1 = hire date =DATEDIF(A1,NOW(),"y") -- Biff Microsoft Excel MVP "Heather" wrote in message ... is there a formula that will subtract todays date from a hire date so that I could have a "years of service" column |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
The formula will depend on what you define as years of service. If it's just whole years then In A1 enter the Date of Hire as a date In A2 enter =DATEDIF(A1,TODAY(),"y") -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Heather" wrote: is there a formula that will subtract todays date from a hire date so that I could have a "years of service" column |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
With hire date in A1 try
=DATEDIF(A1,TODAY(),"y") If this post helps click Yes --------------- Jacob Skaria "Heather" wrote: is there a formula that will subtract todays date from a hire date so that I could have a "years of service" column |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Subtract one year from todays date | Excel Discussion (Misc queries) | |||
Figuring Vacation Hrs. Earned using Current Date minus Hire Date | Excel Worksheet Functions | |||
formula for lenght of employment based on hire date | Excel Worksheet Functions | |||
Formula to subtract a date from current date | Excel Worksheet Functions | |||
todays date formula | Excel Worksheet Functions |