Conditional Formatting if cell contains 1

vanther

New Member
Joined
Dec 8, 2011
Messages
24
Hello, I have a little question , on how do I highlight a certain cell like for example.

ABCD
1FIRST NAMEMIDDLE NAMELAST NAMEVALUE
2JOHNDANERCANRES1

<tbody>
</tbody>
as you can see table above, if the value contains "1" , the names (first,middle,last) should be highlighted.

Can anyone help me, because I am new in conditional formatting... Im out of guesting formula.. ^^
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Select A2:C down as far as needed. Use the CF formula

=$D2=1

then set the format as required.
 
Upvote 0
Highlight your range (not your headers)

Go to conditional formatting - with formulam and input the following =$D2=1

Set your fill colour to whatever you want and hit ok
 
Upvote 0

Forum statistics

Threads
1,215,410
Messages
6,124,752
Members
449,186
Latest member
HBryant

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