+ Reply to Thread
Results 1 to 3 of 3

How to find out number of times a customer ordered with Pivot Table

  1. #1
    Registered User
    Join Date
    02-05-2019
    Location
    Bangladesh
    MS-Off Ver
    Office 365
    Posts
    71

    How to find out number of times a customer ordered with Pivot Table

    Hi,

    I would like to know how to find out how many times a customer ordered using the Pivot Table in Microsoft Excel. I have a set of data (attached) that includes the following columns:
    • Order_No
    • Customer
    • Phone
    • SP
    • SP_info
    • Date
    • Item
    • Qty
    • base_price
    • actual_charge
    • Total

    Now, in the data, there is a separate line for each item purchased with the same order ID, date, and time. So, I have been trying to get a Pivot Table that will only give me the distinct count for the Customer column according to the date. For Example, a customer named Kelly Fay Rodriguez Ordered only 2 times (2/1/ 2020 & 2/18/2020) throughout the month, and I want a pivot table with 2 columns that provide me unique customer names and a number of times orders, in this case, the result would be 2.

    So, I was hoping if there is any way to get the desired result in the pivot table without typing any formulas?

    Your assistance would be highly appreciated. TIA

    Regards,

    Mehdi
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: How to find out number of times a customer ordered with Pivot Table

    I think the second half of the below link does what you want

    its important to ensure the add to data model box is ticked

    along with sum and count there is a distinct count option in the pivot

    https://trumpexcel.com/count-distinct-pivot-table/
    Last edited by davsth; 08-10-2021 at 08:04 AM.

  3. #3
    Registered User
    Join Date
    02-05-2019
    Location
    Bangladesh
    MS-Off Ver
    Office 365
    Posts
    71

    Re: How to find out number of times a customer ordered with Pivot Table

    Thanks for the help, it worked like a charm!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Creating time ordered table from pivot
    By koootzz in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-04-2018, 06:39 PM
  2. [SOLVED] How to return the last time a customer ordered
    By AHatherell in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-14-2017, 09:20 AM
  3. Last Month a Customer Ordered
    By DKsmash2014 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-24-2015, 11:50 AM
  4. [SOLVED] Need to know the date a given product was last ordered by a given customer
    By NunoE in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2014, 08:36 AM
  5. Calculating number of times individual number appears in a pivot table
    By snoopy1461 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-15-2014, 08:39 AM
  6. using pan number of the customer find details of an customer using excel macros
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2014, 03:31 PM
  7. Type customer ordered by:countif
    By Laur in forum Excel General
    Replies: 3
    Last Post: 05-16-2005, 04:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1