---
title: "Export Your Top WooCommerce Customers by Total Spent"
url: "https://wpimportexport.com/export-top-woocommerce-customers-by-spend/"
description: "Export WooCommerce customers who spent more than an amount, with email, order count and total spent, to Excel, then sort them to find your best customers."
type: post
published: 2026-11-20T05:00:00+00:00
modified: 2026-11-14T10:46:02+00:00
categories: ["Export Guides", "Tutorials", "WooCommerce"]
tags: ["CSV Export", "Import Export by RockStarLab", "WooCommerce", "WordPress Excel export"]
docs_topics: ["Export guides", "WooCommerce"]
---

# Export Your Top WooCommerce Customers by Total Spent

Your best customers are worth a thank-you email, a loyalty discount or an early look at a new product. WooCommerce knows how much each customer has spent, but there is no screen that lists them by spend with their contact details. With [Import Export by RockStarLab](https://wordpress.org/plugins/import-export-by-rockstarlab/) PRO you can export WooCommerce customers with their total spent and number of orders, filtered to those above an amount, into Excel. The example is a coffee shop.

**PRO:** WooCommerce Customers export. **Free:** the export wizard for posts, pages, media and comments.

## Short Answer

- In **Export**, choose **WooCommerce Customers** and add the filter **Total Spent** **Greater Than** your amount.
- Pick the columns you need: name, email, city, **Order Count**, **Total Spent** and **Last Order ID**.
- Export to Excel and sort by Total Spent. The amounts are numbers, so sorting and sums work.

## 1. Filter by total spent

Go to **Export**, choose **WooCommerce Customers** and click **Next Step**. Add the filter **Total Spent**, **Greater Than**, `50`. Out of eight customer accounts in our test shop, 3 had spent more than 50:

![Export WooCommerce Customers with the filter Total Spent Greater Than 50: 3 items](https://wpimportexport.com/wp-content/uploads/2026/11/01-filter.webp)

_Customers who spent more than 50._

Total Spent is the figure WooCommerce keeps for each customer account. It counts paid orders: in our shop, a customer whose only order was on hold and one whose order was cancelled both had 0.00 and were left out by the filter.

## 2. Choose and rename the columns

On the field step we added First Name, Last Name, Email, Billing City, Order Count, Total Spent and Last Order ID, and renamed them with the pencil icon to short headers like “Orders” and “Total spent”:

![Export columns First name, Last name, Email, City, Orders, Total spent and Last order](https://wpimportexport.com/wp-content/uploads/2026/11/02-columns-8.webp)

_Pick the columns and give them short names._

## 3. Export to Excel and sort

Choose **XLSX** on the format step and export. In the file, Orders, Total spent and Last order were numbers, and Total spent was shown with two decimals. We sorted by Total spent, largest first, and added a SUM below:

![Excel file sorted by total spent: Anna Kovacs 236.00, Fatima Rahman 106.00, Ben Turner 54.00, sum 396.00](https://wpimportexport.com/wp-content/uploads/2026/11/03-top-customers-xlsx.webp)

_Sorted by total spent; the amounts are numbers._

Anna Kovacs from Budapest came first with 236.00 over 2 orders, then Fatima Rahman with 106.00 and Ben Turner with 54.00; together 396.00. The Last order column gives the order number to open in WooCommerce if you want to see what they bought.

## Before you export

An export doesn’t change anything in the shop. The file has names and email addresses, so keep it private, and only email customers who agreed to hear from you. For email campaigns, see [exporting newsletter subscribers](https://wpimportexport.com/export-wordpress-subscriber-emails-newsletter-csv/).

## With an AI agent

An AI agent connected through the WordPress MCP Adapter (see [connecting Claude Code to WordPress](https://wpimportexport.com/connect-claude-code-to-wordpress-mcp/)) can find your top customers:

```
Who are our customers with the highest total spent?
```

In our run, the agent called `rsl-ie-pro/export-preview` with the export type `woo_customer` and the fields email, first name, last name, order count, total spent, last order ID and billing city. It returned eight customer accounts, and the agent ranked them: Anna Kovacs 236.00 (2 orders), Fatima Rahman 106.00, Ben Turner 54.00, Dmitri Volkov 34.00, and the rest at 0.00.

## FAQ

### Where does Total Spent come from?

From WooCommerce’s own figure for each customer account. In our test, orders on hold and cancelled orders were not included.

### Can I filter by number of orders instead?

Yes. Order Count is a filter field too; use Greater Than to find repeat customers.

### Are amounts numbers in Excel?

Yes. In the XLSX file Total spent was a number with two decimals, so SUM and sorting work.

### Can I see what each customer bought?

Use the Last order number, or export orders filtered by the customer’s email; see [exporting orders by date range](https://wpimportexport.com/export-woocommerce-orders-date-range-vat-tax-report/).

## Related Guides

- [Export Newsletter Subscribers from WordPress to CSV](https://wpimportexport.com/export-wordpress-subscriber-emails-newsletter-csv/)
- [Export WooCommerce Orders by Date Range for VAT and Tax Reports](https://wpimportexport.com/export-woocommerce-orders-date-range-vat-tax-report/)
- [Export WooCommerce Orders with Checkout Fields: Delivery Date, Gift Message and More](https://wpimportexport.com/export-woocommerce-orders-custom-checkout-fields/)
- [How to Import WooCommerce Customers from CSV](https://wpimportexport.com/import-woocommerce-customers-csv/)

Get the free plugin on [WordPress.org](https://wordpress.org/plugins/import-export-by-rockstarlab/).
