Group Time

P

Peter

Hi all, i have an issue with large amount of data...all data contain a time
cell and i want to group the times in intervalls of 24 Hrs devided by 4. As
an example

group 1 = 00:00 - 06:00
group 2 = 06:00 - 12:00
group 3 = 12:00 - 18:00
group 4 = 18:00 - 24:00

the data is something like this:

00:18
01:29
18:55

Thanks!
 
B

Bernie Deitrick

Peter,

You can create the group by using a formula based on the time: for time in cell A2, use

=INT(A2*4)+1

and then copy down. This will put 06:00 into group 2, not into both.

HTH,
Bernie
MS Excel MVP
 
P

Peter

Thanks a lot Bernie, this helps a lot!

Bernie Deitrick said:
Peter,

You can create the group by using a formula based on the time: for time in cell A2, use

=INT(A2*4)+1

and then copy down. This will put 06:00 into group 2, not into both.

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Determine if night shift by start & end time 2
Pls help for Simple Calculation 1
Formatting Date Field 5
Calculating Times for Pay Rates 4
Need help 3
Subtraction formula 7
Group Time 4
Formating time 2

Top