Forum Discussion
zacharyoost1
Aug 08, 2024Copper Contributor
Pull Data from another sheet if number matches
I'm wondering how to take the information from the Inv column in sheet 2 and add it to sheet 1 if the Loan number matches? I have 2 separate reports and need to add information to the ot...
HansVogelaar
Aug 08, 2024MVP
In B2:
=XLOOKUP(A2, 'Sheet 2'!B:B, 'Sheet 2'!A:A, "")
Replace Sheet 2 with the real name of that sheet.
Fill down.
- zacharyoost1Aug 08, 2024Copper ContributorAnother question, would it be possible to pull the info from Inv from a different workbook completely? I'm condensing these down into a lot of smaller workbooks and would save a ton of time.
- HansVogelaarAug 08, 2024MVP
Yes. The easiest way to do this is to open both the 'source' workbook and the 'target' workbook, and to point to the relevant ranges while creating or editing the formula.
Then close the 'source' workbook. Excel will add the full path of that workbook to the formula.
Save the 'target' workbook.
- zacharyoost1Aug 08, 2024Copper Contributor