Extracting Data using MATCH and OFFSET

purceld2

Well-known Member
Joined
Aug 18, 2005
Messages
586
Office Version
  1. 2013
Platform
  1. Windows
Can anyone advise of the best way to retrieve data from a different spreadsheet. I am trying to use MATCH and OFFSET

I have two spreadsheet where I use a value in the first one to match the row of data in the other then use offset to extract the data I require. Is this possible as I keep getting an error.

Has anyone got an example of how this is done

Thank you in advance

Regards
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
It's probably better to use INDEX and MATCH, rather than OFFSET and MATCH, particularly because OFFSET won't work if the target workbook is closed. E.g. you can use this formula in workbook1 sheet1 to match C1 in from that workbook with A1:A10 in workbook2 sheet1 and return the corresponding value in B1:B10

=INDEX([workbook2.xls]Sheet1!$B$1:$B$10,MATCH(C1,[workbook2.xls]Sheet1!$A$1:$A$10,0))
 
Upvote 0
A couple things come to mind:

1) Could you post your formula?
2) Are you able to use MATCH/INDEX instead of OFFSET?
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,716
Members
448,985
Latest member
chocbudda

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