How do I do conditional formatting with today's date, but which also includes other text?

Joined
Nov 15, 2023
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hi guys,

I've been trying to find a way to adopt conditional formatting for a cell which contains today's date. I've been able to do this successfully, but if I include other text in the cell (for example, a time - see image attached), the conditional formatting does not work.

What would be the way around this? Does anyone know of a formula?

Many thanks :)
 

Attachments

  • Screenshot 2023-11-15 102602.png
    Screenshot 2023-11-15 102602.png
    2.5 KB · Views: 8

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Check this and revert -

Book1
ABC
2
315/11/23 @ 14:45
4
5
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B3Expression=FIND(TEXT(TODAY(),"dd/mm/yy"),B3)textNO
 
Upvote 0
It's working, I just checked. Check as below -

Book3
KLMN
1
2
3
423/11/23 @ 10:40
524/11/23 @15:57
615/11/23 @ 10:45
7
8
9
10
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
L:LExpression=FIND(TEXT(TODAY(),"dd/mm/yy"),L1)textNO
 
Upvote 0
It's working, I just checked. Check as below -

Book3
KLMN
1
2
3
423/11/23 @ 10:40
524/11/23 @15:57
615/11/23 @ 10:45
7
8
9
10
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
L:LExpression=FIND(TEXT(TODAY(),"dd/mm/yy"),L1)textNO

Must be something wrong my end - I'll have a play and come back :) Thanks so much for your help!
 
Upvote 0
Must be something wrong my end
actually the current date cell is not completely visible in the screenshot you shared

Moreover if you can share XL2BB I can help you look for errors if any

At time the order of rules can also cause error - You can check that too
 
Upvote 0
actually the current date cell is not completely visible in the screenshot you shared

Moreover if you can share XL2BB I can help you look for errors if any

At time the order of rules can also cause error - You can check that too
No problems - does this image show it clearer?
 

Attachments

  • pic3.png
    pic3.png
    51.5 KB · Views: 10
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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