Highlight a column if it is today's date

falcios

Active Member
Joined
Aug 30, 2006
Messages
279
Office Version
  1. 2019
Platform
  1. Windows
I need to highlight a column with the condition being today's date.
I've checked this forum and YouTube for suggestions.

This should be a simple formula but the formulas I'm using are not working.

I've tried different formulas

=A$1=TODAY()

IF(A$1=TODAY(),TRUE,FALSE)

In the current worksheet, the current date is on F1.

What formula can I use to highlight the column if it is today's date?

Thanks in advance.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Highlight the column if what is today's date? The value in row 1 of that column? And what is in that cell? If you also have a time, your formula won't work. It would be so helpful if you could show us some of your data so we can visualize what you want to do.

Without more information my best guess would be:
Excel Formula:
=INT(A$1)=TODAY()

(You don't have to use IF(condition, TRUE, FALSE) because the condition itself will be TRUE or FALSE.)
 
Upvote 0
Pl do not use Entire column.
Say range is A1:G100000. Select the range. Formula for CF
Excel Formula:
=COUNTIF(A$1:A$100000,TODAY())>0
 
Upvote 0
Solution
The formula works great; however it only works on one worksheet. Is there a way to copy this formula to all sheets - 52 for weeks of the year?

Thanks in advance.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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