Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 11
Question Help showing active months between two dates

I am completely stumped while trying to find the active months between two dates for an employee turnover rate. For example if "Ann" was hired 12/9/11 and quit 2/18/12 she would be considered an active employee for 3 months (Dec 11, Jan 12, Feb 12). My list is currently set up like this .....

Name.........Start Date.........End Date
Ann............12/9/11............2/18/12
Bob.............11/6/11............12/6/11
Carl.............12/28/11..........1/15/12

So from the data above I can say

Ann was active.............(Dec 11, Jan 12, Feb 12)
Bob was active (Nov 11, Dec 11)
Carl was active.............(Dec 11, Jan 12)

I am not sure how to show THIS ^ on excel!



The main goal is to have the data in the end to look like this:

2011
Month #Term #Active Turnover Rate
....
Nov .........0..........1..........0% (=b3/c3)
Dec..........1.........3...........33%

2012
Month #Term #Active Turnover Rate
Jan.........1........2............50%
Feb.........1........1...........100%
....

When I try a pivot with the start date it only gives me the number of employees that started that month/year and does not show those who roll over to the next month. This is all very confusing and will possibly require more than one step to solve. A big thank you in advance.
  #2   Report Post  
Member
 
Location: Birmingham
Posts: 35
Default

Quote:
Originally Posted by ChooseParkay View Post
I am completely stumped while trying to find the active months between two dates for an employee turnover rate. For example if "Ann" was hired 12/9/11 and quit 2/18/12 she would be considered an active employee for 3 months (Dec 11, Jan 12, Feb 12). My list is currently set up like this .....

Name.........Start Date.........End Date
Ann............12/9/11............2/18/12
Bob.............11/6/11............12/6/11
Carl.............12/28/11..........1/15/12

So from the data above I can say

Ann was active.............(Dec 11, Jan 12, Feb 12)
Bob was active (Nov 11, Dec 11)
Carl was active.............(Dec 11, Jan 12)

I am not sure how to show THIS ^ on excel!



The main goal is to have the data in the end to look like this:

2011
Month #Term #Active Turnover Rate
....
Nov .........0..........1..........0% (=b3/c3)
Dec..........1.........3...........33%

2012
Month #Term #Active Turnover Rate
Jan.........1........2............50%
Feb.........1........1...........100%
....

When I try a pivot with the start date it only gives me the number of employees that started that month/year and does not show those who roll over to the next month. This is all very confusing and will possibly require more than one step to solve. A big thank you in advance.
Not sure if you can display the difference in months as text. You could use a DATEDIF to work it as a numerical value. I.E... =DATEDIF(B2,B3,"M")
  #3   Report Post  
Junior Member
 
Posts: 11
Default

Quote:
Originally Posted by Jay07 View Post
Not sure if you can display the difference in months as text. You could use a DATEDIF to work it as a numerical value. I.E... =DATEDIF(B2,B3,"M")
Yes but when I use this formula it only counts WHOLE months

For example if it were 09/25..... 11/3 the =dateif would only read as 1
I would need it to read as 3 because for this purposes they were with us 3 months
  #4   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by ChooseParkay View Post
Yes but when I use this formula it only counts WHOLE months

For example if it were 09/25..... 11/3 the =dateif would only read as 1
I would need it to read as 3 because for this purposes they were with us 3 months
A very simplified way of doing it, but I think this should work for you...
Attached Files
File Type: zip ChooseParkay Example.zip (5.8 KB, 77 views)
  #5   Report Post  
Junior Member
 
Posts: 11
Default

Quote:
Originally Posted by Spencer101 View Post
A very simplified way of doing it, but I think this should work for you...
Yes, that works great for giving me the number of months!

Now I would like to have a text value associated with it. So the 3 months from September 2011-November 2011 would say something like
A1..........B1.........C1
Sept 11', Oct 11', Nov 11'

So i can then add all the Sept 11' column to see how many people were employed in September of 2011


  #6   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by ChooseParkay View Post
Yes, that works great for giving me the number of months!

Now I would like to have a text value associated with it. So the 3 months from September 2011-November 2011 would say something like
A1..........B1.........C1
Sept 11', Oct 11', Nov 11'

So i can then add all the Sept 11' column to see how many people were employed in September of 2011
Well that can be done too, but I can't help feeling there's an easier/better way around that...

Sample data would be a good idea so I could demonstrate my idea easily...

pubnut @ gmail . com if you don't want to post data here...
  #7   Report Post  
Junior Member
 
Posts: 11
Default

Quote:
Originally Posted by Spencer101 View Post
Well that can be done too, but I can't help feeling there's an easier/better way around that...

Sample data would be a good idea so I could demonstrate my idea easily...

pubnut @ gmail . com if you don't want to post data here...
Email sent
  #8   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by ChooseParkay View Post
Email sent
Reply email sent, requiring further information.
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
Help showing active months between two dates ChooseParkay Excel Discussion (Misc queries) 3 July 30th 12 07:39 PM
Showing Lists in active cell Spuds Glorious Spuds[_2_] Excel Discussion (Misc queries) 4 December 4th 08 11:13 PM
Stop dates from showing as numbers - when formated as dates JR Excel Discussion (Misc queries) 1 October 29th 08 04:38 PM
Adding months to dates should account for 28-30-31 day months Graham Excel Worksheet Functions 3 February 1st 06 12:06 PM
Dates to months and calculating values for their months jigsaw2 Excel Programming 1 September 5th 03 01:35 PM


All times are GMT +1. The time now is 10:07 AM.

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"