+ Reply to Thread
Results 1 to 2 of 2

Looking for formula to cumulatively count number of unique customers over time

  1. #1
    Registered User
    Join Date
    09-06-2021
    Location
    Sydney
    MS-Off Ver
    2019
    Posts
    21
    Hi there, I am looking for a formula that can count how many customers have entered the company database over time. I have included an example data set to illustrate what I am looking for. In the example data set, I am looking for a formula that can cumulatively count over time the number of unique customers that appear. For instance, I have included desired results in B8-D8. In Jan 2021, customer 1 purchases an item, so there is 1 customer in the database. In Feb 2021, 2 new customers make a purchase, so the total unique customers comes to 3. In March, only customer 1 purchases again but the total unique customers remains at 3 since customer 1 has already purchased.

    if someone could help me find a formula to do this automatically that would be amazing! Thanks!!!
    Attached Files Attached Files
    Last edited by walrus_22; 10-25-2021 at 12:55 AM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,565

    Re: Looking for formula to cumulatively count number of unique customers over time

    Not a formula, however perhaps this may be useful.
    As you have the 2019 version of Excel you can use Get & Transform to put the data in record (row over row) arrangement using the following Power Query Advanced Editor Code:
    Please Login or Register  to view this content.
    The code produces the records in A10:B19
    C10:C19 is added using the following formula: =IF(COUNTIFS(A$11:A11,A11)=1,SUM(C10,1),C10)
    A pivot table then displays the cumulative number of customers by month.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Count # of time a unique number shows up in multiple worksheet tabs
    By Brapp2Smokin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2020, 12:28 PM
  2. Can I count the number of items (customers) in a column without VBA?
    By trstew in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-07-2018, 05:29 PM
  3. [SOLVED] Retention formula to count unique customers that made a purchase in both years
    By stu40 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-23-2016, 01:24 AM
  4. Count of Age group with unique customers
    By Rushendra in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-23-2016, 01:21 AM
  5. count for unique customers
    By stephme55 in forum Excel General
    Replies: 9
    Last Post: 01-30-2016, 06:27 PM
  6. Finding unique number of customers
    By fibaroobi in forum Excel General
    Replies: 0
    Last Post: 08-25-2010, 11:39 PM
  7. Replies: 5
    Last Post: 01-16-2010, 01:17 AM

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