How to highlight a certain time range

RichTom44

New Member
Joined
Oct 23, 2023
Messages
15
Office Version
  1. 365
Platform
  1. Windows
Hi, How to highlight the cells within a time range from 1-minute to 5-minute intervals? As shown below sample. Thanks

Date and Time
31/10/2023 04:06 PM
17/10/2023 09:11 AM
15/10/2023 03:00 PM
15/10/2023 03:01 PM

02/10/2023 08:09 PM
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Check this and revert -

Book1
A
110/31/23 16:06
210/17/23 9:11
310/15/23 15:00
410/15/23 15:01
510/2/23 20:09
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A:AExpression=OR(AND(A2>=A1+(1/1440),A2<=A1+(5/1440)),AND(A1>=A1048576+(1/1440),A1<=A1048576+(5/1440)))textNO
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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