ライブスプレッドシートで使える BigCommerce orders
Orders テーブルを orders という名前のデータソースとしてシートに追加すると、その35個の列が、関数、ピボットテーブル、グラフで使える名前になります。Sheets は、シートを開くたび、または更新するたびに BigCommerce ストア から読み取ります。
このテーブルで使える関数
=data.orders.sum(total) Totalの合計. Ordersのすべての行について、Total列を合計します。
=data.orders.sum(total, status, A2) Statusごとのtotal. A2 にstatusを入力すると、その1件の合計になります。一覧の隣で下にコピーしてください。
=list.orders(status) すべてのstatus(重複なし). statusの重複しない値を列方向に展開します。上の関数の行ラベルになります。
=data.orders.sum(total, date, ">=2026-01-01") ある日付以降. Dateが2026年1月1日以降の行のみ対象です。">="、"<"、"<>" などの条件は、一般的なスプレッドシートと同じように使えます。
=data.orders.count(date, status, "<>") Statusがある行. Statusが空でない行を数えます。
=data.orders.avg(total_excl_tax) Total excl. taxの平均. avg、min、max、count、countd(重複なし)、first も sum と同じ方法で使えます。
このテーブルを使うレポート
=data.orders.sum(net_total, counts_as_sale, TRUE) 純売上. 売上として数える注文(支払い済み、フルフィルメント中、発送済み、完了、返金済み)の返金後の合計。
=data.orders.sum(net_total, month, A2, counts_as_sale, TRUE) 月別の純売上. =list.orders(month) で A 列に月を並べ、その横に純売上を表示します。
=data.orders.avg(total, counts_as_sale, TRUE) 平均注文額. 売上として数える注文の平均合計額。
=data.orders.sum(net_total, country, A2, counts_as_sale, TRUE) 国別の売上. A 列の請求先の国ごとの純売上。
=data.orders.count(id, status, A2) ステータス別の注文数. 支払い待ち、フルフィルメント待ち、発送済み、完了などの注文数。A2 にステータスを入れます。
=data.orders.sum(net_total, channel_id, A2, counts_as_sale, TRUE) ストアフロント別の売上. 複数のストアフロントで販売するストアの、チャネルごとの純売上。A2 にチャネル ID を入れます。
列
| 列 | 関数での名前 | 型 |
|---|---|---|
| Date | date | 日付 |
| Month | month | テキスト |
| Order number | order_number | テキスト |
| Status | status | テキスト |
| Counts as sale | counts_as_sale | はい / いいえ |
| Total | total | 数値 |
| Total excl. tax | total_excl_tax | 数値 |
| Items subtotal | items_subtotal | 数値 |
| Discount | discount | 数値 |
| Shipping | shipping | 数値 |
| Tax | tax | 数値 |
| Refunded | refunded | 数値 |
| Net total | net_total | 数値 |
| Items | items | 整数 |
| Items shipped | items_shipped | 整数 |
| Currency | currency | テキスト |
| Customer | customer | テキスト |
e_mail | テキスト | |
| Company | company | テキスト |
| Country | country | テキスト |
| Country code | country_code | テキスト |
| State | state | テキスト |
| City | city | テキスト |
| Postcode | postcode | テキスト |
| Guest | guest | はい / いいえ |
| Customer ID | customer_id | テキスト |
| Customer: Group | customer_group | テキスト |
| Customer: Registered | customer_registered | 日付 |
| Payment method | payment_method | テキスト |
| Payment status | payment_status | テキスト |
| Order source | order_source | テキスト |
| Channel ID | channel_id | テキスト |
| Channel | channel | テキスト |
| Shipped on | shipped_on | 日付 |
| ID | id | テキスト |
salesのほかのテーブル
ordersを、リアルタイムで
注文、返金、商品、顧客、クーポンが BigCommerce のコントロールパネル内でライブのテーブルになります。CSV を書き出さなくても、売上レポートとダッシュボードは常に最新です。