Forum Discussion
calof1
Jul 02, 2019Iron Contributor
Help to find relevant data across multiple tabs of data. I think it is a index, match 3D formula
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 formul...
calof1
Jul 02, 2019Iron Contributor
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
Thanks for the message.
I use Microsoft 2016 I believe. I have not used power query before however, but keen to learn.
Thanks
JKPieterse
Jul 02, 2019Silver Contributor
calof1 Here are the steps:
- Save the file
- Click Data, Get Data (your button might be named "New QUery), From File, From Workbook:
- Click on the file name and then click Transform data:
- I assumed the tabs we wantto include all have three-letter names. Click the Add column tab, Custom Culomn button:
- Use this formula to calculate the # of characters in the tab name:
- Click the filter button on the new column and select "Number filters", "Equals...":
- Set it to 3:
- Select the first two columns by control-clicking their headers and right-click. Select "Remove other columns":
- Click the expander icon next to Data:
- Keep all columns selected and OK the dialog.
- Delete all columns you do not need
- Remove the first 15 rows:
- Click "Use first row as headers":
- Rename first column back to "Name":
- Click "Close and Load", Close and load to...:
- Choose these settings:
- Now you're ready to create a pivot table which looks like your current report:
- calof1Jul 03, 2019Iron Contributor
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.
- JKPieterseJul 03, 2019Silver ContributorLooks 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 :-)