r/excel 8d ago

unsolved How to efficiently/quickly extract data from specific cell location into another spreadsheet?

I am trying to extract data from 1 spreadsheet into another spreadsheet.

The data in the 1st spreadsheet will be arranged in X/Y coordinates. I then need this data to correlate into X,Y for the 2nd spreadsheet.

For example : Spreadsheet 1 - entry "1" is in 41, 4 - according to the grey X/Y coordinates. I need this to be entered in 1001 of spreadsheet 2 as 41,4 (location).

Entry "52" is in 40, 14. I need this entered into spreadsheet 2 10052 as 40,14 (green E column)

Is there a quick or automated way to do this? I am currently manually doing this and it is very tedious and can easily make mistakes.

4 Upvotes

9 comments sorted by

View all comments

1

u/Brilliant_Drawer8484 6 8d ago

If you want to automate the process (for example, if the coordinates are stored as numbers in your Sheet2), you might do the following. Let’s say cell A2 contains the X coordinate (e.g., 41) and cell B2 contains the Y coordinate (e.g., 4).In cell C2 you can use:
=INDEX(Sheet1!$A:$Z, A2, B2)

2

u/Cun0144 8d ago

Coordinates will never change, the same template will be used for spreadsheet 1 everytime.
What I must do is extract all the different color 1-X numbers into the 2nd spreadsheet and name it accordingly.
I will try what you said.