conditional formatting an area

___Zoom

New Member
Joined
May 19, 2011
Messages
4
Hi to all Excel friends,
I have a sheet which contains in an rectangular area (say starting from B11 top left corner to AA44 at the bottom right) with various day numbers from all different months in. I need to check every one of thouse cells if it has todays day number (and today's month) and color code only thouse cells which has passed dates in it.
A conditional formatting or a macro solution is acceptable. Can anybody suggest a solution?
Thanks
___Zoom
 
Last edited:

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Conditional formatting is exactly the right tool to use:-
  • Highlight the range you want to format
  • Conditional formatting
  • New rule
  • Use a formula to determine which cells to format
  • =AND(B11>0,B11
  • Set your foreground/background colours as required
<TODAY())< b>

 
Upvote 0
I was more looking forward to read info and commands related to "date check" as conditional formatting criteria.
But thank you anyway
___Zoom
 
Upvote 0
I was more looking forward to read info and commands related to "date check" as conditional formatting criteria.
But thank you anyway
___Zoom
Oops, sorry, my formula got chopped. It should have read:-
Code:
[B]=AND(B11>0,B11< TODAY())[/B]
(Tested and working here.)
 
Upvote 0
Thank you Ruddles,
Why did you use the "B11>0" term?. Just to make sure it aint an empty cell?
___Zoom
 
Upvote 0
Because an empty cell would be less than today, so it would get flagged. I assumed you didn't want that.
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,610
Members
452,931
Latest member
The Monk

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