Conditional Formatting/VBA/User Defined Function for Cell Color

rqcwamboy

New Member
Joined
Oct 1, 2013
Messages
2
I have a spreadsheet that has conditional formatting where I track insurance expiration dates.
If the cell is blank it is yellow
If the date in the cell is current it is blank
If the date in the cell expires within 30 days it is orange
If the date in the cell is expired now it is red

Now sometimes these contractors are finished with the project, so we will change their other cells a light orange to indicate they are no longer on the project.

However, the insurance cells keep tracking via the conditional formatting, and I get red cells, but the insurance is no longer needed.

What I would like to do is when I turn the other cells (they are adjacent to the insurance) the light orange for the insurance cells to have no fill and the conditional formatting to stop.

I have never done VBA or User Defined Function before. How do I do this?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Now sometimes these contractors are finished with the project, so we will change their other cells a light orange to indicate they are no longer on the project.

However, the insurance cells keep tracking via the conditional formatting, and I get red cells, but the insurance is no longer needed.

What I would like to do is when I turn the other cells (they are adjacent to the insurance) the light orange for the insurance cells to have no fill and the conditional formatting to stop.
You might not need VBA... do you have, or could you add, as cell per row that is an indicator when the project is finished (say an X if finished)? If so, you can make your insurance cell's primary conditional formatting condition check that column's cell first and color the itself orange if there is an X.
 
Upvote 0
I don't and I am not sure if I can because this is a company standard form, but that is something I am looking into
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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