conditional formatting feature

AMIRD

New Member
Joined
Mar 20, 2016
Messages
3
Hello.
I have a table with 4 columns A B C D.
The table represents names of students (column A), and three desired friends in class (columns B,C,D).
For each student, I would like to color in blue cells of friends who are with him in class, and in red friends who are not with him in class.

Can anyone tell me what is the correct conditional formatting formula for this?
Thank you so much!

For example for this table:
D
C
B
A
JESSICA
RUTH
DAVID
TOM
RAULI
DAN
STEPHEN
MARK
TOM
MIKE
OFER
RUTH
STEPHEN
RUTH
TOM
JOHN
JOHN
DAVID
RUTH
MIKE

<tbody>
</tbody>

should look like this:
D
C
B
A
JESSICA
RUTH
DAVID
TOM
RAULI
DAN
STEPHEN
MARK
TOM
MIKE
OFER
RUTH
STEPHEN
RUTH
TOM
JOHN
JOHN
DAVID
RUTH
MIKE

<tbody>
</tbody>


I need it to work for both cases, in which cells that appear family name first AND for cells in which the private name appears before family name.

(I would like to color the cell's background and not the text's color, but I just don't manage to show it here at the example).

Thank you very very much!
 

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)

Forum statistics

Threads
1,217,440
Messages
6,136,640
Members
450,022
Latest member
Joel1122331

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