?
Solved

Excel - Conditional Formatting

Posted on 2014-09-10
6
Medium Priority
?
78 Views
Last Modified: 2014-09-11
I want to do a conditional rule, but can't seem to get it to work correctly.  I want to compare Column F with Column C.  If Column F does not match Column C, and it is not empty, I want it to highlight red.  Issue is that when the below formula, some of the cells that match the value, it is still highlighting it red.

=IF($c2=$f2, 1, 0)

However, it is highighliting some items that matches as well as blank cells.  Any ideas?
0
Comment
Question by:holemania
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 36

Expert Comment

by:Kimputer
ID: 40315784
Is it possible you fill an excel file with multiple of these errors, and point then out? Attach the file here?
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40315786
=AND($C2 <> "", $C2 <> $F2)
0
 
LVL 4

Accepted Solution

by:
rlarian earned 2000 total points
ID: 40315964
Gerwin Jansen has the right answer, with slight modification.

i think F is the column to check for blank.
=AND($F2 <> "", $C2 <> $F2)
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40316567
Typo, in my test I have the check on empty in F2 :-)
0
 

Author Closing Comment

by:holemania
ID: 40318187
Thanks.
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40318229
No split?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question