Conditional Formating: highlight column A values based on "tag" from same row on column B

Annie Liz

New Member
Joined
Aug 17, 2017
Messages
2
Example.png


The picture shows what I want to achieve:

Values are GREEN if positive & RED if negative, however I need some of those values to be BLUE based on same row tag from another column (like the "C" tag on Column A or the word "Type C" on Column B)

I can achieve the GREEN & RED coloring with just 2 entries on conditional formating rules for the whole column C, I just can't figure how to achieve a BLUE coloring rule if those values aren't unique to tagged items.

Only idea was create a rule for a single row & then copy/paste that row as needed, but doing so would create thousands of rule entries that would be impossible to modify later.

*btw the list would be thousands of rows long but finite if that helps.

Any help would be appreciated, thanks!

Version: Office 2010 HS
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Code:
=OR(A1="c",[COLOR=#008000]IFERROR([COLOR=#0000FF]SEARCH("type c",B1)[/COLOR]>0,FALSE)[/COLOR])
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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