+ Reply to Thread
Results 1 to 5 of 5

Calculate number of days between a customer visits

  1. #1
    Registered User
    Join Date
    05-07-2019
    Location
    U.S
    MS-Off Ver
    360
    Posts
    2

    Calculate number of days between a customer visits

    Hello, please help!
    Have: a list of customers sign-in dates.
    Want: to calculate the number of days between visits.
    For example: customer Abby Spung [please use the filter in "Name" to see.
    Please help with a formula that does not involve manual filtering.
    Please see attached file
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 2019
    Posts
    15,963

    Re: Calculate number of days between a customer visits

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. I have provided that cross link today. Please comply with forum rules in the future.)

    https://chandoo.org/forum/threads/he...ulation.41598/

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    31,080

    Re: Calculate number of days between a customer visits

    Try this:

    =IFERROR(DATEDIF(LOOKUP(2,1/(B$4:B4=[@Name]),C$4:C4),[@Date],"d"),"")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  4. #4
    Registered User
    Join Date
    05-07-2019
    Location
    U.S
    MS-Off Ver
    360
    Posts
    2

    Re: Calculate number of days between a customer visits

    Hi Ali,
    It works! Just a simple looking equation but it took me days and still could not figure it out.
    Thank you so much!
    Sincerely,
    kim

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Excel 2016 (Win 10 - Work) & 365 Subscription (Win 10 - Home)
    Posts
    31,080

    Re: Calculate number of days between a customer visits

    No problem!

+ 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