Solved

Excel:  Comparing the Values in One Column with the Values in Another

Posted on 2016-11-24
2
41 Views
Last Modified: 2016-11-25
Hello:

In an Excel spreadsheet, let's say that Column A has values filled within rows 2 - 100.

Also, let's say that Column B has values filled within rows 2 - 48.  Some of the values in Column B match those within Column A, but some do not.

How can I highlight the values in Column A that match values in Column B?

Thank you!

John
0
Comment
Question by:John Ellis
2 Comments
 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 41900198
HI,

You could use conditional formatting with formula

=MATCH(A2,$B:$B,0)

Open in new window

Regards
0
 
LVL 33

Accepted Solution

by:
Norie earned 500 total points
ID: 41900203
John

Select the data in column A, goto Conditional formatting>New Rule... and select Use formula to determine which cells to format.

Enter this formula,

=NOT(ISERROR(MATCH($A2, $B$2:$B$48, 0)))

then goto Format... and select the formatting you want to highlight matches.
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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

947 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

21 Experts available now in Live!

Get 1:1 Help Now