Help to find relevant data across multiple tabs of data. I think it is a index, match 3D formula

Iron Contributor

Hi Everyone,

 

I have a spreadsheet that has large number of tabs which are set up identically, there is just one tab for each product. Then lastly there is a summary tab. I want help with a formula to find and return the relevant data from each tab. I believe it is a combination of Index and match across the tabs.

 

Attached is an example.

 

Appreciate any help.

 

Kind regards,

5 Replies
Which version of Excel are you using precisely? This is something you could do using PowerQuery (Get & Transform, New Query, From File, From Workbook)
Hi Jan,

Thanks for the message.

I use Microsoft 2016 I believe. I have not used power query before however, but keen to learn.

Thanks

@calof1 Here are the steps:

  1. Save the file
  2. Click Data, Get Data (your button might be named "New QUery), From File, From Workbook:2019-07-02_12-38-18.jpg
  3. Click on the file name and then click Transform data:
    2019-07-02_12-41-26.jpg
  4. I assumed the tabs we wantto include all have three-letter names. Click the Add column tab, Custom Culomn button:
    2019-07-02_12-43-44.jpg
  5. Use this formula to calculate the # of characters in the tab name:
    2019-07-02_12-45-35.jpg
  6. Click the filter button on the new column and select "Number filters", "Equals...":
    2019-07-02_12-46-40.jpg
  7. Set it to 3:
    2019-07-02_12-47-12.jpg
  8. Select the first two columns by control-clicking their headers and right-click. Select "Remove other columns":
    2019-07-02_12-49-37.jpg
  9. Click the expander icon next to Data:
    2019-07-02_12-51-18.jpg
  10. Keep all columns selected and OK the dialog.
  11. Delete all columns you do not need
  12. Remove the first 15 rows:
    2019-07-02_12-54-14.jpg
    2019-07-02_12-55-08.jpg
  13. Click "Use first row as headers":
    2019-07-02_12-56-16.jpg
  14. Rename first column back to "Name":
    2019-07-02_12-57-35.jpg
  15. Click "Close and Load", Close and load to...:
    2019-07-02_12-58-40.jpg
  16. Choose these settings:
    2019-07-02_13-00-21.jpg
  17. Now you're ready to create a pivot table which looks like your current report:
  18. 2019-07-02_13-03-35.jpg

Hi@Jan Karel Pieterse 

 

Thank you very much for the step by step instructions. I have been able to create a pivot table however it is slightly different to yours. For the "Statistics based on current Year" is this a named range created in the query? My attempt thus far is showing data from my first tabs of data, which i do not need to include.

 

I have attached what i am working on, the pivot table is located on row 125 down of the "Summary of Stocks" tab. Can you please see if you can tell what i need to amend in the query?

 

Thank you again for your support, much appreciated.

Looks like you at least did not filter the calculated column containing the length of the worksheet names to 3 characters. Also you didn't remove the unneeded columns. The steps are there in my instructions :)