Matching data on different spreadsheets

StewartM666

New Member
Joined
Jun 11, 2020
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have 2 different spreadsheets running to 100,000 rows each, with around 15 columns on both of them. They both show different measurements of performance and i want to bring some of the data across from sheet 2 to sheet 1 where the same event is on both spreadsheets. This is beyond my skills and so i would really appreciate some help.

On both sheets the common data is in columns A/B/C being Date, Person, Place so i need something that checks for identical entries in all 3 fields in same row on both spreadsheets and then if there is a match it grabs data from a column on spreadsheet 2 and puts it in a column on spreadsheet 1.

Please help as doing it manually is proving very slow!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi StewartM666,

I'm going to suggest that maybe you don't want to pull the data from the 2nd sheet if the data you pull matches data already on the first sheet, so I'm giving two formulae: column F on Sheet1 is as per your request but column G on Sheet1 only populate if the "Other Data" is also different.

Here's my second sheet data:

StewartM666.xlsx
ABCD
1DatePersonPlaceOther Data
21/1/1956Paddington BearPeruFurry
33/3/1912Hansel SmithForestBreadcrumbs
43/3/1912Gretal SmithForestAt Risk
54/4/1967Asterix the GaulBrittanyCourageous
62/2/1979ToadstoolSan FranciscoAlcatraz
79/9/1997ToadstoolSao PauloVery Hot
83/3/2003ToadstoolSan FranciscoWorking
Sheet2


Here's my first sheet data and columns F & G formulae:

StewartM666.xlsx
ABCDEFG
1DatePersonPlaceOther DataPulled DataPulled Data if not the same
21/1/1956Paddington BearPeruFurryFurry 
33/3/1912Hansel SmithCottageAt Risk  
43/3/1912Gretal SmithForestAt RiskAt Risk 
54/4/1967Asterix the GaulMarseillesCourageous  
62/2/1979ToadstoolSan FranciscoVacationAlcatrazAlcatraz
79/9/1997ToadstoolSao PauloHotVery HotVery Hot
83/3/2002ToadstoolSan FranciscoWorking  
Sheet1
Cell Formulas
RangeFormula
F2:F8F2=IFERROR(INDEX(Sheet2!$D$2:$D$100000,MATCH(1,INDEX((A2=Sheet2!$A$2:$A$100000)*(B2=Sheet2!$B$2:$B$100000)*(C2=Sheet2!$C$2:$C$100000),0,1),0)),"")
G2:G8G2=IFERROR(INDEX(Sheet2!$D$2:$D$100000,MATCH(1,INDEX((A2=Sheet2!$A$2:$A$100000)*(B2=Sheet2!$B$2:$B$100000)*(C2=Sheet2!$C$2:$C$100000)*(D2<>Sheet2!$D$2:$D$100000),0,1),0)),"")
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

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