Conditional format

Xirom431

Board Regular
Joined
Dec 2, 2010
Messages
102
Hi, I needed help with conditional format. How can I use conditional format for. Thanks in advance for the help.
If Cell B1 = A1 over the range of B1:B23, B1 will turn green, if not, it will turn red.​
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
try

Book1
ABC
111
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B1:B23Expression=$A$1<>$B$1textNO
B1:B23Expression=$A$1=$B$1textNO
 
Upvote 0
Oh. I just need each cell to turn color only, not the whole column. A1 = B1 or A2 = B2 but the rule is for the range. Ok. I got it now.
 
Upvote 0
You could also use
Excel Formula:
=AND(B1<>"",B1=A1)
that way you won't highlight cells if col B is blank
 
Upvote 0

Forum statistics

Threads
1,213,495
Messages
6,113,992
Members
448,538
Latest member
alex78

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