عربي
News
●E-invoicing: the last date to connect for wave 25 is February 1, 2027●WhatsApp Business: service messages are paid after 1,000 free per month●Salla acquires Paylink to strengthen payment solutions for merchants●Google launches a Gemini agent for businesses first, then consumers●Hostinger's White Friday deals continue until December 14

Calculate net order value after refunds in Google Sheets

Use a transaction ledger and SUMIFS to check a partial refund before totaling the month.

The problem

An order for SAR 240 is partially refunded by SAR 60. Changing the original row to 180 loses the sale and refund history. Deleting it makes the monthly sales look lower than they were. Keep each transaction on a separate row so you can trace the total to the underlying movements.

The tool

SUMIFS in Google Sheets adds numeric values that meet several conditions. This example matches the order ID and transaction month. Sales are positive and refunds are negative. The ledger uses one currency.

The steps

  1. Create a sheet with columns A through D for order ID, transaction month, transaction type and amount. Enter a month such as 2026-11 as plain text so the sheet preserves the key.
  2. Record a sale for A104 in 2026-11 for 240 and a separate refund for the same order and month for −60. Type the minus using your ordinary keyboard so the cell is numeric.
  3. Enter the order ID in F2 and month in G2. In H2, use =SUMIFS(D2:D,A2:A,F2,B2:B,G2). The result is 180. In some spreadsheet locales you need semicolons between arguments.
  4. Record a second refund for −20 in 2026-12. The November total stays at 180. Change G2 to December and it returns −20. The report places each refund in the month it was issued.
  5. To sum the month across all orders, use =SUMIFS(D2:D,B2:B,G2) in a separate cell. Add a second order in the same month to verify the aggregation.
  6. Keep the payment processor's transaction identifier in another column. Scan for duplicates before combining exports. SUMIFS counts every matching row.

The real cost

The example requires no paid add-on. Allow time to normalize exports and check which refunds arrive as signed values.

The free alternative

For a one-off report, filter by month and summarize in a pivot table. The formula makes it easier to repeat the check across individual orders.

Notes

  • We have not tried these steps ourselves yet. They are based on the official docs. Button names may change. If your interface differs, follow the docs.
  • Keep currencies separate or convert them according to an agreed policy before you sum them.
  • Track processing fees separately if you also reconcile cash deposits. Fees can explain the gap between sales and a bank transfer.

Sources

  1. support.google.com

Did you like this guide?

The weekly newsletter is being prepared. Leave your email and we'll send it when it launches.

We use your email only to send the newsletter. Privacy policy