Results 1 to 2 of 2
  1. #1
    akmehsanulhaque is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2013
    Posts
    1

    Date Difference from same column

    I've a table like below, how can I get date difference of last two dates for distinct user IDs.

    user_id amount_paid payment_date
    X 102 11/2/13
    A 89 18/2/13
    X 93 15/2/13
    X 85 17/1/12
    Z 87 19/2/13
    A 86 3/1/13
    A 78 13/1/13


  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Here is a link to a solution. You will have to modify it slightly to add criteria for different user Ids

    http://www.pcreview.co.uk/forums/cal...-t2368687.html

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 14
    Last Post: 09-11-2013, 01:10 PM
  2. Replies: 1
    Last Post: 02-12-2013, 03:48 AM
  3. Replies: 2
    Last Post: 01-23-2013, 11:07 AM
  4. Replies: 3
    Last Post: 09-19-2012, 08:59 AM
  5. Replies: 1
    Last Post: 04-15-2010, 02:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums