I have supplied another solution for you using Power Query, which is called Get and Transform in your version of Excel. The attached file has a drop down (parameter) and based upon the selection it will filter the results.
The Mcode for the Parameter is
The Mcode for the Source Table is
Review PQ
In the attached file
Click on any cell in the new table
On the Data Tab, click on Queries & Connections
In the right window, double click to open Query
Review PQ steps
M-code basics:
- "let" is the start of a query
- "in" is the closing of a query
- each transformation step sits in between those 2 lines
- each step line is ended by a comma, except the last one
- "Source" is always the first step (Source Data)
- After "in" you have the last step referenced
Look at this link to fully understand this method.-->https://www.youtube.com/watch?v=gK2yBpiITvI
Bookmarks