Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Pam
 
Posts: n/a
Default Formula that will represent years & months worked

I am trying to figure out a formula that will calculate how many years &
months an employee has worked for the company. I found a formula that will
give me the years, but not years & months.
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Take a look at Chip Pearson's notes at:
http://www.cpearson.com/excel/datedif.htm

Pam wrote:

I am trying to figure out a formula that will calculate how many years &
months an employee has worked for the company. I found a formula that will
give me the years, but not years & months.


--

Dave Peterson
  #3   Report Post  
Mike
 
Posts: n/a
Default

=today()-hiredate
Then format that cell as Special YY:MM

"Pam" wrote:

I am trying to figure out a formula that will calculate how many years &
months an employee has worked for the company. I found a formula that will
give me the years, but not years & months.

  #4   Report Post  
Pam
 
Posts: n/a
Default

I followed Mike's instruction =today()-hiredate, however I do not have YY:MM
under Special or Custom formatting, how do I obtain this selection?

"Pam" wrote:

I am trying to figure out a formula that will calculate how many years &
months an employee has worked for the company. I found a formula that will
give me the years, but not years & months.

  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 29 Aug 2005 10:12:05 -0700, Pam wrote:

I am trying to figure out a formula that will calculate how many years &
months an employee has worked for the company. I found a formula that will
give me the years, but not years & months.


=DATEDIF(hire_date,TODAY(),"y") & " years "
& DATEDIF(hire_date,TODAY(),"ym") &" months"


--ron


  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Select Custom and just type it in the Type: box.


Pam wrote:

I followed Mike's instruction =today()-hiredate, however I do not have YY:MM
under Special or Custom formatting, how do I obtain this selection?

"Pam" wrote:

I am trying to figure out a formula that will calculate how many years &
months an employee has worked for the company. I found a formula that will
give me the years, but not years & months.


--

Dave Peterson
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
How do i convert years to months (formula) SDPMIAMI Excel Worksheet Functions 1 June 17th 05 03:56 AM
Converting sum of time Tanya Excel Worksheet Functions 4 April 22nd 05 04:32 AM
Calculate months and years Ned Ludd Excel Discussion (Misc queries) 5 December 10th 04 01:57 PM
Help with Years of Service formula.... Wild Bill Excel Discussion (Misc queries) 1 December 6th 04 08:47 PM
How do I display months and years between two dates JSmith Excel Discussion (Misc queries) 1 November 30th 04 04:41 PM


All times are GMT +1. The time now is 09:55 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"