Conditional Formatting

marshak

Board Regular
Joined
May 28, 2007
Messages
65
Hello all!
I am once again needing your assistance. I have the following spreadsheet. Here's what I need to do:

100478__130644324v1_CF Chronology.XLSX
ABCDEF
1DateEventSourceDesignationPrimary RelevanceSecondary Relevance
21995Event 1Source 1Caputo
31994-1997Event 2Source 2Caputo
41997-2002Event 3Source 3Caputo
5June 1997-Dec. 2002Event 4Source 4Caputo
62000Event 5Source 5USRC BackgroundCaputo
72002Event 6Source 6Caputo
837860Event 7Source 7Dorsey ConnectionsCaputo
939104Event 8Source 8Dorsey Connections
1039232Event 9Source 9Dorsey Connections
1139255Event 10Source 10Dorsey Connections
1239646Event 11Source 11Dorsey Connections
Sheet1



1. When I enter a value into column D, I need that row to change color. For example, if I enter "Confidential" into D10, I need row 10 to change color to "yellow". Any of the following five words will be typed into column D, and I need that row to change color based on the following.
  1. Confidential: Yellow
  2. AEO: Orange
  3. Partially Privileged/Redacted: Red
  4. Not Produced/Privileged: Dark Red
  5. Not Produced/Not Privileged: Blue
2. I need to take this a step further, if possible. If I enter "Confidential" and "AEO" into D10, I need row 10 to change color to "orange" -- the darker color of the options typed.
Likewise, if I enter "AEO" and "Not Produced/Not Privileged" -- row should color "Blue"

Please let me know if you have any questions. Once again, thank you in advance for your assistance.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Is this what you mean?

You need to ensure the rules are in the correct order as shown in the bottom image (Conditional Formatting -> Manage rules) where you can change the order using the arrows shown.

22 07 06.xlsm
ABCDEF
1DateEventSourceDesignationPrimary RelevanceSecondary Relevance
21995Event 1Source 1Not Produced/Not PrivilegedCaputo
31994-1997Event 2Source 2Caputo
41997-2002Event 3Source 3Confidential Not produced/Privileged AEOCaputo
5June 1997-Dec. 2002Event 4Source 4ConfidentialCaputo
62000Event 5Source 5Not Produced/Not Privileged ConfidentialUSRC BackgroundCaputo
72002Event 6Source 6Caputo
837860Event 7Source 7AEODorsey ConnectionsCaputo
939104Event 8Source 8Dorsey Connections
1039232Event 9Source 9Confidential AEODorsey Connections
1139255Event 10Source 10Dorsey Connections
1239646Event 11Source 11AEO Not produced/PrivilegedDorsey Connections
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:F12Expression=ISNUMBER(SEARCH("Not Produced/Not Privileged",$D2))textNO
A2:F12Expression=OR(ISNUMBER(SEARCH("Partially Privileged/Redacted",$D2)),ISNUMBER(SEARCH("Not Produced/Privileged",$D2)))textNO
A2:F12Expression=ISNUMBER(SEARCH("AEO",$D2))textNO
A2:F12Expression=ISNUMBER(SEARCH("Confidential",$D2))textNO


1657086857124.png
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,395
Members
449,081
Latest member
JAMES KECULAH

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