Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Group a set of 'time'

Hi,

I have a set of data in time format as such...

0:10:38
0:10:36
0:08:57
0:31:44
0:30:39
0:29:19
0:28:23
0:28:15
0:25:09

What i want to do is to do a count to get something like this...
range count
0 - 5 min 0
6 - 10 min 10
11 min 15


How can i do this in Excel?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Group a set of 'time'

Try:

=SUMPRODUCT(--($A$1:$A$9<=TIME(0,5,0)))
=SUMPRODUCT(--($A$1:$A$9TIME(0,5,0)),--($A$1:$A$9<=TIME(0,10,0)))
=SUMPRODUCT(--($A$1:$A$9TIME(0,10,0)))

or
=SUMPRODUCT(--($A$1:$A$9<=5/1440))
==SUMPRODUCT((A1:A95/1440)*(A1:A9<=10/1440))
=SUMPRODUCT(--($A$1:$A$910/1440))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"lelynx" wrote in message
...
Hi,

I have a set of data in time format as such...

0:10:38
0:10:36
0:08:57
0:31:44
0:30:39
0:29:19
0:28:23
0:28:15
0:25:09

What i want to do is to do a count to get something like this...
range count
0 - 5 min 0
6 - 10 min 10
11 min 15


How can i do this in Excel?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Group a set of 'time'

This might do - my results:

0 - 5 min 0 0 00:05 0
6 - 10 min 10 10 00:10 1
11 - 15mins 15 00:15 2
15mins + 15+ 6

Forumula

{=SUM(IF(K24:K32<H27,1,0))}
{=(SUM(IF(K24:K32<H29,1,0))-I28)}

Where K24,K32 is your list of times
Where H27,H29 relate to the max time i.e. 00:05 and in H29 00:15
must be an array
the second equation deducts any previous values


"lelynx" wrote:

Hi,

I have a set of data in time format as such...

0:10:38
0:10:36
0:08:57
0:31:44
0:30:39
0:29:19
0:28:23
0:28:15
0:25:09

What i want to do is to do a count to get something like this...
range count
0 - 5 min 0
6 - 10 min 10
11 min 15


How can i do this in Excel?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Group a set of 'time'

Alternative:

=COUNTIF(A:A,"<"&B2)-COUNTIF(A:A,"<="&B1)

where B2 and B1 relate to specific times i.e 00:05 and 00:15


"lelynx" wrote:

Hi,

I have a set of data in time format as such...

0:10:38
0:10:36
0:08:57
0:31:44
0:30:39
0:29:19
0:28:23
0:28:15
0:25:09

What i want to do is to do a count to get something like this...
range count
0 - 5 min 0
6 - 10 min 10
11 min 15


How can i do this in Excel?

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
Group Time Sunnyskies Excel Discussion (Misc queries) 4 March 8th 07 09:13 AM
TWO FILES OPEN AT SAME TIME XLS:1 AND XLS:2 GROUP??? Jimbomini Excel Discussion (Misc queries) 4 August 23rd 06 08:20 PM
Taking age group Ie ages 20-29 and picking out net sales for group viabello Excel Worksheet Functions 1 April 25th 06 04:19 AM
How do I group worksheets (Lotus 123 function is "Sheet>Group Shee jaking Excel Worksheet Functions 2 August 30th 05 02:09 PM


All times are GMT +1. The time now is 09:43 PM.

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"