Dashboard Mode - TRIM and CLEAN
Dashboard Goal
Clean up messy text data by removing extra spaces and non-printable characters to prepare for accurate analysis.
Clean up messy text data by removing extra spaces and non-printable characters to prepare for accurate analysis.
| Raw Text | Expected Clean Text |
|---|---|
| " Hello World " | "Hello World" |
| "GoodMorning" | "GoodMorning" |
| " ExcelSheet " | "ExcelSheet" |
| " Data Analysis " | "Data Analysis" |
| "LineBreak" | "LineBreak" |
| " Clean Text " | "Clean Text" |
| " TRIM and CLEAN " | "TRIM and CLEAN" |
=TRIM(CLEAN(A2)) to remove extra spaces and non-printable characters from the raw text in cell A2.=LEN(B2) to count the number of characters in the cleaned text in cell B2, showing the effect of cleaning.=SUBTOTAL(103, A2:A8) to count how many visible rows of data were cleaned.=SUBTOTAL(101, C2:C8) to find the average length of visible cleaned text strings.+----------------------+----------------------+----------------------+ | Original Text | Cleaned Text | Characters Count | | (Raw Data) | (TRIM+CLEAN Result) | (Length of Cleaned) | | A2:A8 | B2:B8 | C2:C8 | +----------------------+----------------------+----------------------+ | Summary Cards: | | +----------------+ +-----------------------------+ | | | Total Rows | | Average Length of Cleaned | | | | Cleaned | | Text | | | | =SUBTOTAL(103, | | =SUBTOTAL(101, C2:C8) | | | | A2:A8) | | | | | +----------------+ +-----------------------------+ | +---------------------------------------------------------------+
Add a filter or slicer on the Original Text column to select specific rows. When you filter rows, the Cleaned Text and Characters Count columns update automatically to show only the filtered data. The summary cards also update to reflect the count and average length of the filtered rows.
If you add a filter to show only rows where the Original Text contains the word "Excel", which components update?