Conditional Formatting - Color Codes

moonoverparadise

New Member
Joined
Mar 23, 2011
Messages
22
Hello,

I am working within an excel sheet that has some conditional formatting already in place.

There is a 3 separate cells that if you put the letter R in the cell, the cell turns Red
if you put the letter G in the cell, the cell turn Green.

Although, it does not show in the snippet I added to this question, that formatting has been working beautifully.

But on the bottom of the worksheet under Totals I need more conditional formatting, Under Totals (Tuesday cell) I want to take all three Red or Green Cells from (Tuesday) FMSW/FL/87th to calculate the color the total color. Hopefully that makes sense.

For example...if Cell B13 is Green, B31 is Green, and B47 is Red then B63 is Red
If cell B13 is Green, B31 is Green and B47 is Green then B63 is Green


[TABLE="width: 281"]
<tbody>[TR]
[TD="class: xl66, width: 222, bgcolor: yellow"]FMSW
[/TD]
[TD="class: xl87, width: 80, bgcolor: yellow"]Tue
[/TD]
[TD="class: xl87, width: 72, bgcolor: yellow"]Wed
[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Situational Awareness
[/TD]
[TD="class: xl64"]if B13 is Green
[/TD]
[TD="class: xl64"]if B13 is Green
[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Methods
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Equipment
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Supplies
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl93, bgcolor: transparent"]Staff
[/TD]
[TD="class: xl77"][/TD]
[TD="class: xl77"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl89, bgcolor: #FFCC00"]Fishers Landing
[/TD]
[TD="class: xl90, bgcolor: #FFC000"]Tue
[/TD]
[TD="class: xl90, bgcolor: #FFC000"]Wed
[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Situational Awareness
[/TD]
[TD="class: xl64"]if B31 Green
[/TD]
[TD="class: xl64"]if B31 Green
[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Methods
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Equipment
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Supplies
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl93, bgcolor: transparent"]Staff
[/TD]
[TD="class: xl77"][/TD]
[TD="class: xl77"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl91, bgcolor: #92D050"]87th Ave
[/TD]
[TD="class: xl92, bgcolor: #9BBB59"]Tue
[/TD]
[TD="class: xl92, bgcolor: #9BBB59"]Wed
[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Situational Awareness
[/TD]
[TD="class: xl64"]if B47 is Red
[/TD]
[TD="class: xl64"]if B47 is Green
[/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Methods
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Equipment
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl84, bgcolor: transparent"]Supplies
[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD="class: xl93, bgcolor: transparent"]Staff
[/TD]
[TD="class: xl77"][/TD]
[TD="class: xl77"][/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl65, bgcolor: #00B0F0"]Totals
[/TD]
[TD="class: xl88, bgcolor: #00B0F0"]Tue
[/TD]
[TD="class: xl88, bgcolor: #00B0F0"]Wed
[/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: transparent"]Situational Awareness
[/TD]
[TD="class: xl64, bgcolor: transparent"]Then B63 is Red
[/TD]
[TD="class: xl64, bgcolor: transparent"]Then B63 is Green
[/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: transparent"]Methods
[/TD]
[TD="class: xl64, bgcolor: transparent"][/TD]
[TD="class: xl64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: transparent"]Equipment
[/TD]
[TD="class: xl64, bgcolor: transparent"][/TD]
[TD="class: xl64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: transparent"]Supplies
[/TD]
[TD="class: xl64, bgcolor: transparent"][/TD]
[TD="class: xl64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="class: xl70, bgcolor: transparent"]Staff
[/TD]
[TD="class: xl64, bgcolor: transparent"][/TD]
[TD="class: xl64, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Select B63
CF > New Rule
1st rule
Try a formula in CF
=AND(B13="R",B31="R",B47="R")
Format --> Red

CF > New Rule
2nd rule
Try a formula in CF
=AND(B13="G",B31="G",B47="G")
Format --> Green

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,179
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