+ Reply to Thread
Results 1 to 6 of 6

Count number of days between customer visits

  1. #1
    Registered User
    Join Date
    07-24-2007
    Posts
    66

    Count number of days between customer visits

    I'm trying to calculate the number of days it's been since a customer visited last. Weekends and holidays count.

    Example Spreadsheet:

    Column A Column B
    Name Date of Visit
    Jane Doe Jan 1, 2016
    John Doe Jan 7, 2016
    Jane Doe April 8, 2016
    John Doe July 1, 2016

    My list is hundreds of rows long and new entries are automatically entered on the bottom of the list, so I need to carry this formula down all the time. So I need to know if Jane Doe has shopped before April 8, 2016, how many days ago was it? And I'd like the formula to give a result like "Over 45 days" or "Under 45 Days" if at all possible.

    Thanks

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Count number of days between customer visits

    If you post a workbook with some sampledata and the expected output it will be much easier to help you.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    07-24-2007
    Posts
    66

    Re: Count number of days between customer visits

    I just posted and it didn't appear so I'll try again. It won't let me add an attachment, but my data is super simple like listed above. New names and dates are added to the bottom, I just need to know if the new name has appeared before and if so, was it Over 45 Days or Under 45 Days?

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Count number of days between customer visits

    Try this. I didn't bother to make it into a single formula now, short on time.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-24-2007
    Posts
    66

    Re: Count number of days between customer visits

    Not quite. It's calculating the wrong number of days between visits for Jane Doe, it's supposed to be 98, but reads 42468. And the formula is only selecting some of the data, I need it to go all the way to the top because the entries could possibly be the very first and very last.

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Count number of days between customer visits

    Too much in a hurry there. That and there might be a loose connector in my brain. Trying again.
    I just adjusted the ranges.
    Attached Files Attached Files

+ 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. Replies: 5
    Last Post: 05-10-2016, 08:00 PM
  2. Replies: 2
    Last Post: 11-21-2014, 12:59 PM
  3. [SOLVED] How to calculate number of days per year a customer is a member
    By Even in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-12-2014, 11:07 AM
  4. [SOLVED] Count the number of visits by visit types.
    By Marvin85 in forum Excel General
    Replies: 8
    Last Post: 10-02-2014, 05:19 PM
  5. 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
  6. Help on count the number of days in between dates and then average number of days
    By Barbara Excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2013, 12:13 PM
  7. count / frequency of visits with conditions
    By maymano in forum Excel General
    Replies: 3
    Last Post: 08-19-2011, 03:32 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