Conditional formatting or not?

Donmazzei

New Member
Joined
Jan 2, 2020
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi all I really need your support in this. Il try to explain as best as I can.

So I have a drop list say in e4 and what I want it to do is to change the the previous 3 cells I e b3 c3 and d3 to a certain color when you select a certain item on the list in e4.


How do I do it?
Thank you all!!!
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
do you want b3,c3,d3 different colours for the same item ?

if not
then setup different rules for each colour for each item.
then you could use a LIST or hardcode it in

for 2007, 2010 , 2013 or 2016 excel version
Conditional Formatting

Highlight applicable range >>

B3,C3,D3



Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:


=$E3="item name on the list 1"


FormatÖ [Number, Font, Border, Fill] choose the fill colour
choose the format you would like to apply when the condition is true
OK >> OK

Next
Repeat the above with a different rule for item 2 and colour

Book1
BCDE
2
3Oranges
4
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B3:D3Expression=$E3="Oranges"textNO
Cells with Data Validation
CellAllowCriteria
E3List=$I$1:$I$3
 
Upvote 0
do you want b3,c3,d3 different colours for the same item ?

if not
then setup different rules for each colour for each item.
then you could use a LIST or hardcode it in

for 2007, 2010 , 2013 or 2016 excel version
Conditional Formatting

Highlight applicable range >>

B3,C3,D3



Home Tab >> Styles >> Conditional Formatting
New Rule >> Use a formula to determine which cells to format
Edit the Rule Description: Format values where this formula is true:


=$E3="item name on the list 1"


FormatÖ [Number, Font, Border, Fill] choose the fill colour
choose the format you would like to apply when the condition is true
OK >> OK

Next
Repeat the above with a different rule for item 2 and colour

Book1
BCDE
2
3Oranges
4
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B3:D3Expression=$E3="Oranges"textNO
Cells with Data Validation
CellAllowCriteria
E3List=$I$1:$I$3
If i wanted it for a certain selections such as Holi or Toil. I could use an or function i take it?
 
Upvote 0
YES , if you want the same colour

=OR( $E3="Holi",$E3="Toil")
Book1
BCDE
3Oranges
4Holi
5Toil
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B4:D5Expression=OR($E4="Holi",$E4="toil")textNO
B3:D3Expression=$E3="Oranges"textNO
Cells with Data Validation
CellAllowCriteria
E3List=$I$1:$I$3
E4:E5List=$I$1:$I$5
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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