Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Cell Range Comparison in Excel 2007

Posted on 2011-02-22
3
Medium Priority
?
330 Views
Last Modified: 2012-05-11
I have 2 cell ranges that I need to compare and return a list of values that have have no match.
VLOOKUP?

A    
6335                      
6409
6409
6427
6458
6458


B
6335
6409
6427
6458
6459
6463
6465
6469
6542
6554
6557
6568
0
Comment
Question by:psueoc
  • 2
3 Comments
 
LVL 24

Accepted Solution

by:
Tracy earned 2000 total points
ID: 34952006
Yes, you can use Vlookup.

So if your A set above is in Sheet 1 starting at A1, add the vlookup below to column B in the corresponding row.  This will look up your B dataset above, assuming it's in Sheet2 starting at A1.

=Vlookup(A1,'Sheet2'!$A$1:$A$12,1,False)

See attached.
Book1.xls
0
 
LVL 24

Expert Comment

by:Tracy
ID: 34952110
Alternatively, you can use a combination of the Index/Match function.

=INDEX($A$1:$A$6,MATCH(A1,Sheet2!$A$1:$A$12,FALSE),1)
Book1.xls
0
 

Author Closing Comment

by:psueoc
ID: 34952211
great solution thanks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Lost Word File? Eagerly, need it back? Read ahead; this File Recovery guide is for you.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

773 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