Group based on time slots

Ms996

New Member
Joined
Nov 17, 2020
Messages
4
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
How can I group my time's for a event in Column A displayed as HH:mm (ex 09:27 AM) in certain categories in Column B

I have 3 categories :

06:59 AM to 09:59 AM - Timeslot A
10:00 AM to 03:59 PM - Timeslot B
Everything Else - Timeslot C

Please let me know how can I achieve this for my dataset

P.s : posted on other forums as well for help
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
i would create a helper column in the data set and the group using that
=IF( AND ( A2 >= timevalue("06:59") , A2 < = timevalue("09:59")), "Timeslot A", IF ( AND ( A2 >= timevalue("10:00") , A2 < = timevalue("15:59")), "Timeslot B","Timeslot C"))
 
Upvote 0
Solution
An Additional column in the data set
 
Upvote 0

Forum statistics

Threads
1,215,842
Messages
6,127,235
Members
449,372
Latest member
charlottedv

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top