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 does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,217,057
Messages
6,134,335
Members
449,867
Latest member
akk3

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