Icon

Combine Clean and Summarize Spreadsheet Data

In this workflow, you'll read, combine, clean, and summarize data from multiple Excel sheets. You'll calculate the total volume of furniture when moving from one apartment to another.

Combine Clean and Summarize Spreadsheet Data

This workflow shows how to concatenate data from multiple Excel sheets and enrich the data with the value lookup function. At the end, it visualizes and aggregates the combined and cleaned data.

You can find more workflows and resources for spreadsheet users on the related collection page on the KNIME Community Hub.

Read three sheets from the same Excel file containing the following information:

  • Furniture in the living room

  • Furniture in the kitchen

  • The estimated volumes of the furniture

Clean up the data by

  • removing unnecessary columns

  • shifting data that was entered into a wrong column

  • changing the data type of a column

Combine data by

  • concatenating rows in similar tables

  • appending values from a dictionary

Calculate the following results:

  • The volume by furniture type

  • The total volume of all furniture

Task

The use case is calculating the total volume of the furniture when moving to a new apartment.

Replace missing values in the "Dict-Volume" column with the valuesavailable in the "empty_C" column
Column Merger
Read the first sheet ("Kitchen")of the rooms.xlsx file
Excel Reader
Read the "Living Room" sheetof the rooms.xlsx file
Excel Reader
Bring the items in the "Kitchen" and "Living Room"in one table
Concatenate
Append the volumesof the listed itemsbased on their IDs
Value Lookup
1st output port: Sum up volumes of the listed items.2nd output port: Calculate the grand total volumeof all items.
Row Aggregator
Change "Dict-Volume"columnfrom string to number
String to Number
Read the "Dictionary" sheetof the rooms.xlsx file
Excel Reader
A Bar Chart with the amounts of single itemsin the freight
Bar Chart
Exclude the commentsfrom the "Living Room" sheet
Column Filter

Nodes

Extensions

Links