Two Ways to Determine Your Top Customers in QuickBooks, Excel

By David H. Ringstrom, CPA

Given the length of the Great Recession, your top customers today might not be the same folks who were your top customers even a couple months ago. In this article I'll demonstrate two ways that you can determine who your top customers are based on total sales.

The first technique involves a minor tweak to an existing QuickBooks report, while the second demonstrates a couple of tricks that I use to transform QuickBooks reports into usable data in Excel.

To quickly determine your top customers for a given time period, follow these steps:

1. In QuickBooks, choose Reports, Sales, and then Sales by Customer Summary.

2. When the report appears onscreen, change the report dates to display the period that you wish to see, and then click Refresh, as shown in Figure 1.

Figure 1: Modify the dates of the Sales By Customer Summary to display the report period in question.

3. Click the Modify Report button that appears at the top of the report window.

4. In the Modify Report window, change Sort By to Total, instead of Default, as shown in Figure 2.

Figure 2: Change the Sort By to Total, instead of Default.

5. Click OK to display the modified report on the screen.

6. To save this report for future use, click the Memorize button that appears at the top of the report window. Assign a name, such as Top Customers, and then optionally choose a Memorized Report Group. Going forward, you can access your report by choosing Reports, Memorized Reports, and then looking for your report title.

This approach is simple enough, but doesn't allow you to limit the report to a particular subset, say your top 10, 25, or 100 customers. Fortunately it's easy to do this with Excel:
1. In QuickBooks, choose Reports, Sales, and then Sales by Customer Summary.

2. When the report appears onscreen, change the report dates to display the period that you wish to see, and then click Refresh, as shown in Figure 1.

3. Click the Export button at the top of the report screen, choose New Excel workbook, and then click Export.

4. The total sales for each customer are a =SUM formula that will get corrupted by a subsequent process that we're going to do to this report, so we must convert the totals to values:

      a. Right-click on the sales figure column (for instance, column D in Figure 3), choose Copy to copy the entire column to the clipboard.

Figure 3: Convert the sales figures to numbers instead of formulas.

b. Right-click again on the sales figure column, choose Paste Special, Values, and then click OK.

5. Click on cell A1, and then press Ctrl-* to select the entire report. Use the * key on the number pad of your keyboard, or press Ctrl-Shift-8.

6. Turn on the filter arrows:

  • Excel 2007/2010: Choose Sort & Filter in the Editing section of the ribbon, and then choose Filter.
  • Excel 2003 or earlier: Choose Data, Filter, and then AutoFilter.

7. Click the filter arrow in cell B1 (as shown in Figure 4), and then choose Text Filters, and then Custom (Users in Excel 2003 and earlier can just choose Custom).

Figure 4: Be sure to use the filter arrow in cell B1.

8. As shown in Figure 5, choose Does Not Equal, enter Total*, and then click OK.

Figure 5: Choosing Does Not Equal and Total* is the same as saying "does not begin with"

9. Use the worksheet frame to select all visible rows from row 2 through the end of the report, and then right-click on any of the rows you selected and then choose Delete, as shown in Figure 4.

10. Click the arrow in cell B1, and then choose All in Excel 2003 and earlier or click Select All in Excel 2007/2010.

11. Delete any blank columns, so that you're left with one column with your customer names, and a second column with the sales amounts.

12. The next step is to eliminate the word Total from the start of each customer row:

      a. Click on column A on the worksheet frame to select the entire column.

      b. Choose Data, and then Text to Columns.

      c. When the Text to Columns wizard appears, choose Fixed Width, and then click Next.

      d. Excel automatically guesses that we want to eliminate the word Total, so click Next again.

      e. As shown in Figure 6, click on the Total column, and then choose Do Not Import (skip), and then click Finish.

Figure 6: The Text To Columns wizard allows you to delete the word Total from the start of each customer name.

3. You can now use the Top 10 AutoFilter feature to display a selected range of customers. To do so, click the arrow in at the top of the column that contains the sales figures. Next, choose Top 10 in Excel 2003 and earlier, or Number Filters, and then Top 10 in Excel 2007/2010. As you can see in Figure 7, although the feature is "Top 10", you can really display the top number of your choice. The final report format is shown in Figure 8.

Figure 7: The Top 10 feature in Excel actually allows you to filter any number of customers you choose.

Figure 8: The final report format generated by using Excel's Top 10 filtering feature.

Read more articles by David Ringstrom. 
About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link.



You may like these other stories...

If you're thinking that bitcoin and digital currency generally are merely some one-off flash in the pan, the new Digital Currency Council would argue otherwise. The council launched in September and already had 400...
Sponsored Content from AccountingWEB takes a look at confirmations in audit engagements, how they can serve as a doorway to fraud, and what you can do about it. Today, auditors have to fight fire with...
If your small-business clients are on the fence about cloud accounting, they've got plenty of company. A recent survey by market researcher and consultant Software Advice indicates a decidedly mixed view by respondents...

Already a member? log in here.

Upcoming CPE Webinars

Oct 21Kristen Rampe will share how to speak and write more effectively by understanding your own and your audience’s communication style.
Oct 22This webinar will include discussions of important issues in AU-C 800, Audits of Financial Statements Prepared in Accordance with Special Purpose Frameworks.
Oct 23Amber Setter will show the value of leadership assessments as tools for individual and organizational leadership development initiatives.
Oct 30Many Excel users have a love-hate relationship with workbook links.