Highlighting cells with date/time greater than 29 minutes past the hour

Demtro73

New Member
Joined
Mar 14, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I have a spreadsheet that posts times using a date and time format as listed below. I would like to use conditional formatting to highlight any cell with a time that is between 29 minutes past the hour and 59 minutes past the hour. Below is a 6 row sample with the cells I want highlighted automatically. For the purposes of this I am only interested in the minutes section of the time the date and hours is irrelevant.

I am reviewed several formulas but what I have found are generally to determine if the time falls between two different times using hours and minutes not just minutes.
Any help is appreciated, thank you


1/29/24 11:41 AM​
1/26/24 10:56 AM​
1/29/24 2:15 PM​
1/29/24 1:07 PM​
1/29/24 8:29 AM​
1/29/24 10:18 AM​
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Are 29 and 59 minutes inclusive?
If so, try

Book2 (version 1).xlsb
EFG
5Minute
611:41:00 AM41TRUE
710:56:00 AM56TRUE
82:15:00 PM15FALSE
91:07:00 PM7FALSE
108:29:00 AM29TRUE
1110:18:00 AM18FALSE
Sheet1
Cell Formulas
RangeFormula
F6:F11F6=MINUTE(E6)
G6:G11G6=MEDIAN(29,59,MINUTE(E6))=MINUTE(E6)
 
Upvote 0
Welcome to the MrExcel board!

Is this what you are after?

24 03 15.xlsm
A
1
21/29/24 11:41 AM
31/26/24 10:56 AM
41/29/24 2:15 PM
51/29/24 1:07 PM
61/29/24 8:29 AM
71/29/24 10:18 AM
81/29/24 10:38 PM
CF Minutes
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A8Expression=MINUTE(A2)>=29textNO
 
Upvote 0
Solution
Welcome to the MrExcel board!

Is this what you are after?

24 03 15.xlsm
A
1
21/29/24 11:41 AM
31/26/24 10:56 AM
41/29/24 2:15 PM
51/29/24 1:07 PM
61/29/24 8:29 AM
71/29/24 10:18 AM
81/29/24 10:38 PM
CF Minutes
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A8Expression=MINUTE(A2)>=29textNO

Peter, that is what I am looking for, however I cannot seem to get that to work. I am using Excel as part of Office365. I used conditional formatting and added the formula you provided, but it did not work. My cells are formatted as Date/Text.
 
Upvote 0
Peter, I was able to get it to work, thank you so much this is a great assist!
 
Upvote 0
You're welcome. Glad you got it working. Thanks for letting us know. :)
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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