Formula Cell Color depending on Date

balvy

New Member
Joined
Nov 14, 2013
Messages
11
Hello everybody,

I have this Excel document i use at work, i have a cell with today's date (B4) on it and a table where i have a agenda like with the dates (AC2, AD2.. and so on) what i need is that if the cell (B4) is equal to today's date in the agenda(AC2 or AD2 or so on) it changes the cell color in the agenda.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]19/11/2014 (B4)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: center"]projects[/TD]
[TD]19/11/2014
(AC2)[/TD]
[TD]20/11/2014
(AD2)[/TD]
[TD]21/11/2014
(AE2)[/TD]
[/TR]
[TR]
[TD]project #1[/TD]
[TD]to do list[/TD]
[TD]to do list[/TD]
[TD]to do list[/TD]
[/TR]
</tbody>[/TABLE]

so using that table AC2 should change colors today and tomorrow AD2 Should be a different color and AC2 should be back to normal.
i'm not even sure this is possible but it would really help me finding the date I'm working on. I am willing to use VBA if necessary

Best Regards,
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
You can use Conditional Formatting.

1. Select AC2:AE2 with your mouse.
2. Home>Conditional Formatting>New Rule>Use a formula
3. Formula is: =AC$2=$B$4
4. Choose format
5. Click OK
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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