desmondwkng
asked on
Matching the number in two excel file
Hi Experts,
I've two excel files (File A and File B) that have order no.(both on colum A) which are similar but not exact.
Now, I would like to know what order number listed on File A is missing from File B and vice versa.
thanks for your help in advance.
Desmond
I've two excel files (File A and File B) that have order no.(both on colum A) which are similar but not exact.
Now, I would like to know what order number listed on File A is missing from File B and vice versa.
thanks for your help in advance.
Desmond
Open both files and Perform a MATCH (VLOOKUP would be slow and overkill)
So in book 1 (row 1 in this case) you would have a formula...
=MATCH(A1,OrderNumbers Book 2 Sheet A:A, 0)
The 0 is nescessary to show exact matches only.
Then any rows which are #N/A are missing from the second workbook.
Reverse the procedure to find those in second workbook missing from first.
So in book 1 (row 1 in this case) you would have a formula...
=MATCH(A1,OrderNumbers Book 2 Sheet A:A, 0)
The 0 is nescessary to show exact matches only.
Then any rows which are #N/A are missing from the second workbook.
Reverse the procedure to find those in second workbook missing from first.
ASKER
Dear Barman
Thanks, it's perfect,
But if I would like to show that the matched number as "Y" and the unmatched as "N", how should I modify the formula?
Desmond
Thanks, it's perfect,
But if I would like to show that the matched number as "Y" and the unmatched as "N", how should I modify the formula?
Desmond
ASKER
Dear Andy,
There are two different files is because if come from different report and we would like to compare the result.
regards,
Desmond
There are two different files is because if come from different report and we would like to compare the result.
regards,
Desmond
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
Open both files, create named ranges, and do a vlookup.
would you like an example of what that formula would look like?