change cell colour when other cell(s) are green

Gerald Baalhuis

New Member
Joined
Oct 29, 2006
Messages
2
Hi you all,

Is it possible to use conditional formatting where the colour of a cell is set by the clour of a group of other cells?
I have a worksheet with 400+ companynames, all of which have one or more (up to 12) departments. I already found some VBA code to show the dept. s when a checkbox (which is next to the company name) is selected, but I would like to color the cell with the company name in it green as soon as all cell containing the dept. of that company are green.
Can that be done by cond. format.? Or VBA perhaps?

Thanks in advance,

Gerald
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi Juan,

The condition of the dept. cell to turn green is wether that dept.'s order is completed.
A worker doubleclicks the cell which contains the dept. name thus colouring it green with some VBA code.
I would like the cell with the company name green as soon as all dept. cells are green.
But as the numbers of dept. differs for each company, I think it's a tricky (if not impossible) thing to do with cond. form.


Gerald
(the Netherlands)
 
Upvote 0
I see,

Then use the same doubleclick code to check if all the departments have been colored green. That way, as soon as the user double clicks on the last department, the company also turns green.
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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