+ Reply to Thread
Results 1 to 3 of 3

Count days

  1. #1
    Registered User
    Join Date
    05-17-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Count days

    Hello All,
    Might need some help here..I have a series of customer lists, i.e. Account no. along with transaction dates. The list looks like this,
    Account Transaction Dates
    750002 29/04/2010
    750002 27/07/2010
    750004 25/02/2010
    750004 03/03/2010
    750004 20/04/2010
    750004 27/04/2010
    Column A – Account and Column B- Transaction Dates.
    What I wanted to find is number of days between first, second and third transactions by an account. This is to gauge what are the dates between his purchases. Assuming I have a list of close to 30k customers who could have one/ ten transaction dates against them, it would be great to have a formula to do this trick.
    Cheers

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Count days

    Hi,

    Welcome to the forum.

    Assuming the list is sorted by account and date (ascending), then in C2 copied down

    =IF(A2=A1,B2-B1,"")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-17-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Count days

    @ Richard,

    Thanks a ton Mate. Just improvised on from your formula with an IFerror statement and voila i have the winner. Thanks for saving my day.Much appreciated. Cheers

    Regards,
    Raj

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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