Analyze Shopify orders in a CSV
A Shopify order with two products can take two CSV rows. Keep both rows when totaling units by product. When adding order totals or shipping, use the financial row once per order.
Export the orders you need
In Shopify Admin, open Orders and export the orders for your reporting period. Keep Name (the order number), Currency, Total, Shipping, Lineitem quantity, and Lineitem SKU for this check. Remove customer details you don’t need before sharing the file. Shopify explains why extra items in the same order appear on separate lines with many fields left blank.
Shopify’s order export instructions
Choose the right level for the calculation
Synthetic USD example. This simplified extract uses one store and one financial row per order. Import it into Excel starting at A1. Keep the order numbers and SKUs as text, the amounts and quantities as numbers, and the continuation fields empty.
Name,Currency,Total,Shipping,Lineitem quantity,Lineitem SKU
#1001,USD,59,9,2,BOLT
#1001,,,,1,BRACKET
#1002,USD,36,0,1,SEAL
Put Row type in G1 and Order check in H1. Enter the next two formulas in G2 and H2, respectively, and fill through row 4. The check expects exactly one complete USD financial row per order. A repeated or incomplete financial row is flagged. Multiple line items remain available for the unit count.
=IF(AND(B2="USD",ISNUMBER(C2),ISNUMBER(D2)), "Order", IF(COUNTA(B2:D2)=0,"Line only","Review"))
=IFERROR(IF(OR(A2="",G2="Review",COUNTIFS($A$2:$A$4,A2,$G$2:$G$4,"Order")<>1,NOT(ISNUMBER(E2)),E2<0,F2=""),"Review",IF(G2="Order","Order","Line only")),"Review")
Enter the next three formulas in K2:K4 to calculate the total order value, shipping, and units. These fixed ranges fit the example. Expand them or use an Excel Table for a new export.
=IF(COUNTIF(H2:H4,"Review")>0,"Review",SUMIF(H2:H4,"Order",C2:C4))
=IF(COUNTIF(H2:H4,"Review")>0,"Review",SUMIF(H2:H4,"Order",D2:D4))
=IF(COUNTIF(H2:H4,"Review")>0,"Review",SUM(E2:E4))
Verify a multi-item order
The two orders total $95, including $9 in shipping. The three line items total four units. If you copy the $59 and $9 amounts from row 2 into row 3, a plain sum of the columns jumps to $154 and $18. The formulas flag the extra financial fields for review. The $0 in D4 is a confirmed shipping amount and stays in the data.
For a refund check, confirm which part actually applies to shipping. If $3 of the $9 shipping charge was refunded as shipping, net shipping is $6. The order’s total refunded amount can also cover products or tax, so check the refund detail before treating it as a shipping refund.
See the workbook study on combined shipping charges and posted refunds when you need to compare checkout and refund records.
In Jolene.pro, ask for the financial row and contributing line items for each order. Request the source cells for missing or repeated amounts before using the totals in a report. In this example, C2:D2 accounts for all the order-level amounts on #1001, while E2:E3 accounts for its three units. The formulas and synthetic figures were checked independently. A live Jolene.pro result was not verified.
Find more examples in Workbook Studies.
What else to check in your exports
- Match refunds to returns received and restocked
- Calculate profit by SKU after discounts and returns
- Reconcile gift-card redemptions and refunds
Try Jolene.pro for free with a Shopify Orders CSV.