Blog · How-to guides · Finance and FP&A teams
Build a frequency distribution from an order export using explicit bin limits and Excel formulas. Check the counts, add relative and cumulative frequencies, and compare periods without changing the boundaries.
An Excel frequency distribution counts the observations in each interval so you can see where order values or delivery times cluster. Use explicit upper limits, retain the overflow count, and prove that the bins contain every numeric observation exactly once.
Take an order export with an order ID, order date, currency and net order value. Select the period and business unit before calculating the distribution. For order values, combine order lines into orders first; otherwise the result describes lines, with large multiline orders counted repeatedly.
The example is a US distributor's September order extract. Values exclude sales tax and canceled orders. Every amount is USD, and the export has already been reduced to these completed orders. The header is in row 1, with IDs in A2:A13 and values in B2:B13.
| Order ID | Net order value (USD) |
|---|---|
| O-01 | 180 |
| O-02 | 250 |
| O-03 | 500 |
| O-04 | 501 |
| O-05 | 750 |
| O-06 | 1,000 |
| O-07 | 1,001 |
| O-08 | 1,250 |
| O-09 | 1,500 |
| O-10 | 1,600 |
| O-11 | 2,000 |
| O-12 | 2,400 |
| Total: 12 orders | 12,932 |
Keep the total outside the calculation range. Check that the order IDs are unique and the amounts are numeric. If an export contains text amounts or unexplained blanks, use the spreadsheet cleaning checklist before assigning bins.
Use upper limits of 500, 1,000, 1,500 and 2,000 in D2:D5. These create equal-width intervals across the nonnegative values, plus an open overflow interval. The first bin includes everything at or below $500; the last includes everything above $2,000.
The boundaries must be unambiguous. An order of $500 belongs in the first bin. An order of $501 belongs in the second. For real amounts with cents, the second bin means greater than $500 and at most $1,000, rather than a label that appears to exclude amounts between whole dollars.
Choose intervals that support the decision: purchasing thresholds, service categories or a consistent operational range. A frequency distribution shows shape; the mean and spread belong with the existing descriptive statistics in Excel guide.
Leave E2:E6 empty and enter this formula in E2:
=FREQUENCY(B2:B13,D2:D5)
In current Microsoft 365, press Enter and the results spill into the cells below. For legacy array entry, select E2:E6 first and confirm with Ctrl+Shift+Enter. Microsoft's FREQUENCY reference explains both entry methods, the extra overflow result, and the exclusion of text and blank cells.
| Output row | Order value interval (USD) | Upper limit in D | Count in E | Relative frequency | Cumulative frequency |
|---|---|---|---|---|---|
| 2 | At most 500 | 500 | 3 | 25.0% | 25.0% |
| 3 | Greater than 500, at most 1,000 | 1,000 | 3 | 25.0% | 50.0% |
| 4 | Greater than 1,000, at most 1,500 | 1,500 | 3 | 25.0% | 75.0% |
| 5 | Greater than 1,500, at most 2,000 | 2,000 | 2 | 16.7% | 91.7% |
| 6 | Greater than 2,000 | Leave blank | 1 | 8.3% | 100.0% |
| Total | 12 | 100.0% |
The first count comes from 180, 250 and 500. The next comes from 501, 750 and 1,000. Each amount appears in one interval only.
For relative frequency, enter this in F2 and fill through F6:
=E2/COUNT($B$2:$B$13)
For cumulative frequency, enter this in G2 and fill through G6:
=SUM($E$2:E2)/COUNT($B$2:$B$13)
Format both columns as percentages with one decimal place. Retain full precision in the formulas. The cumulative result says that 9 / 12 = 75.0% of orders are at most $1,500; it does not say those orders generate that share of revenue.
Use COUNTIFS to verify an interior interval. For the second bin:
=COUNTIFS($B$2:$B$13,">"&D2,$B$2:$B$13,"<="&D3)
The result must be 3. For the first and overflow bins, respectively:
=COUNTIF($B$2:$B$13,"<="&D2)
=COUNTIF($B$2:$B$13,">"&D5)
These return 3 and 1. Microsoft's conditional counting guidance supports using COUNTIFS for values between limits and COUNTIF for a single boundary.
The main reconciliation is:
=SUM(E2:E6)-COUNT(B2:B13)
It must return zero: 3 + 3 + 3 + 2 + 1 = 12. Also compare the numeric count with the 12 source orders. A count reconciliation alone cannot detect text amounts that both COUNT and FREQUENCY ignore. Separately tie =SUM(B2:B13) to the export's $12,932 control total.
For the built-in chart, select B1:B13 and choose Insert > Insert Statistic Chart > Histogram. Open Format Axis > Axis Options and set the bin width and overflow deliberately; Microsoft's histogram instructions document these controls. Check every chart interval against the table rather than assuming automatic bins match your chosen limits.
Use the same boundaries in a comparison period. If its order volume differs, compare percentage columns and retain counts for context. The Excel chart selection guide covers presenting the comparison clearly.
Covirage is not affiliated with Microsoft.
Bring your order export and the interval definitions you want to compare. Covirage maps the columns; its tools compute and check the figures, and the external AI model explains the results with every figure traced to its rows. Create a free Covirage account and bring a sample of your own data.
See Excel analysis with Covirage for the workbook context.
Yes. An observation equal to a bin's upper limit belongs in that bin. The next bin starts above the previous limit. Write ranges as greater than the lower limit and less than or equal to the upper limit, especially when amounts include cents.
The extra result counts observations above your highest bin limit. Keep it visible, even when it is zero. Removing that result can hide large orders or long delivery times and make the displayed counts smaller than the population being analyzed.
Frequency is an observation count. Relative frequency divides that count by the total valid observations and can be displayed as a percentage. Use relative frequencies when comparing periods with different order volumes, while keeping the underlying counts beside them.