Highlighting date/time cells below certain times

brianfitz

New Member
Joined
Aug 6, 2010
Messages
18
Hi guys, hope someone can help.

I have a massive amount of data on a few spreadsheets and need to highlight increased call volumes at certain peak times, in this case between 10am to 11am and 2pm to 3pm.

My datetime columns format is 23/06/2010 10:00 and was wondering is there conditional formatting I could do that could highlight all times in the above range in a certain colour?

Any help is much appreciated,

Brian
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Use a CF formula of

=OR(AND(ROUND(MOD(A2,1)*86400,0)>=ROUND(--"10:00:00"*86400,0),ROUND(MOD(A2,1)*86400,0)<=ROUND(--"10:00:00"*86400,0)),
AND(ROUND(MOD(A2,1)*86400,0)>=ROUND(--"14:00:00"*86400,0),ROUND(MOD(A2,1)*86400,0)<=ROUND(--"15:00:00"*86400,0)))
 
Upvote 0
=or(and(mod(d4,1)>=timevalue("10:00"),mod(d4,1)<=timevalue("11:00")),and(mod(d4,1)>=timevalue("14:00"),mod(d4,1)<=timevalue("15:00")))
with date-timestamp in D4
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,272
Members
449,075
Latest member
staticfluids

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