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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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