Business Analytics Dashboard · Project

Business Analytics Dashboard · Phase 2 · Lesson 1 of 3

Importing and Structuring the Sales Data

Combine the branches' monthly sheets into one long table with one sale per row and consistent columns, ready for formulas and pivot tables.

What you need

A computer with a spreadsheet: Google Sheets (free, online) or LibreOffice Calc (free, offline). Microsoft Excel works the same way if you already have it.

In this lesson you will

  • Combine several sheets into one structured table
  • Apply table rules: one header row, one record per row

Key concepts

long tableone record per rowappendCSVconsistent columns

The lesson

Branches often send data in different layouts: one has a column per day, another a list. Analysis needs one long table: date, branch, product, category, quantity, unit price, amount, one sale (or one daily product total) per row.

Import CSV files with File, Import, choosing the right separator and date format. Paste each branch's data under the previous one and add a Branch column if it is missing.

Remove totals, subtotals and notes typed inside the data; they are calculated later. A table with stray totals inside it double-counts sales.

Step by step

  1. Import or paste each branch's data into the Clean sheet.
  2. Rearrange columns into the agreed order and add missing Branch values.
  3. Remove any total or note rows inside the data.
  4. Check the row count against each branch's source.

Practice activity

Build one combined sales table for four months from the three branches and record row counts per source.

Expected result: A single long table with consistent columns and row counts that match the sources.

Common mistakes

  • Keeping a separate column for each day, which pivot tables cannot summarise easily
  • Losing rows when pasting, without checking counts

Check your understanding

  1. Why remove subtotal rows from the data?

    Show answer

    They would be added again in totals, double-counting sales.

  2. What is a 'long' table?

    Show answer

    A table with one record per row and one column per field.

Further learning

Projects are instructor-guided: an instructor sets milestones, checks your work and gives feedback, online or in person. Self-study of the public lessons does not lead to a certificate. Enrolment and fees follow the Academy's existing policies — contact the Academy.