Conditional Format Brain Fart

bobgrand

Active Member
Joined
Apr 14, 2008
Messages
252
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I am struggling with what I think should be pretty simple. I checked around for examples and still stumble. Please help.

Column C has a number
Column W has a number

I need the cell in column W to highlight if it does not equal column C

Both of these columns should be equal.

[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD="align: center"]C[/TD]
[TD="align: center"]W[/TD]
[/TR]
[TR]
[TD="align: center"]45[/TD]
[TD="align: center"]45[/TD]
[/TR]
[TR]
[TD="align: center"]60[/TD]
[TD="align: center"]50[/TD]
[/TR]
[TR]
[TD="align: center"]80[/TD]
[TD="align: center"]80[/TD]
[/TR]
[TR]
[TD="align: center"]45[/TD]
[TD="align: center"]65[/TD]
[/TR]
</tbody>[/TABLE]

Any help would be greatly appreciated

Bob :(
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Select W2:W last row & use this formula
=W2<>C2
 
Upvote 0
Fluff,

That did not work. I highlighted column W8 thru W80, put that formula in the conditional format and everything highlighted red.

Bob
 
Upvote 0
If the first cell is W8 then you need to use
=W8<>C8
 
Upvote 0
I did change the cell numbers. Everything is highlighting red.
 
Upvote 0
That would suggest that nothing in W matches C, are the numbers entered manually or by formula?
If formula check for decimals.
 
Upvote 0
So sorry. I think this may be the problem.

The number in column C is derived by the following formula. I think the number in column C is not showing up as an actual number.

=IF(A8="","",MID(A9,1,FIND(" ",A8)))
 
Upvote 0
In that case change the formula to
=IF(A8="","",MID(A9,1,FIND(" ",A8))*1)
It will convert them into numbers
 
Upvote 0
Sweet, Thank you so much. That worked.

Have a great day
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
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