+ 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
    17,716

    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
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    39,311

    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
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    39,311

    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)

Similar Threads

  1. [SOLVED] Storage Days - Calculate Days when i type a number in.
    By ExcelnoviceUK in forum Excel General
    Replies: 5
    Last Post: 05-04-2018, 08:09 AM
  2. Count number of days between customer visits
    By amy22x3 in forum Excel General
    Replies: 5
    Last Post: 08-16-2016, 12:02 PM
  3. [SOLVED] calculate total number of days between two days based on 365 days year
    By aparunkumar in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-14-2016, 12:51 AM
  4. Replies: 0
    Last Post: 06-11-2015, 03:12 AM
  5. [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
  6. Replies: 3
    Last Post: 01-08-2014, 04:17 PM
  7. [SOLVED] Calculate the number days between two user input days.
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2013, 10:44 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