H Heather Jun 25, 2009 #1 is there a formula that will subtract todays date from a hire date so that I could have a "years of service" column
is there a formula that will subtract todays date from a hire date so that I could have a "years of service" column
E Eduardo Jun 25, 2009 #2 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
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
J Jacob Skaria Jun 25, 2009 #4 With hire date in A1 try =DATEDIF(A1,TODAY(),"y") If this post helps click Yes
S Shane Devenshire Jun 25, 2009 #5 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")
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")