Conditional Formatting Challenge

indi420

New Member
Joined
Apr 15, 2002
Messages
1
I have a large table of data and I want to be able to distinguish a row of data (by shading the entire row) based on the information in one cell (B -Blue, R -Red and Y -Yellow).

As above one cell will have B, Y or R within and I want to be able to highlight the whole row of data, using conditional formatting, based on this one cell. Can I do this?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Using three conditions it seems easy. Lets say you want to highlight row 1 based on the value of cell A1. Highlight the row, go to Format>Conditional Formatting. Use "Formula Is", use the formula =$A$1="B" and then select the blue shading. Then use the Add button to add another formula, use =$A$1="Y" and select yellow shading, and then same thing for red =$A$1="R". HTH
 
Upvote 0
On 2002-04-16 17:25, indi420 wrote:
I have a large table of data and I want to be able to distinguish a row of data (by shading the entire row) based on the information in one cell (B -Blue, R -Red and Y -Yellow).

As above one cell will have B, Y or R within and I want to be able to highlight the whole row of data, using conditional formatting, based on this one cell. Can I do this?

Not sure I follow exactly, but if C1 is the criteria cell,

1. Highlight the entire row in question.
2. Format>Conditional Formatting>FormulaIs
=$C$1="B" and format for condition 1

3. Repeat step two for "Y" and "R" in conditions 2 and 3.

Bye,
Jay
 
Upvote 0
I have a simliar but different problem. I have a long row of data and each cell is shaded either red, yellow, or blue. All of these shaded cells are in row 3. How can I format rows 2 and 1 to shade the same color as row 3? Example, if A3 is red, then A1 and A2 should be red. If B3 is blue, then B1 and B2 should be blue. Thanks!!
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,998
Members
448,539
Latest member
alex78

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