I'm looking to match 2 columns to generate a master list, which will show matched and unmatched (in column A not in B, and also column B not in A).
See the example spreadsheet
I'm looking to match 2 columns to generate a master list, which will show matched and unmatched (in column A not in B, and also column B not in A).
See the example spreadsheet
Put this formula in D1, then copy it down and across to column E:
=IF(ISNUMBER(MATCH(ROW(A1),A:A, 0)), ROW(A1), "")
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
With a macro (using the NoDups function)
Thanks...perfect...:-)
Thanks, this works for these numbers, but what if my lists were
10001
10010
10082
10090
&
10009
10010
10080
10100
10101
Should be
10001
10010 10010
10080
10082
10090
10100
10101
I wouldn't necessarily want 10000 blanks before the 1st number?
Could this be changed just to use the numbers given?
Thanks
Thanks...if the original columns were D&E and outputting to m&n, how would the macro change?
Also, what if columns A & B were on different sheets within the current spreadsheet...say Column A on sheet1 and Column B on sheet2??
Thanks again
Find these lines in the code
If columns A and B are on different sheets then it will be easier to copy them onto one sheet.Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks