Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 336
  • Last Modified:

Cell Range Comparison in Excel 2007

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
psueoc
Asked:
psueoc
  • 2
1 Solution
 
TracyVBA DeveloperCommented:
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
 
TracyVBA DeveloperCommented:
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
 
psueocAuthor Commented:
great solution thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now