+ Reply to Thread
Results 1 to 2 of 2

Getting the earliest and latest date in Pivot Table

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Getting the earliest and latest date in Pivot Table

    Hello excel experts,

    Is there a formula that could look at pivot table and get the earliest date and latest date?

    I've attached a sample, but will still put it here for what i mean.

    ID Beg.Date End Date
    abc Jan 1, 2010 June 30, 2010
    bcd Feb 15, 2010 Nov 30, 2010
    Dec 1, 2010 May 30, 2012
    cde Apr 17, 2010 Dec 31, 2012


    Assume above is a pivot table...notice that bcd has 2 pair dates (2 beginning date and 2 end date).

    Is there a formula/function (match, vlookup etc) that could take Feb 15, 2010 as the beginning date and May 30, 2012 as the end date for ID "bcd"??
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Getting the earliest and latest date in Pivot Table

    Assume above is a pivot table...notice that bcd has 2 pair dates (2 beginning date and 2 end date).
    actually, i dont see that, sorry?

    and the data you have here, bears no resemblance to what's in the file you uploaded?

    Do you mean that A14 and A15 are the same ID, and you want to find 7/19/200 (earliest) and 11/26/2004 (Latest) for that ID?
    where would you want this info put?

    I suggest that you add some sample answers to your file, so we can see what you want, and explain how you got that, so we can figure out how to do it
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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