Solved

Compare two columns and high lite the different ones EXCEL

Posted on 2013-06-07
3
260 Views
Last Modified: 2013-06-17
Hi Experts,
I have an Excel sheet with different columns, assume the column names are- name(column1), id1(column2), id3(column3).
I want to compare the column2 with column3 and if it is different - we need to high lite the row in a different color.The values in column1 and 2 are in number format. Please help..
Thanks in advance
0
Comment
Question by:gtmathewDallas
[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
  • 2
3 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39230225
Select the 2 columns.

Go to Home|Conditional Formatting

Select "use a formula to determine which cells to format"

Enter formula like:

=AND(ROW()>1,$C1<>$D1)

assuming column C is Id1 and column D is id3.

click Format and choose from Fill tab.

Click Ok and again to finish.
0
 

Author Comment

by:gtmathewDallas
ID: 39230275
But I have 400 rows :(
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39230306
If you select the entire column and apply the conditional format... it will automatically apply to all 400 rows and more.  (you can verify in the Applies to field of the CF Manager)
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

626 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