conditional formatting

mwvirk

Active Member
Joined
Mar 2, 2011
Messages
252
Office Version
  1. 2016
Platform
  1. Windows
hello
i want to change the colour of cell A1 & B1 (tells say yellow) if cell B1 is having a text value I
i want to change the colour of cell A1 & B1 (tells say blue) if cell B1 is having a text value T
i want to change the colour of cell A1 & B1 (tells say red) if cell B1 is having a text value C
i want to change the colour of cell A1 & B1 (tells say light black) if cell B1 is having a text value P
i want to change the colour of cell A1 & B1 (tells say light green) if cell B1 is having a text value R
and then this will be applied from A1:A1200 by checking the corresponding B1:B1200 value
thank you


1684918134877.png
 
Last edited:

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.
Book1
ABCD
1Ifor drop down
2TI
3CT
4PC
5RP
6IR
7I
8P
9I
10T
11I
12C
13I
14R
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A1200Expression=B1="I"textYES
A1:A1200Expression=B1="T"textYES
A1:A1200Expression=B1="C"textYES
A1:A1200Expression=B1="P"textYES
A1:A1200Expression=B1="R"textYES
Cells with Data Validation
CellAllowCriteria
B1:B14List=$D$2:$D$6
 
Upvote 1

Forum statistics

Threads
1,215,868
Messages
6,127,408
Members
449,382
Latest member
DonnaRisso

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