Solved

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

Posted on 2016-11-24
2
52 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 50

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

808 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