Conditional Formatting to highlight current month based on date range

ExcelNewbie2020

Active Member
Joined
Dec 3, 2020
Messages
289
Office Version
  1. 365
Platform
  1. Windows
Experts, Is it possible to highlight the current month based on the date? See below photo.
Since we are now on the month of January, i would like to have a highlight from the 1st to last day of January. The same will happen on the succeeding months. Thank you very much..

1611384050380.png
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Sell total Range, Go to Conditional formatting, Manage Rule, New Rule , Select "Use a formula ..." and Input this formula
Excel Formula:
INDIRECT(ADDRESS(1,COLUMN()+1-A$2,4))=TEXT(MONTH(TODAY()),"mmmm")

Then Add your Fill color and Apply.
 
Upvote 0
Sell total Range, Go to Conditional formatting, Manage Rule, New Rule , Select "Use a formula ..." and Input this formula
Excel Formula:
INDIRECT(ADDRESS(1,COLUMN()+1-A$2,4))=TEXT(MONTH(TODAY()),"mmmm")

Then Add your Fill color and Apply.
Thank you so much.. It did not work.. when i check the formula it results to #VALUE! might there is single digit missing..
 
Upvote 0
It look like Your Data is mix with and Date and text even to your pointed as Formated by date "DD"
I assume A2:AE2 have some text and other are Date
And Also Jaunuary is input at A1 and February is at Af1 ?
 
Upvote 0
It look like Your Data is mix with and Date and text even to your pointed as Formated by date "DD"
I assume A2:AE2 have some text and other are Date
And Also Jaunuary is input at A1 and February is at Af1 ?
Thanks, its not text its a formula like =date+1 and =+date+1 that I dragged. But I corrected it now all to =date+1. Please see table

sample.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBG
1JANUARYFEBRUARY
20102030405060708091011121314151617181920212223242526272829303101020304050607080910111213141516171819202122232425262728
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Sheet6
Cell Formulas
RangeFormula
B2:BG2B2=A2+1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:BG24Expression=INDIRECT(ADDRESS(1,COLUMN()+1-A$2,4))=TEXT(MONTH(TODAY()),"mmmm")textNO
 
Upvote 0

Forum statistics

Threads
1,214,659
Messages
6,120,781
Members
448,992
Latest member
prabhuk279

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