Solved

Cell Range Comparison in Excel 2007

Posted on 2011-02-22
3
317 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:
broomee9 earned 500 total points
Comment Utility
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:broomee9
Comment Utility
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
Comment Utility
great solution thanks
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 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

7 Experts available now in Live!

Get 1:1 Help Now