Excel

Make a small sales dashboard

Use six rows of sales data to work out revenue and build a chart you can check.

You can open a spreadsheet4 steps
0/4 doneSaved in this browser
Start here

Before you start

Desktop Excel. Some features depend on your version.

The lessons are free. Excel may need a licence.

Download the sales data
  1. 01

    Open the data and make a table

    The file has made-up sales. You can change it without risking a real report.

    TablesLuke Barousse

    Try it

    Open the CSV. Select the data, make it a table and confirm that the first row contains headers.

    You should see six sales rows and four columns. Quantity and unit_price should be numbers.

    If everything lands in one column

    Use Data > From Text/CSV and choose a comma as the delimiter. Check the preview before loading. Dates in this file use year-month-day.

    Watch lesson
  2. 02

    Calculate revenue for each row

    A unit price is not the total earned by that sale.

    FormulasLuke Barousse

    Try it

    Add a revenue column. Multiply quantity by unit_price for every row.

    The first row should be 10. The six values should be 10, 6, 5, 8, 15 and 4.

    See the formula
    =[@quantity]*[@unit_price]

    This is an Excel table formula. In a plain range, use =C2*D2 and fill it down. SUM adds the revenue column to 48.

    Watch lesson
  3. 03

    Compare the two items

    Count revenue, not the number of rows.

    Pivot tablesLuke Barousse

    Try it

    Create a pivot table. Put item in Rows and revenue in Values. Check that Values uses Sum.

    Notebook should show 30 and Pen should show 18. A result of 3 and 3 means you counted rows.

    Check it with a formula
    =SUMIF(B2:B7,"Notebook",E2:E7)

    With the supplied data and revenue in column E, this gives 30. If your Excel uses semicolons between arguments, replace the commas in the formula.

    Watch lesson
  4. 04

    Make one chart that answers the question

    A bar chart is enough for two items.

    Build the dashboardLuke Barousse

    Try it

    Chart revenue by item. Add the total revenue and a short title. Save the workbook as .xlsx so it keeps the formulas and chart.

    Someone should be able to see that notebooks earned more, and that total revenue is 48.

    What to leave out for now

    You do not need a map, a slicer or several charts for six rows. Add a daily chart only if you want to compare the three days. Save a copy before changing your raw data.

    Watch lesson

Check your result

Your dashboard should answer which item earned the most.

  • The six rows add up to 48 in revenue.
  • Notebooks earn 30. Pens earn 18.
  • The daily totals are 16, 13 and 19.
  • Adding a row updates your table. Refresh the pivot table if you use one.

What to do next

Use it when you start receiving the same file every week and need to repeat the cleanup.

Try Power Query

Practice by Abdulrhman Sayed. Video lessons belong to the credited creators.