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 did copy and paste the text from the cell and from the formula bar, but I'm not sure how to paste it correctly. I tried pasting special : formula and just regular ctrl+V. Strange results each time. Everything is the same for both sheets except that I changed the names to Rep001, Rep002 etc. and the file names are not the same as the master spreadsheet.
I will attempt to use what you've offered and will let you know. Thank you!
Apparently, I don't know how to use the forum correctly. Having trouble finding where they are located. Anyway, the formula you guys made works perfect for what I need, except that I can't get it to work on the Master spreadsheet. Could it be that we are using different versions of Excel or something?
I'm going to be able to get by with excluding the columns that contain the Yes/No and N/A values. So that should eliminate any problems with fitting the data onto one sheet for printing. Yay!!
Now I just need help to figure out why it works in the attached dummy spreadsheet, but not in the master. Attaching the file again, just in case it couldn't be found where I put it yesterday. Thanks again everyone for all the help!!
- Marcus_BoothJun 25, 2025Iron Contributor
Here is the most recently update spreadsheet without names.