Add a fourth and fifth conditional formatting using vba

Lplater

Board Regular
Joined
Apr 6, 2013
Messages
107
I have a Master list of people in list A.
Additionally, I have five other separate lists all with named ranges from Team A through to Team E.

Have applied conditional formatting to list A "Master list" so that if any of the names from list A appear in either Team A, Team B or Team C, the names in my master list take on the colour I have deemed for each team.
Have done this using countif function on all cells in List A but unable to find a way to extend the cond formatting to my remaining 2 lists "Team D and Team E"

Can anyone please assist ??

Incidentally, the remaining 2 colours I need are pink and amber "pattern" with standard black font.
 
which version of excel are you using if you are using 2007 or higher then you can add more then 3 condition in conditional formatting ?
 
Upvote 0
Unfortunately for the project I'm building, the operation is using 2003 and for the foreseeable future this won't be changing to 2007 or 2010 so I'm stuck with trying to get this feature working with 2003...

Have seen some private sub worksheet_change code using case etc but the ones I've seen utilise number values found in cells not "names of individuals' as is the case in my master list and in Teams A through E
 
Last edited:
Upvote 0
Yeah thanks, I did see that but it looks fairly complicated and it also looks like user input is required to achieve formatting each time the data changes.
I'm trying to build my sheet for the lowest common denominator operator so need it to be fully automatic without any input from operator.

Still trying to make sense of that myself actually....
 
Upvote 0

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