Hornada Español

Pivot table of sales for a bakery

A pivot table adds up your sales by the criterion you choose without writing formulas. Put the product in rows, the weekday in columns and the sum of the amount in values: you see at a glance what each day sells.

Updated: 2026-11-27

The steps

  • 1. Have a table with one row per sales line or per product per day, with headers and no empty rows or totals in the middle.
  • 2. Add the column “Weekday” (=TEXT(A2,"dddd")), the column “Month” (=MONTH(A2)) and, if the report carries the hour of the account, the column “Hour” (=HOUR(B2)). In a Spanish Excel the functions are TEXTO, MES and HORA.
  • 3. Select a cell of the table and go to Insert > PivotTable.
  • 4. Drag Product to Rows, Weekday to Columns and Amount to Values (Sum).
  • 5. Drag Category or Month to Filters to see only sweet bread or only one month.
  • 6. To see by hour, replace Product with Hour in Rows.
  • 7. When you add new data, use Data > Refresh All: the pivot table does not update by itself.

An example (invented numbers)

Sum of 4 weeks ($)FridaySaturdaySundayTotal
Vanilla concha12,40015,80012,60040,800
Bolillo4,1004,8003,70012,600
Cuernito5,2005,6004,60015,400
Total21,70026,20020,90068,800

These are invented numbers. Each day appears 4 times, so the columns can be compared. Each Saturday sold on average 6,550 pesos (26,200 over 4), and the concha makes up 60% of Saturday (15,800 of 26,200).

What to watch

  • A sum is only compared with another if it covers the same number of days. If one day appears 5 times and another 4, divide each total by its days.
  • If the date ended up as text, the table does not recognise it as a date: convert it first.
  • Confirm whether the hour of the report is the opening or the closing of the account; a long account is recorded at a single hour.
  • A day with a cut-off report or incomplete data distorts its column; set it aside or explain what happened.
  • The grand total of the pivot table must equal the sum of the amount of your original table. If it does not, lines were lost, for example through empty rows or a forgotten filter.

How Hornada does it

In Hornada's dashboard the sales map by day and hour and the products that weigh most come ready, without building the table. To see the hours, the report must carry the account number and the hour.

Frequently asked questions

Why does my pivot table not add up the amount?

Almost always because the numbers ended up as text, for example with the peso sign typed by hand. Convert them to numbers.

Sum or average?

The sum shows how much sold in total; to compare days, divide by the number of times each one appears.

Does the same method work to see months?

Yes: put Month in rows or in filters and leave the amount in values.

Try the free diagnosisUpload your sales report and see the result right away. No sign-up; the file is not stored.

Get my 30 days free (WhatsApp)

← Hornada