Forum Discussion
Help with Excel report creation for review results from multiple worksheets...
- Jun 27, 2025
OK so I think maybe in your RESULTS table the 'met expectations' column might be a little different or something and therefor the conditional check might be 'passing' when it shouldn't and besides it seems all we care about is if the # reviews is >0 so try this:
=LET(filterBy, RESULTS!A2:C2, resultTable, RESULTS!A5:E12, columnCounts, {5,6,5,5,5,7,6,7}, report, LAMBDA(result_filter,result_row,table_all, LET(table_data, DROP(table_all,1), table_matches, (CHOOSECOLS(table_data,3)=INDEX(result_filter,1))* (CHOOSECOLS(table_data,2)>=INDEX(result_filter,2))* (CHOOSECOLS(table_data,2)<=INDEX(result_filter,3)), IF(N(INDEX(result_row,2)), VSTACK("*** "&INDEX(result_row,1)&" ***", TAKE(table_all,1), FILTER(table_data, table_matches, "")), ""))), total, REDUCE("",SEQUENCE(ROWS(resultTable)),LAMBDA(p,q,VSTACK(p, LET(tbl, INDIRECT("tbl"&TEXTJOIN(,,TEXTSPLIT(INDEX(resultTable,q,1),{" ","-"}))&"[#ALL]"), report(filterBy, CHOOSEROWS(resultTable,q), CHOOSECOLS(tbl,SEQUENCE(,INDEX(columnCounts,q)),SEQUENCE(,2,COLUMNS(tbl)-1)))) ))), IFNA(IF(total=0, "", total),""))and not to beg for likes but feel free to give me some if you like
I was able to copy and paste from here into the formula bar with no issues. However, the formula isn't displaying any results. Not sure what's happening with it. Do you get any results in the spreadsheet I uploaded?
I like m_tarler​'s idea, but I would implement it slightly differently. See the attached version.
- Marcus_BoothJun 23, 2025Iron Contributor
Thank you. I copied and pasted the text from the last one sent from Hans. Copied from the formula bar and pasted it into the first cell of the Master sheet, but the formula didn't return anything. It only displays the formula on the page like this....
- m_tarlerJun 23, 2025Bronze Contributor
that looks like you are pasting into the cell and not into the formula bar.
you need to paste it into the formula bar as shown above (or if you hit F2 and go into edit mode inside a cell).
In the above image the same formula that I pasted into the formula bar in E1 did NOT paste correctly when I just clicked on C1 and hit paste.
- Marcus_BoothJun 23, 2025Iron Contributor
Ok. I open both spreadsheets, copy the formula from the formula bar using Ctrl+C. Then I highlight the cell A1 on the master sheet and click into the formula bar, then Ctrl+V to paste. I have to close the sheet I'm pasting from or it tries to link the sheets together or something. Copying into one sheet does something to the original instead of actually copying.
Now, I'm wondering if it has anything to do with the fact that there are other worksheets on the master that were not included on the one I sent. No calculations are performed on the data contained there, so I didn't include in the redacted file. Other than that, I'm not sure what would be keeping it from working. I didn't change any of the table names or sheet names.
- m_tarlerJun 20, 2025Bronze Contributor
I originally did it that way or very similar and then changed it all up specifically to show the tabs that didn't have any results to make it clear those tabs had none.
- HansVogelaarJun 20, 2025MVP
That's a good way too - Marcus_Booth​ can decide which version he likes best.