Conditional Formatting Date/Time within 30 minutes of each other

eli_m

Board Regular
Joined
Jun 2, 2022
Messages
129
Office Version
  1. 365
Platform
  1. Windows
Hi,

I currently have this Formula in column AY:
Excel Formula:
=IF([@[Planning Date]]="N/A","",
IF(ISFORMULA([@[Planning Time]]),"",
CONCATENATE(TEXT([@[Planning Date]],"dd/mm/yy")," ",TEXT([@[Planning Time]],"hh:mm am/pm"))))

and these two conditional formattings to turn red when there is a clash in times that are 29 minutes of each other:
Excel Formula:
=AND(ROW()>1, ABS($V3-$V2)*1440<29,$AX3="No",COUNTIF($AQ3,"Planning Time Approved*")=0)
Excel Formula:
=AND(COUNTIF($AY$3:$AY$200,V3)>1,NOT($AY3=""),COUNTIF($AQ3,"Planning Time Approved*")=0,$AX3="No")

but for some reason only one of the times goes red:
1685950308012.png


How can I make it so both of them turn red?

Thanks in advance!
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Seems to me it is basically identical so I have closed the other thread per #12 of the Forum Rules
 
Upvote 0

Forum statistics

Threads
1,215,148
Messages
6,123,305
Members
449,095
Latest member
Chestertim

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