Home / Sheets questions cookbook / Average order value by month
Google Sheets · Question cookbook

How to Calculate Average Order Value by Month in Google Sheets

Revenue divided by the number of orders, month by month. The trap is that AVERAGE() looks right and is not.

By · Published November 8, 2026

The short answer: average order value is revenue divided by distinct orders, =SUMIFS(...)/COUNTUNIQUEIFS(...). In the sample data, October 2026's AOV is $611.48. AVERAGE on the same rows says $326.03, because it averages product lines, not orders.

The sample data

ABCDEFGHIJK
1DateOrder IDCustomerRegionChannelProductCategoryQtyUnit priceRevenueCost
22025-01-01SO-10001Tin Roof CaféNortheastSales repSip Lids (case of 1,000)Supplies654324198
32025-01-01SO-10001Tin Roof CaféNortheastSales repEspresso Roast 5 lbCoffee1068680370
42025-01-01SO-10002Foxglove CaféNortheastOnline storeSip Lids (case of 1,000)Supplies1545433
52025-01-01SO-10002Foxglove CaféNortheastOnline storeCold Brew Concentrate 1 galCoffee842336152
62025-01-01SO-10003Ember CaféMidwestOnline storeSip Lids (case of 1,000)Supplies454216132
…8,115 more rows
Orders

Sample data: a tab named Orders with 8,120 order lines from January 2025 to October 2026, one row per order line. Revenue is Qty × Unit price; Cost is the line's cost of goods (Qty × unit cost). Download orders.csv and import it (File → Import) to follow along. The business is fictional.

The classic way: revenue over distinct orders

Headings in row 1: Month, Revenue, Orders, Avg order value. Months in column A from =DATE(2026,5,1) down with =EDATE(A2,1). Then in row 2, copied down:

=SUMIFS(Orders!$J:$J, Orders!$A:$A, ">="&$A2, Orders!$A:$A, "<"&EDATE($A2,1))
=COUNTUNIQUEIFS(Orders!$B:$B, Orders!$A:$A, ">="&$A2, Orders!$A:$A, "<"&EDATE($A2,1))
=IFERROR(B2/C2, "")

B is the month's revenue, C counts each order ID once, and D divides them. Format B and D as currency.

Example on sample data
fx=IFERROR(B2/C2, "")
ABCD
1MonthRevenueOrdersAvg order value
2May 2026$125,646197$637.80
3Jun 2026$136,411229$595.68
4Jul 2026$127,769212$602.68
5Aug 2026$141,015223$632.35
6Sep 2026$138,635220$630.16
7Oct 2026$142,475233$611.48
SummaryOrders

Computed from the sample CSV above. Cells formatted as currency and percent.

Why not AVERAGE? An order with three products is three rows. =AVERAGEIFS(Orders!J:J, Orders!A:A, ">="&DATE(2026,10,1), Orders!A:A, "<"&DATE(2026,11,1)) returns $326.03 on the sample data: the average line, well below the real $611.48. It is only right when every order is a single row.

Gotchas

The one-cell way: =QUIRIZ

With the Quiriz add-on for Google Sheets, you type the question instead of building the formula. =QUIRIZ does not read the cells around it: it answers from the datasets in your Quiriz account. For this example, upload orders.csv as a dataset, or connect your Shopify store. You can also add a Google Sheet itself as a dataset that refreshes on a schedule. Then, in any empty cell:

=QUIRIZ("average order value by month from May to October 2026, with revenue and order count", "table")

The "table" mode spills the answer down and to the right from that cell, header row first:

Example on sample data
fx=QUIRIZ("average order value by month from May to October 2026, with revenue and order count", "table")
ABCD
1MonthRevenueOrdersAvg order value
2May 2026$125,646197$637.80
3Jun 2026$136,411229$595.68
4Jul 2026$127,769212$602.68
5Aug 2026$141,015223$632.35
6Sep 2026$138,635220$630.16
7Oct 2026$142,475233$611.48
Sheet1

Same figures as the formula result above, from the same sample data. The spilled cells are plain numbers, so you can format them, total them or chart them; here they are formatted as currency and percent. Column headings are written with each answer and may be worded differently.

Want one number instead of a table? The "short" mode returns a single value you can format and point other formulas at:

=QUIRIZ("average order value in October 2026", "short")
Example on sample data
fx=QUIRIZ("average order value in October 2026", "short")
A
1611.48

The cell holds 611.48; formatted as currency it reads $611.48.

The other modes: "verbose" (the default) answers in a sentence, "bullets" writes two to four points one per cell, and "notes" adds how the figure was calculated. Install Quiriz for Google Sheets and try the question on your own data.

Ask the question, get the table

Quiriz answers business questions in a Google Sheets cell, from your imported files, scheduled Google Sheets and connected tools. Free to start.

Install for Google Sheets →

Free on the Google Workspace Marketplace. Or try it on sample data first, no signup.

Frequently asked questions

How do you calculate average order value?
Total revenue divided by the number of orders in the same period. In Google Sheets: =SUMIFS(revenue, date range criteria) / COUNTUNIQUEIFS(order ID, date range criteria).
Why is AVERAGE() wrong for average order value?
When an export has one row per product, AVERAGE averages product lines. An order with three lines counts three times, so the result is the average line value, not the average order.
Does AOV include shipping and tax?
It depends on your definition; there is no single standard. Pick one, write it down, and use the same revenue column every month so the trend means something.