You can track sales in Excel by building a simple sales log with columns for date, customer, item, quantity, unit price, and total, then using formulas and a pivot table to summarise. No add-ins are required, and the same layout works in Excel for Microsoft 365, Excel 2021, and Excel for Mac, though menu labels can differ slightly by version and region.
What You'll Need
- Excel (desktop or web) or a compatible spreadsheet app.
- A list of your products or services with their prices.
- Your sales records (receipts, invoices, or order notes) for the period you want to track.
- A consistent naming convention for customers and products so totals don't split across variations.
Step-by-Step
- Create a new workbook and name the sheet. Open Excel, create a blank workbook, and rename the first sheet to something like SalesLog. Right-click the sheet tab and choose Rename.
- Set up the header row. In row 1, type these headers across columns A to G: Date, Invoice #, Customer, Item, Quantity, Unit Price, Total. Keep one header per column and no merged cells.
- Format the columns. Select column A and set the number format to Date (Home > Number Format). Select columns F and G and set them to Currency or Accounting. This keeps dates and money consistent.
- Enter your first sale. Type the date, invoice number, customer name, item name, quantity, and unit price. Leave the Total column blank for now.
- Add the Total formula. In cell G2, type
=E2*F2and press Enter. This multiplies quantity by unit price. Drag the fill handle (the small square at the bottom-right of the cell) down to apply the formula to more rows as you add sales. - Turn the range into a table. Select your header row and data, then go to Insert > Table and confirm the range. A table automatically expands formulas when you add new rows, which saves time.
- Add a summary section. Below or beside your table, create labels such as Total Sales, Number of Orders, and Average Order Value. Use
=SUM(SalesLog[Total])for total sales,=COUNTA(SalesLog[Invoice '#])for order count, and=AVERAGE(SalesLog[Total])for average order value. If you are not using a table, use=SUM(G:G)instead, but avoid including the header row. - Build a pivot table for analysis. Click anywhere in your table, then go to Insert > PivotTable and place it on a new worksheet. Drag Date to Rows, Customer to Rows or Filters, and Total to Values. This gives you sales by day, month, or customer without writing formulas.
- Group dates by month. In the pivot table, right-click any date and choose Group, then select Months (and Years if you have more than one year of data). This turns daily entries into monthly totals.
- Save and back up. Save the workbook with a clear name such as Sales_Tracking_2025.xlsx. Keep a copy in OneDrive or another backup location so a lost laptop does not lose your sales history.
- Update regularly. Add new sales as they happen rather than at month-end. If you use a table, the formulas and pivot table will pick up new rows when you refresh the pivot table (right-click the pivot table and choose Refresh).
Common Mistakes
- Typing totals instead of using formulas. Manual totals break when quantities or prices change. Always use
=Quantity*UnitPrice. - Mixing text and numbers. A price entered as text (for example with a currency symbol typed manually) will not sum. Format the column as Currency instead.
- Inconsistent customer or item names. "Acme Ltd" and "Acme Limited" become two customers in a pivot table. Pick one spelling and stick to it.
- Leaving blank rows inside the data. Blank rows break tables and pivot ranges. Keep your data contiguous.
- Forgetting to refresh the pivot table. A pivot table does not update automatically when you add rows; right-click and choose Refresh.
- Storing dates as text. Dates typed as free text cannot be grouped by month. Use a real date format.
Tips
- Use Data > Data Validation on the Item column to create a drop-down list of your products, which prevents typos.
- Add a Payment Status column (Paid, Unpaid, Partial) so you can filter outstanding invoices.
- Freeze the header row with View > Freeze Panes so headers stay visible as you scroll.
- Keep one workbook per year, or one sheet per month, to stop the file becoming slow and unwieldy.
- Use conditional formatting to highlight large orders or overdue payments.
- If you sell through multiple channels, add a Channel column so you can compare online versus in-person sales.
Troubleshooting
- Formulas show as text. The cell may be formatted as Text. Select the column, set the format to General or Number, then re-enter the formula.
- SUM returns zero. Check that the values are numbers, not text. A quick test is to select the column and look at the status bar at the bottom of the Excel window; it shows a sum only for numeric cells.
- The table does not expand. Make sure you are typing directly in the row immediately below the table. If you pasted data elsewhere, drag the table's bottom-right corner to include it, or convert the range back to a table.
- Pivot table shows old data. Right-click inside the pivot table and choose Refresh. If that does not work, check that the source range still covers all rows.
- Dates will not group. Confirm the date column is formatted as Date and contains no blank cells or text entries. Remove any blank rows inside the data range.
- File is slow or crashing. Large numbers of formulas and pivot tables can slow older machines. Move older data to a separate archive workbook and keep the active file smaller.
Frequently Asked Questions
Can I track sales in Excel for free?
Yes. Excel for the web is available with a free Microsoft account, and the same layout works in free alternatives such as LibreOffice Calc or Google Sheets, though menu names differ.
Do I need a template?
No. The column layout in this guide is enough for most small businesses. Excel's built-in template gallery also has sales invoice and sales tracker templates if you prefer a starting point.
How do I calculate profit, not just sales?
Add a Cost column and a Profit column. Set Profit to =Total-Cost, then sum the Profit column. Keep cost per unit rather than total cost to avoid confusion.
Can multiple people edit the same sales file?
Yes, if the workbook is stored in OneDrive or SharePoint and shared from within Excel. Simultaneous editing works in Excel for the web and recent desktop versions; older versions may open the file read-only.
How often should I back up the file?
At least weekly, and always before making structural changes such as adding columns or rebuilding a pivot table. Keep a copy outside the main device.
What is the difference between a table and a plain range?
A table (Insert > Table) expands automatically and lets you use structured references like SalesLog[Total]. A plain range needs manual formula dragging and range updates.