Match value where same value occurs multiple times

rickf19

Board Regular
Joined
Aug 30, 2019
Messages
73
Office Version
  1. 2016
Platform
  1. Windows
Hi all

I have two spreadsheets which should have the same values in each however often don't agree. there are no matching details except the value columns, the same value can be entered multiple times in each spreadsheet, there are hundreds of rows in each spreadsheet. I need to match the values and highlight the values in each spreadsheet that dont match..
Any help greatly appreciated

Rick
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi Rick,
your explanation is a cryptic, can you elaborate a bit?
Made-up example: so you have Sheet A with data (e.g. 100 rows, 20 columns) and Sheet B with data (e.g. 200 rows, 16 columns) and you know that there are rows where e.g. columns K,L and M in both sheets should match, but they sometimes don't? So how would you know which rows should match?
Cheers,
Koen
 
Upvote 0
Two spreadsheets
Cols a to g in one value in col f
Cols a to x in two value in col s
Need to match value in col f with value in col s
Could be More than one of same value in both
No other matching details on spreadsheets

Thanks
Rick
 
Upvote 0
Assuming that the data in row 1 on Sheet A matches the data of row 1 in Sheet B, you could add a formula in H1 (on sheet A) with the formula =SheetA!F1=SheetB!S1 and drag that formula down. If the values match, it should show TRUE, otherwise FALSE. If that's not the case, please add a bit of (anonymized) sample data to make the case clearer.
 
Upvote 0
Two spreadsheets
Cols a to g in one value in col f
Cols a to x in two value in col s
Need to match value in col f with value in col s
Could be More than one of same value in both
No other matching details on spreadsheets

Thanks
Rick
 
Upvote 0
Hi
Thanks for the reply
Values in cols f and s are not in the same place (row) on each sheet
Values may exist on one but not the other
There are multiple values which are duplicated in each but may occur six times on one sheet and only four on the other for example
The task is to reconcile both sheets so that I can see which values match,which values appear in sheet 1 and not on sheet 2 and vice versa
Hope this helps

Rick
 
Upvote 0
This might help:
SheetA, cell H1: =COUNTIF($F$1:$F$100,F1) -> gives you the number of times value F1 occurs in SheetA (100 rows of data)
SheetA, cell I1: =COUNTIF(SheetB!$S$1:$S$200,F1) -> gives you the number of times value F1 occurs in SheetB (column S, assuming 200 rows of data)
Drag both down and check for mismatches, as they should both be the same. You can do the same on SheetB, but than use the formula the other way round.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top