Highlighting Cells with Conditional formatting

jwgreen1986

Board Regular
Joined
Mar 8, 2019
Messages
64
i currently have a couple of tables on a workbook. i am wanting to use some conditional formatting that will highlight certain cells when a criteria is met and will change the highlighted cells when the criteria is changed.

i am able to highlight one cell using conditional formatting, but is there a way to highlight the other cells near it if it is highlighted?

below is an example. so i am able to have the site highlighted, but how do i make it so it will also highlight the position and sales fields as well? so at the min i have newcastle selected in my drop down and it makes it bold. if i change the site on the drop down it changes this to bold. what i want to do is not only make the site bold but the position and sales fields bold as well. this way it makes it much easier to view the current site you are looking at.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Position[/TD]
[TD]Site[/TD]
[TD]Sales[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Derby[/TD]
[TD]999[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Newcastle[/TD]
[TD]567[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Manchester[/TD]
[TD]423[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Oxford[/TD]
[TD]400[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Leicester[/TD]
[TD]239[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Assuming "Position" is in A1 & your drop down is in F1
Select A1 to C & last row & use this formula
=$B2=$F$1
 
Upvote 0
Assuming "Position" is in A1 & your drop down is in F1
Select A1 to C & last row & use this formula
=$B2=$F$1


Hi this isnt working. it isnt highlighting any of the info now? would the B2 reference part not only highlight everything is the item in B2 matches what is in the drop down?
 
Upvote 0
It will highlight all 3 columns where col B matches F1 like


Excel 2013/2016
ABCDEF
1PositionSiteSalesOxford
21Derby999
32Newcastle567
43Manchester423
54Oxford400
65Leicester239
Names
 
Upvote 0
it isnt working on mine. it is just highlighting all of them when the top site matches the drop down.

my drop down is in cell D7.
the table i have is in J9 (headers) to L21.

i am highlighting j10:l21 then going to conditional formatting. i am then entering =$K10=$D$7. selecting the format etc. nothing is happening. currently at the top of the table is Oxford. if i select oxford in the drop down all of the sites highlight. then if i change the site it takes the highlight off them
 
Upvote 0
scrap that i know the issue. when i was putting the formula in i was putting =$K$10 instead of =$K10. it is working now. brilliant thanks.
 
Upvote 0
Glad it's working & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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