Solved

Excel - Conditional Formatting

Posted on 2014-09-10
6
77 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 500 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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

717 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