Spreadsheets and Loops
This workflow demonstrates how to implement a loop. The goal is to access data in a spreadsheet, group the data, and append each data group as a separate sheet to an existing spreadsheet.
In this example, we access the athlete event results of the 1896 Summer Olympic Games. We implement a group loop that groups the dataset based on the column "sport" and processes one sport type in each iteration. Inside the loop body, we aggregate the data to derive the total sum of medals by athlete and then write the aggregated data to a new sheet in the existing Excel file. After executing the full loop, we have one sheet for each sport type containing the medal counts of the athletes.
For a detailed overview of each node in this workflow, refer to the workflow description in the Info panel.
💡 To view each node's configuration, select the node and see the configuration pane on the right side of the workflow editor.