Microsoft Excel · Arazzo Workflow
Microsoft Excel Sort, Filter, and Total a Table for Reporting
Version 1.0.0
Resolve a table's columns, sort it, filter a column, and switch on the totals row.
View Spec
View on GitHub
AutomationData AnalysisMicrosoftMicrosoft 365OfficeSpreadsheetsArazzoWorkflows
Provider
Workflows
prepare-table-report
Order, narrow, and total an Excel table in one pass.
Sorts a table on a chosen column, applies a filter criterion to a column, and turns on the totals row so the table is ready to present.
1
openSession
createWorkbookSession
Open a persisting session so the sort, filter, and totals row are all committed.
2
resolveTable
listTables
Resolve the table on the worksheet that is being prepared for reporting.
3
resolveColumns
listTableColumns
Read the table's columns so the sort key index and the filter column id are chosen against the table's real schema rather than assumed.
4
applySort
sortTable
Sort the table rows on the chosen column. The sort is applied to the table in place and persists with the workbook.
5
applyFilter
applyTableFilter
Narrow the table to the rows matching the criterion. filterOn Values with a single criterion keeps only rows whose column equals that value.
6
showTotalsRow
updateTable
Patch the table to display its header and totals rows so the prepared view carries its own summary line.
7
readPreparedRows
listTableRows
Read the rows back so the caller receives the table in its sorted, filtered, totalled state.