PC Review


Reply
Thread Tools Rate Thread

Date Sorting

 
 
=?Utf-8?B?SmF5TWFu?=
Guest
Posts: n/a
 
      19th Nov 2007
I have a worksheet that has multiple columns with dates in random order. I
need to sort the dates by descending order first count them and then group
them by period. For example
Task 1 Task 2 Task 3
1/5/2006 1/11/2006 1/5/2006
1/17/2006 1/12/2006 1/11/2006
1/26/2006 1/16/2006 2/6/2006
2/1/2006 1/16/2006 2/4/2005
2/22/2006 1/16/2006 2/4/2005
3/8/2006 1/16/2006 2/4/2005
3/13/2006 1/16/2006 2/17/2005
3/14/2006 1/18/2006 2/17/2005
3/14/2006 1/22/2006 2/18/2005
3/16/2006 1/22/2006 1/5/2006
3/16/2006 1/31/2006 1/16/2006
3/16/2006 2/6/2006 1/31/2006
3/16/2006 2/6/2006 2/6/2006
3/22/2006 2/6/2006 2/6/2006
3/23/2006 2/6/2006 3/11/2006
3/28/2006 2/6/2006 3/4/2005

I need something that looks like

Jan 1-15 Jan 15-31 Feb 1-15 Feb 15-28 Mar 1-15
Task 1 1 2 1 1 4
Task 2 2 8 5
Task 3 3 6 5 2


Any help on this is appreciated

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Um9nZXIgQ29udmVyc2U=?=
Guest
Posts: n/a
 
      19th Nov 2007
Hello,

Are you always going to have the same groupings (which appear to be
semi-monthly)? Also, is this something that is year specific or can it cross
years as well? In other words, would you start over every 1/1/YYYY or do you
want to see something like:

Jan 1-15 Jan 15-31 Feb 1-15 Feb 15-28 Mar 1-15........ Jan 1 - 15
> Task 1 1 2 1 1 4 7
> Task 2 2 8 5
> Task 3 3 6 5 2


Thanks,
Roger

"JayMan" wrote:

> I have a worksheet that has multiple columns with dates in random order. I
> need to sort the dates by descending order first count them and then group
> them by period. For example
> Task 1 Task 2 Task 3
> 1/5/2006 1/11/2006 1/5/2006
> 1/17/2006 1/12/2006 1/11/2006
> 1/26/2006 1/16/2006 2/6/2006
> 2/1/2006 1/16/2006 2/4/2005
> 2/22/2006 1/16/2006 2/4/2005
> 3/8/2006 1/16/2006 2/4/2005
> 3/13/2006 1/16/2006 2/17/2005
> 3/14/2006 1/18/2006 2/17/2005
> 3/14/2006 1/22/2006 2/18/2005
> 3/16/2006 1/22/2006 1/5/2006
> 3/16/2006 1/31/2006 1/16/2006
> 3/16/2006 2/6/2006 1/31/2006
> 3/16/2006 2/6/2006 2/6/2006
> 3/22/2006 2/6/2006 2/6/2006
> 3/23/2006 2/6/2006 3/11/2006
> 3/28/2006 2/6/2006 3/4/2005
>
> I need something that looks like
>
> Jan 1-15 Jan 15-31 Feb 1-15 Feb 15-28 Mar 1-15
> Task 1 1 2 1 1 4
> Task 2 2 8 5
> Task 3 3 6 5 2
>
>
> Any help on this is appreciated
>

 
Reply With Quote
 
=?Utf-8?B?SmF5TWFu?=
Guest
Posts: n/a
 
      19th Nov 2007
Roger
the listing can cross years but your output looks good.

"Roger Converse" wrote:

> Hello,
>
> Are you always going to have the same groupings (which appear to be
> semi-monthly)? Also, is this something that is year specific or can it cross
> years as well? In other words, would you start over every 1/1/YYYY or do you
> want to see something like:
>
> Jan 1-15 Jan 15-31 Feb 1-15 Feb 15-28 Mar 1-15........ Jan 1 - 15
> > Task 1 1 2 1 1 4 7
> > Task 2 2 8 5
> > Task 3 3 6 5 2

>
> Thanks,
> Roger
>
> "JayMan" wrote:
>
> > I have a worksheet that has multiple columns with dates in random order. I
> > need to sort the dates by descending order first count them and then group
> > them by period. For example
> > Task 1 Task 2 Task 3
> > 1/5/2006 1/11/2006 1/5/2006
> > 1/17/2006 1/12/2006 1/11/2006
> > 1/26/2006 1/16/2006 2/6/2006
> > 2/1/2006 1/16/2006 2/4/2005
> > 2/22/2006 1/16/2006 2/4/2005
> > 3/8/2006 1/16/2006 2/4/2005
> > 3/13/2006 1/16/2006 2/17/2005
> > 3/14/2006 1/18/2006 2/17/2005
> > 3/14/2006 1/22/2006 2/18/2005
> > 3/16/2006 1/22/2006 1/5/2006
> > 3/16/2006 1/31/2006 1/16/2006
> > 3/16/2006 2/6/2006 1/31/2006
> > 3/16/2006 2/6/2006 2/6/2006
> > 3/22/2006 2/6/2006 2/6/2006
> > 3/23/2006 2/6/2006 3/11/2006
> > 3/28/2006 2/6/2006 3/4/2005
> >
> > I need something that looks like
> >
> > Jan 1-15 Jan 15-31 Feb 1-15 Feb 15-28 Mar 1-15
> > Task 1 1 2 1 1 4
> > Task 2 2 8 5
> > Task 3 3 6 5 2
> >
> >
> > Any help on this is appreciated
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting a date by month, date and then year. drosh Microsoft Excel Misc 2 30th May 2008 01:57 AM
sorting by date on a formatted date field =?Utf-8?B?YnVmZmlz?= Microsoft Access Reports 3 9th Jan 2006 04:22 PM
Sorting by date when the date isn't exact =?Utf-8?B?S2lt?= Microsoft Excel Misc 1 5th May 2005 10:44 PM
Sorting by Date in Union Query - it's sorting as text, not date/nu =?Utf-8?B?Qmxvb2Rob3VuZA==?= Microsoft Access Queries 3 25th Mar 2005 01:47 AM
Converting Month/Date/Year data & sorting by month/date only =?Utf-8?B?Uy4gV2FzaGluZ3Rvbg==?= Microsoft Excel Worksheet Functions 4 26th Apr 2004 05:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:43 AM.