Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default How can I sort Seniority Dates?

I have a list of employees with seniority dates. We inspect the employee's
work each year based upon their anniversary date. I want to sort the dates
so that the list is grouped by common months. For example an employee with
an anniversary date of July 10, 2001 would be grouped with an employee having
an anniversary date of July 2, 2009 even though there are many employees that
do not have an anniversary in July but do have seniority that falls between
the two dates. [EXAMPLE: February 1, 2005]

In other words, all July dates would be grouped regardless of the year, all
February dates grouped regardless of the year etc. I am guessing I will be
using the Date Function and replacing the €śyear€ť part with a set value but I
have not been able to make it work. Even after looking at the results of a
Google Search.


Thanks!

Quin

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 199
Default How can I sort Seniority Dates?

"Quin" wrote in message
...
I have a list of employees with seniority dates. We inspect the employee's
work each year based upon their anniversary date. I want to sort the
dates
so that the list is grouped by common months. For example an employee
with
an anniversary date of July 10, 2001 would be grouped with an employee
having
an anniversary date of July 2, 2009 even though there are many employees
that
do not have an anniversary in July but do have seniority that falls
between
the two dates. [EXAMPLE: February 1, 2005]

In other words, all July dates would be grouped regardless of the year,
all
February dates grouped regardless of the year etc. I am guessing I will
be
using the Date Function and replacing the €śyear€ť part with a set value but
I
have not been able to make it work. Even after looking at the results of
a
Google Search.


Quin

You need the MONTH function. I would suggest using a new column and insert
in the top cell =MONTH(C1) assuming C1 is the first employee's seniority
date. The result will be a number from 1 to 12 depending on the month. Drag
or copy this cell down the new column.

Then all you have to do is sort the table by this column and the employees
will be divided into 12 groups by seniority month.

Hope this helps,

V

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default How can I sort Seniority Dates?

That is a wonderful and simple solution. Exactly what I needed.

Thanks so much,

Quin

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 199
Default How can I sort Seniority Dates?

"Quin" wrote in message
...
That is a wonderful and simple solution. Exactly what I needed.

Thanks so much,

Quin


Glad I was able to help. So many things in life are complicated that I'm
always in favour of simple solutions if possible!

V

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
Seniority Years Formula needed Roibn L Taylor Excel Discussion (Misc queries) 5 July 23rd 08 06:30 PM
sort function for dates does not sort properly in Office 2007 Exc. Rosalie Excel Worksheet Functions 1 November 22nd 07 10:25 PM
how do I sort a column of random dates into Consecutive dates Rob Gibson Excel Worksheet Functions 2 June 12th 07 05:10 AM
Scheduling staff to tasks based on seniority mattguerilla Excel Discussion (Misc queries) 0 March 20th 07 09:50 AM
How to allocate based on seniority Chunkey Pandey Excel Discussion (Misc queries) 6 November 24th 06 07:04 AM


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