Call Centre Data - Assign Time Period Category to inbound call Start Time.

lj97

New Member
Joined
Jul 11, 2022
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi all!

Another questing regarding the call centre data I am working with.

Similar question to my last post, thanks again to Joe4 for their awesome response/formula!

In this problem, I am needing to assign a Time Period Category (column A) to the Start Time (column B) of the inbound call to the centre.

In column E, there is the list of the relevant Time Period Categories that need to be specified depending on the call Start Time.

I have attempted to complete this myself using the FLOOR function to no avail; this seems to be somewhat above my current (very beginner) skill level.

Any assistance or solutions would be greatly appreciated!


Book1
ABCDE
1Time Period CategoryStart TimeLIST - Time Period Category
202:101 am - 5 am
307:345 am - 9 am
411:279 am - 1 pm
515:381 pm - 5 pm
608:435 pm - 9 pm
700:079 pm - 1 am
Sheet1 (2)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
I tend to prefer to use lookup tables for this sort of thing.
See if you are interesed in doing it this way.

20220720 Time In Range Categories.xlsx
ABCDEF
1Time Period CategoryStart TimeLIST - Time Period Category
21 am - 5 am02:10Start ValueCategory
35 am - 9 am07:3400:009 pm - 1 am
49 am - 1 pm11:2701:001 am - 5 am
51 pm - 5 pm15:384:005 am - 9 am
65 am - 9 am08:439:009 am - 1 pm
79 pm - 1 am00:0713:001 pm - 5 pm
817:005 pm - 9 pm
921:009 pm - 1 am
10
Sheet1
Cell Formulas
RangeFormula
A2:A7A2=VLOOKUP(MOD(B2,1),$E$3:$F$9,2,TRUE)
 
Upvote 0
@Alex Blakenburg
Hi Alex
Does the MOD add anything since times are already fractional?

22 07 20.xlsm
ABCDEF
1Time Period CategoryStart TimeLIST - Time Period Category
21 am - 5 am02:10Start ValueCategory
35 am - 9 am07:3400:009 pm - 1 am
49 am - 1 pm11:2701:001 am - 5 am
51 pm - 5 pm15:3804:005 am - 9 am
65 am - 9 am08:4309:009 am - 1 pm
79 pm - 1 am00:0713:001 pm - 5 pm
817:005 pm - 9 pm
921:009 pm - 1 am
Time Period
Cell Formulas
RangeFormula
A2:A7A2=VLOOKUP(B2,E$3:F$9,2,TRUE)
 
Upvote 0
Solution
@Peter_SSs I was just concerned about the 9pm - 1am potentially resulting in the day part ticking over, I guess it is unlikely. I just don't know anything about how the data gets in there.
 
Upvote 0
Thank you both for your input!

Appreciate the first response Alex. I haven't seen the MOD function before so I will have a look into that :)
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,575
Members
449,039
Latest member
Arbind kumar

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