Hello,
I am using Excel 365 and I am trying to have a user filter data and display specific columns of data with sums. Note that the data is one line per record and I wish to sum it. Not sure if this requires a "let" statement.
The worksheet screenshot below shows the fields that the user can select. Either a valid value in the drop down or "all".
Untitled.jpg
The code below works to filter the dataset as I would like:
The "columns" noted above are also drop down and the numbers represent the column number for dynamic use of ChooseCols() or whatever other syntax is required. Below is what I wish the table to look like. Note that the "etc" is only to save time, I would want real results to represent whatever days are applicable. Please advise how I create a spill array to create the desired result. Thanks very much.![]()
Please Login or Register to view this content.
table_results.jpg
Bookmarks