Filling backcolor cells color based on the color of a cell

jgalas

Board Regular
Joined
Jul 4, 2011
Messages
111
Office Version
  1. 2013
Platform
  1. Windows
I want, based on the color of one cell (red), to fill the 5 cells below (pink). As picture.

The cell background (red) is defined by CF.
=IF($A81="calendar";IF(MONTH(Calendar!$F$23)=$C82;DAY(Calendar!$F$23);-1);IF($A81="calendar_bi";IF(MONTH( Calendar!$AK$23)=$C82;DAY(Calendar!$AK$23);-1)))

It will be applied to several rows.

Thank you in advance for any help

1717964260840.png
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Thanks for dropping the file I have downloaded them.

I have looked at them and there are #VALUE errors in rows 9, 15, and others for which you wanted the CF reviewed.
I'll try to figure out what you want.

I do have a really big question!!!:
In ROW 15 you have a calculation. You said you changed nothing except ROW 15. But in order to change the value of J15 and keep that formula there you would have needed to change a value somewhere else.

Please explain.
 
Upvote 0

Thanks for dropping the file I have downloaded them.

I have looked at them and there are #VALUE errors in rows 9, 15, and others for which you wanted the CF reviewed.
I'll try to figure out what you want.

I do have a really big question!!!:
In ROW 15 you have a calculation. You said you changed nothing except ROW 15. But in order to change the value of J15 and keep that formula there you would have needed to change a value somewhere else.

Please explain.
The value change in sheet "Turma", cell L9
It´s the only change
Everything else changes automatically
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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