Sales analytics
How to Analyze Sales Data in Excel: A Practical Workflow
A useful sales analysis does more than total revenue. It establishes whether the data is trustworthy, compares performance in the right context, explains what changed, and ends with a decision someone can act on.
Updated September 13, 2026 · 9 minute read · By Datumry
Key takeaways
- Start with one row per business event
- Separate totals from rates and unit economics
- Compare like-for-like time periods
- Trace every conclusion back to its source rows
1. Define the question before opening Excel
Begin with a decision, not a chart. “How did sales perform?” is too broad. A better question is “Which products and regions explain the revenue decline this quarter, and is the change driven by order volume, average order value, or both?”
Write down the metric, comparison period, relevant segments, and action that could follow. This prevents an attractive workbook from becoming a collection of unrelated pivots.
- Decision: what could change after this analysis?
- Primary metric: revenue, orders, units, margin, or another outcome
- Comparison: prior period, target, forecast, or peer group
- Segments: product, channel, region, salesperson, or customer type
2. Structure the source data as a table
Use one row per transaction or line item and one column per field. Avoid merged cells, subtotals inside the data range, decorative headers, and multiple concepts packed into one cell. Convert the range to an Excel Table so formulas and pivots expand consistently.
Typical columns include order date, order ID, customer ID, product, category, quantity, unit price, discount, revenue, cost, channel, and region. Keep stable identifiers even when they are not shown in the final dashboard; they make duplicates and joins easier to diagnose.
3. Clean and validate before calculating
Check that dates are real dates, numeric fields are numeric, categories use consistent labels, and missing values have an explicit meaning. Remove only confirmed duplicates. Two identical-looking rows may be legitimate line items, so use a transaction identifier and business rules instead of visual similarity alone.
Reconcile the cleaned totals to a trusted source such as the commerce platform or accounting report. Record material exclusions, currency assumptions, refunds, tax treatment, and the latest complete date.
- Count missing IDs and dates
- Check minimum and maximum dates
- Compare row counts before and after cleaning
- Reconcile revenue and order totals
- Flag partial periods and late-arriving records
4. Calculate the metrics that explain performance
Revenue alone rarely explains the business mechanism. Pair totals with drivers and rates. Common formulas include average order value = revenue / orders, units per order = units / orders, gross margin = revenue − cost, and gross margin rate = gross margin / revenue.
Use SUMIFS and COUNTIFS for controlled summaries, XLOOKUP for governed reference fields, and PivotTables for flexible exploration. Protect against divide-by-zero errors and keep the numerator and denominator visible so a rate can be audited.
5. Compare trends and segments responsibly
Compare equal-length periods and account for seasonality, incomplete weeks, promotions, and changing product mix. A month-to-date comparison should use the same number of elapsed days in the prior period. A year-over-year comparison is often more useful for seasonal businesses.
Break the primary metric down by one meaningful dimension at a time. Rank segments by their contribution to the absolute change, not only their percentage growth. A tiny product can grow 300% without materially changing the business.
6. Turn the workbook into a decision
Summarize the finding in plain language: what changed, by how much, where it happened, the likely explanation, and what remains uncertain. Then name a next step, owner, and review date. Keep the source table and calculation logic available behind the summary.
If the workbook will recur, define how new data arrives, which checks must pass, and when the analysis should refresh. When copy-and-paste work becomes fragile, move the repeatable workflow into an analytics system while retaining the same definitions and controls.
Frequently asked questions
What should be done first before analyzing sales data in Excel?
Start by defining the decision the analysis needs to support. Then confirm what each row represents, the reporting period, the primary metric, and any exclusions before cleaning data or building charts.
What Excel features are most useful for sales analysis?
Excel Tables, PivotTables, SUMIFS, COUNTIFS, XLOOKUP, conditional formatting, charts, and Power Query cover most recurring sales-analysis needs.
Which sales metrics should I start with?
Start with revenue, order count, units, average order value, and gross margin when cost is available. Add retention or conversion metrics only when their denominators are reliable.