Santa's List: Conditional Formatting Entire Row based columns in another sheet.

jeffcoleky

Active Member
Joined
May 24, 2011
Messages
274
Title says it all. I want to do Format an Entire Row IF the data in Column A of that row contains an exact match to a list of names in another sheet. (we'll use Santa's Christmas list as an example)

I want the people in the "List" sheet, as they are categorized, to determine the row's background color of the names on Sheet 1 (Names). Green Background if they're Nice, Red Background if Naughty.

Names should be able to be added and removed from Sheet 2 at any time.

Sheet 1: "Names"
Bob <- (Entire Row has Green background)
Easter Bunny <- (Entire Row has Red background)
Pat <- (Entire Row has Red background)
Sam <- (Entire Row has Green background)
George <- (Entire Row has Green background)
You <- (Entire Row has Red background)


Sheet 2: "List"

Column A1: Nice
Bob
Sam
George

Column A2: Naughty
You
Pat
Easter Bunny
 
I had the same result EXCEPT mine shows George as being naughty. How Strange?! I did exactly what you said too... and he's in the right column.

It can't be. Try deleting the name and retyping it in both Sheets.

Asad
 
Upvote 0

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
However, i want it to automatically highlight the row, not just the one cell.

Currently, the columns range from Column "A" thru Column "AG" but that may get wider over time. In addition, those columns have other conditional formatting in them.
For extending it to other columns in same row, just copy the cell with CF and paste special > format only in all the other cells in same row.

If you have Excel 2003, you can have only three CFs. For more than that, you will have to have VBA.

Asad
 
Upvote 0
For extending it to other columns in same row, just copy the cell with CF and paste special > format only in all the other cells in same row.

If you have Excel 2003, you can have only three CFs. For more than that, you will have to have VBA.

Asad

Thank you both, it's working like a champ. Santa is fired, i'm taking over.
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,480
Members
452,915
Latest member
hannnahheileen

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