+ Reply to Thread
Results 1 to 6 of 6

Identify Repeat Purchases Within a Specific Time

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    3

    Identify Repeat Purchases Within a Specific Time

    Hi,

    I am trying to identify repeat customers with a view to removing the purchase if thecustomer buys the same product within 5 days.

    If the same customer buys a different product each day then I would like to count each purchase.

    If the same customer buys the same product every day I would only like to count it once every 5 days.

    I have tried using COUNTIFS for this. Formula in column D where A contains the Customer, B the Purchase Date and C the Product:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The issue I have with this is that it captures false positives - so if there was a purchase on Day 1, Day 4 and Day 7 I will get the Day 7 purchase as a repeat of Day 4. In this case what I would like to do is identify Day 4 as the repeat of Day 1. If it is no longer taken in to account then Day 7 should not be identified as a repeat as the previous valid purchase would be Day 1.

    Any pointers would be greatly appreciated.

    Thanks,

    Zega.

  2. #2
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Identify Repeat Purchases Within a Specific Time

    Hi Zega, could you upload a sample worksheet with expected results?



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  3. #3
    Registered User
    Join Date
    11-02-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Identify Repeat Purchases Within a Specific Time

    Hi,

    Sample attached.

    Customer in A:A, Purchase Date in B:B, Purchase Item in C:C, Original Calculation in D:D, Desired output in E:E and a description in F:F to help explain the desired outcome. I don't need the data in F:F this is just to try to explain the logic a little.

    Thanks,

    Zega.


    RepeatCustomers.xlsx

  4. #4
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Identify Repeat Purchases Within a Specific Time

    Hi Zega, try this solution in D2 and copy it across D2:D10.
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

  5. #5
    Registered User
    Join Date
    11-02-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    3

    [SOLVED] Identify Repeat Purchases Within a Specific Time

    Hi Alvin,

    Works perfectly, thanks for your help.

    Cheers,

    Zega.

  6. #6
    Valued Forum Contributor
    Join Date
    12-25-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2016
    Posts
    506

    Re: Identify Repeat Purchases Within a Specific Time

    Thank you for the feedback, you're welcome



    _______________________________________________________________________________________________________________________________
    1. Click on the * Add Reputation if you think someone helped you
    2. Mark your thread as SOLVED when question is resolved

    Alvin

+ 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] Need to link/sort purchases with specific dates
    By stardark in forum Excel General
    Replies: 5
    Last Post: 11-01-2013, 10:33 PM
  2. [SOLVED] How to calculate the time between purchases for multiple customers?
    By my_sunshine in forum Excel General
    Replies: 5
    Last Post: 10-23-2012, 01:06 PM
  3. [SOLVED] COUNTIF to identify non-repeat values
    By suniljayanna in forum Excel General
    Replies: 3
    Last Post: 07-14-2012, 02:20 PM
  4. Identify a range, pull first instance of a symbol, repeat
    By Jbm444 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2010, 07:01 PM
  5. Identify A Specific Computer
    By T.J. Lanza in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2009, 02:56 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