+ Reply to Thread
Results 1 to 4 of 4

Help with formula - summarize dates

  1. #1
    Registered User
    Join Date
    07-02-2014
    Location
    toronto
    MS-Off Ver
    Office for Mac 2013
    Posts
    13

    Help with formula - summarize dates

    Hi,

    I have a spreadsheet that I use as my expense report.

    At the top it has a cell with the DATE, then many expenses in a list each with thier own date.

    With the below dataset I would like to solve both of following solutions:
    *Note format is (MM/DD/YY)

    03/22/16
    04/01/15
    06/14/16
    01/29/16
    11/03/15
    05/20/16

    Soluiton 1) for the DATE cell to be equal to the last of all the dates: 06/14/16
    Solution 2) for the DATE cell to be equal to: earliest date-last date (ex. 04/01/15-06/14/16)

    Anyone able to help?

    Thanks!

  2. #2
    Forum Contributor
    Join Date
    01-05-2017
    Location
    New York
    MS-Off Ver
    Office 2016
    Posts
    206

    Re: Help with formula - summarize dates

    Solution 1: =TEXT(MAX(B3:B8),"MM/DD/YYYY")

    Solution 2: =TEXT(MIN(G3:G8),"MM/DD/YYYY")&"-"&TEXT(MAX(G3:G8),"MM/DD/YYYY")

    See attached.
    Attached Files Attached Files

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,885

    Re: Help with formula - summarize dates

    Assuming all dates are actually stored as date value and not text.

    Solution 1)
    =MAX(Date Range)

    Solution 2)
    =TEXT(MIN(Date Range),"MM/DD/YY")&"-"&TEXT(MAX(Date Range),"MM/DD/YY")

    If dates are in text, you'd need helper column added to data range.
    =DATE("20"&RIGHT(A1,2),LEFT(A1,2),MID(A1,4,2))

    See attached.
    Attached Files Attached Files
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  4. #4
    Registered User
    Join Date
    07-02-2014
    Location
    toronto
    MS-Off Ver
    Office for Mac 2013
    Posts
    13

    Thumbs up Re: Help with formula - summarize dates

    Thank you for the help!

+ 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] Formula to Summarize
    By rizmomin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2015, 06:54 PM
  2. [SOLVED] Create Pivot Table with group dates; summarize values by average; h:mm
    By 3345james in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2015, 10:59 AM
  3. [SOLVED] Formula to summarize data
    By rizmomin in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-25-2015, 01:40 PM
  4. [SOLVED] Formula to summarize hours
    By rizmomin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-06-2014, 11:01 AM
  5. [SOLVED] Formula to summarize
    By rizmomin in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-20-2014, 10:28 AM
  6. Replies: 1
    Last Post: 11-23-2013, 12:05 PM
  7. add and count dates and summarize results
    By cathal78 in forum Excel General
    Replies: 9
    Last Post: 02-12-2011, 05:42 PM

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