Solved

Excel - Conditional Formatting

Posted on 2014-09-10
6
68 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
6 Comments
 
LVL 35

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 37

Expert Comment

by:Gerwin Jansen
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 37

Expert Comment

by:Gerwin Jansen
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 37

Expert Comment

by:Gerwin Jansen
ID: 40318229
No split?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
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 on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now