+ Reply to Thread
Results 1 to 4 of 4

Counting multiple customer sales over 3 month period

  1. #1
    Registered User
    Join Date
    01-28-2013
    Location
    NOTTINGHAM
    MS-Off Ver
    Excel 2007
    Posts
    2

    Counting multiple customer sales over 3 month period

    My company is concerned about customer retention and we need to identify those customers who have purchased at any point within a 3 month window i.e. the current month and the preceding 2 months and then show them as a count for each month. Logically, if the sales team are doing their job, this count should go up each month. We have decided this is the best way to tackle the problem rather than count the zeros over the 3 month windows.

    I have attached a sample spreadsheet - for Jan.13, the last month, I have shaded the cells that would be contained within the count for that month and physically put the count total at the bottom (34). I have also manually counted the results for Sep.12, Oct.12, Nov.12, & Dec.12, merely to show the results to be expected. Clearly there would be no calculations for the first 2 months Nov.11 & Dec.11.

    Thank you
    Gillycustomer retention sample.xlsx

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Counting multiple customer sales over 3 month period

    Try this for last month:
    =SUMPRODUCT(--(N$2:N$41+O$2:O$41+P$2:P$41>0))
    Copy to columns in the left
    Quang PT

  3. #3
    Registered User
    Join Date
    01-28-2013
    Location
    NOTTINGHAM
    MS-Off Ver
    Excel 2007
    Posts
    2

    Thumbs up Re: Counting multiple customer sales over 3 month period

    That works a treat. Thank you very much.

  4. #4
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Counting multiple customer sales over 3 month period

    You could also try this
    with the active cell being the cell below the current month column (where you want the tootal)
    run this macro
    Please Login or Register  to view this content.
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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