#1   Report Post  
Posted to microsoft.public.excel.misc
GEM GEM is offline
external usenet poster
 
Posts: 90
Default Grouping.

I have under column A times, for example
A1=3:45 PM
A2=4:48 PM
A3=7:12 AM
ETC...

How can I group these?? 1:00 AM - 1:59 AM, 2:00 AM - 2:59 AM etc...

Is this possible??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Grouping.

What do you mean by group? Do you mean just sort them, or do you mean sort
them and add row outlining?

--
__________________________________
HTH

Bob

"GEM" wrote in message
...
I have under column A times, for example
A1=3:45 PM
A2=4:48 PM
A3=7:12 AM
ETC...

How can I group these?? 1:00 AM - 1:59 AM, 2:00 AM - 2:59 AM etc...

Is this possible??



  #3   Report Post  
Posted to microsoft.public.excel.misc
GEM GEM is offline
external usenet poster
 
Posts: 90
Default Grouping.

Thanks Bob.

For example, in my report I have times of all day. 8:10 PM, 7:00 AM, 5:42 PM
etc.

I want to group them, 1:00 AM - 8:00 AM, 8:00 AM - 5:00 PM, 5:00 PM - 12:00
AM, all in a pivot table...

1:00 AM - 8:00 AM ---- 1587 calls
8:00 AM - 5:00 PM ---- 10897 calls
5:00 PM - 12:00 AM ----- 568 calls

Something like this...

"Bob Phillips" wrote:

What do you mean by group? Do you mean just sort them, or do you mean sort
them and add row outlining?

--
__________________________________
HTH

Bob

"GEM" wrote in message
...
I have under column A times, for example
A1=3:45 PM
A2=4:48 PM
A3=7:12 AM
ETC...

How can I group these?? 1:00 AM - 1:59 AM, 2:00 AM - 2:59 AM etc...

Is this possible??




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Grouping.

Drop your times into your Row fields and any cell into the data field.
right-click on a time and select "Group and Show Detail" and "Group". you
can then sort by Hours.

"GEM" wrote:

Thanks Bob.

For example, in my report I have times of all day. 8:10 PM, 7:00 AM, 5:42 PM
etc.

I want to group them, 1:00 AM - 8:00 AM, 8:00 AM - 5:00 PM, 5:00 PM - 12:00
AM, all in a pivot table...

1:00 AM - 8:00 AM ---- 1587 calls
8:00 AM - 5:00 PM ---- 10897 calls
5:00 PM - 12:00 AM ----- 568 calls

Something like this...

"Bob Phillips" wrote:

What do you mean by group? Do you mean just sort them, or do you mean sort
them and add row outlining?

--
__________________________________
HTH

Bob

"GEM" wrote in message
...
I have under column A times, for example
A1=3:45 PM
A2=4:48 PM
A3=7:12 AM
ETC...

How can I group these?? 1:00 AM - 1:59 AM, 2:00 AM - 2:59 AM etc...

Is this possible??




  #5   Report Post  
Posted to microsoft.public.excel.misc
GEM GEM is offline
external usenet poster
 
Posts: 90
Default Grouping.

It does it, but it groups by hours, 1, 2, 3, 4, 5 etc.

I want to group 1-8,8-5,5-10, etc...

"Sean Timmons" wrote:

Drop your times into your Row fields and any cell into the data field.
right-click on a time and select "Group and Show Detail" and "Group". you
can then sort by Hours.

"GEM" wrote:

Thanks Bob.

For example, in my report I have times of all day. 8:10 PM, 7:00 AM, 5:42 PM
etc.

I want to group them, 1:00 AM - 8:00 AM, 8:00 AM - 5:00 PM, 5:00 PM - 12:00
AM, all in a pivot table...

1:00 AM - 8:00 AM ---- 1587 calls
8:00 AM - 5:00 PM ---- 10897 calls
5:00 PM - 12:00 AM ----- 568 calls

Something like this...

"Bob Phillips" wrote:

What do you mean by group? Do you mean just sort them, or do you mean sort
them and add row outlining?

--
__________________________________
HTH

Bob

"GEM" wrote in message
...
I have under column A times, for example
A1=3:45 PM
A2=4:48 PM
A3=7:12 AM
ETC...

How can I group these?? 1:00 AM - 1:59 AM, 2:00 AM - 2:59 AM etc...

Is this possible??





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 220
Default Grouping.

You might try adding a helper column that pre-groups your times into the
"bins" that you want. For example, assuming your times are in Column A, this
formula will group them as you suggest (1:00 AM - 8:00 AM, 8:00 AM - 5:00 PM,
5:00 PM - 12:00):

=IF(AND(A20,A2<=0.33333333),1,IF(AND(A20.333333, A2<=0.7083333),2,3))

It worked on my test case. You get a 1, 2 or 3 depending on which "bin" the
time falls into. In case you're wondering, 0.3333333 is the fraction of a
full day represented by "8:00 AM", and "0" means just after midnight.

Once you have your helper column, you can use it in your pivot table to
count times that fall into each "bin".

HTH,

Eric

"GEM" wrote:

It does it, but it groups by hours, 1, 2, 3, 4, 5 etc.

I want to group 1-8,8-5,5-10, etc...

"Sean Timmons" wrote:

Drop your times into your Row fields and any cell into the data field.
right-click on a time and select "Group and Show Detail" and "Group". you
can then sort by Hours.

"GEM" wrote:

Thanks Bob.

For example, in my report I have times of all day. 8:10 PM, 7:00 AM, 5:42 PM
etc.

I want to group them, 1:00 AM - 8:00 AM, 8:00 AM - 5:00 PM, 5:00 PM - 12:00
AM, all in a pivot table...

1:00 AM - 8:00 AM ---- 1587 calls
8:00 AM - 5:00 PM ---- 10897 calls
5:00 PM - 12:00 AM ----- 568 calls

Something like this...

"Bob Phillips" wrote:

What do you mean by group? Do you mean just sort them, or do you mean sort
them and add row outlining?

--
__________________________________
HTH

Bob

"GEM" wrote in message
...
I have under column A times, for example
A1=3:45 PM
A2=4:48 PM
A3=7:12 AM
ETC...

How can I group these?? 1:00 AM - 1:59 AM, 2:00 AM - 2:59 AM etc...

Is this possible??



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
grouping help!!!!!!! perrewperrew Excel Worksheet Functions 1 October 20th 07 04:16 AM
Grouping Jennifer Brodie Excel Worksheet Functions 1 January 24th 06 04:51 PM
Grouping Kay Excel Discussion (Misc queries) 1 January 21st 06 01:24 PM
Grouping Ray Excel Discussion (Misc queries) 0 March 2nd 05 04:51 PM
Grouping Lila Excel Discussion (Misc queries) 1 March 1st 05 03:33 AM


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