Conditional Formatting of multi cells

wmtsub

Active Member
Joined
Jun 20, 2018
Messages
322
I have some conditional formatting created thru - conditional format - highlight cells rule - equal to.
They apply to $B:$B. I would like to change the results so if the cell in row b equals the condition the highlight would affect of not only that cell but the cells adjacent in columns a and c.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Re-do your Conditional Formatting like this:
Select columns A, B, and C, and then apply the following Conditional Formatting Formula:
Code:
=$B1 = [I]some value[/I]
and choose your formatting highlight color.
By using the "$" in front of the column B reference, you are locking that down and telling all of columns A, B, and C to look at the value in column B.
 
Last edited:
Upvote 0
You need to replace "some value" with whatever value you are trying to see if that cell is equal to.
If you still get an error, please post the exact Conditional Formatting formula you are trying.
 
Upvote 0
Conditional Formatting formulas follow all the same rules as any other Excel formulas. Literal strings must be enclosed in quotes, i.e.
Code:
=$B1="house"

If it was a number, it would not need quotes around it.
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,769
Members
448,991
Latest member
Hanakoro

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