ライブスプレッドシートで使える Shopify customers
Customers テーブルを customers という名前のデータソースとしてシートに追加すると、その14個の列が、関数、ピボットテーブル、グラフで使える名前になります。Sheets は、シートを開くたび、または更新するたびに ストアのデータ から読み取ります。
このテーブルで使える関数
=data.customers.sum(orders) Ordersの合計. Customersのすべての行について、Orders列を合計します。
=data.customers.sum(orders, country, A2) Countryごとのorders. A2 にcountryを入力すると、その1件の合計になります。一覧の隣で下にコピーしてください。
=list.customers(country) すべてのcountry(重複なし). countryの重複しない値を列方向に展開します。上の関数の行ラベルになります。
=data.customers.count(id, country, "<>") Countryがある行. Countryが空でない行を数えます。
=data.customers.avg(amount_spent) Amount spentの平均. avg、min、max、count、countd(重複なし)、first も sum と同じ方法で使えます。
このテーブルを使うレポート
=data.customers.count(id, orders, ">1") リピート顧客. 2回以上注文した顧客。
列
| 列 | 関数での名前 | 型 |
|---|---|---|
| ID | id | テキスト |
| Name | name | テキスト |
e_mail | テキスト | |
| Phone | phone | テキスト |
| City | city | テキスト |
| Region | region | テキスト |
| Country | country | テキスト |
| Orders | orders | 整数 |
| Amount spent | amount_spent | 数値 |
| Currency | currency | テキスト |
| Account status | account_status | テキスト |
| Tags | tags | テキスト |
| Created at | created_at | 日時 |
| Updated at | updated_at | 日時 |
customersを、リアルタイムで
注文、商品、顧客、在庫がライブテーブルになります。売上レポート、在庫リスト、ダッシュボードは、CSV をエクスポートしなくても常に最新。Claude などの AI アシスタントも MCP を通じて作成をお手伝いします。