Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how do I do this: today minus hire date equals how many years mo.

I am trying to create a spreadsheet that calculates how many
years/months/days someone has worked with the company. When I use
=today()-the hire date , it adds a month onto it and the days are wrong.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default how do I do this: today minus hire date equals how many years mo.

=DATEDIF(A1,TODAY(),"y") & " years, " & DATEDIF(A1,TODAY(),"ym") & " months,
" & DATEDIF(A1,TODAY(),"md") & " days"

be careful of the wrapping
--
Gary''s Student - gsnu200750


"btaylor1990" wrote:

I am trying to create a spreadsheet that calculates how many
years/months/days someone has worked with the company. When I use
=today()-the hire date , it adds a month onto it and the days are wrong.

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
Figuring Vacation Hrs. Earned using Current Date minus Hire Date Sharon Excel Worksheet Functions 6 May 3rd 07 10:32 PM
IF TODAY equals date in cell A10, or if TODAY is beyond that date SoupNazi Excel Worksheet Functions 4 April 23rd 07 01:14 AM
Today minus 1 day MB Excel Worksheet Functions 3 August 11th 06 07:54 PM
Calculate number of years and months employed using hire date and. TryingTime Excel Worksheet Functions 1 June 29th 06 04:26 AM
add a hire date to the end of year (12/31/05) and get Total years Sohoma Knome Excel Discussion (Misc queries) 2 December 28th 05 03:20 PM


All times are GMT +1. The time now is 07:47 PM.

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

About Us

"It's about Microsoft Excel"