Highlight current date

Xirom431

Board Regular
Joined
Dec 2, 2010
Messages
102
Hi,

My sheet has multiple date row with the format mm/dd/yyyy hhmm. They can be in different column. The time will change. How do I highlight green the yesterday when I open the file each time? Any help will be greatly appreciate.

Thanks
 

Attachments

  • Trial.jpg
    Trial.jpg
    48.1 KB · Views: 3

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
conditional formatting will do that
=INT(C1)=Today()
BUT anything else in the file to identify the row with the date in
as its seems to be in various rows - is there a cell which identifies the row that can be used


Book1
C
12/1/21 7:00
2
3
4
5
610/20/22 11:00
7
8
9
1010/21/22 13:30
11
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C1,C6,C10Expression=INT(C1)=TODAY()textYES
 
Upvote 0

Forum statistics

Threads
1,215,052
Messages
6,122,878
Members
449,097
Latest member
dbomb1414

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