+ Reply to Thread
Results 1 to 2 of 2

Finding the latest and oldest dates in a filtered column.

  1. #1
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    390

    Finding the latest and oldest dates in a filtered column.

    All,

    Looked hard and long, but cannot find the answer, so turning again to you experts!!!

    I have a long column of real dates, (dd/mm/yy) in column D from d18 downwards.

    I then have various filters, which obviously changes what dates are shown......big question...how can I show what is the earliest and newest dates from whatever is outputted from my filtering?!

    Thanks for looking.

    Skyping
    Last edited by skyping; 03-04-2015 at 05:35 PM.

  2. #2
    Forum Contributor
    Join Date
    09-11-2008
    Location
    uk
    MS-Off Ver
    2010; 2016
    Posts
    390

    Re: Finding the latest and oldest dates in a filtered column.

    Found it!!!!

    DESCRIPTION

    The Microsoft Excel SUBTOTAL function returns the subtotal of the numbers in a column in a list or database.

    SYNTAX

    The syntax for the Microsoft Excel SUBTOTAL function is:

    SUBTOTAL( method, range1, [range2, ... range_n] )

    Parameters or Arguments

    method is type of subtotal to create, but be careful which method you select. method can be a value ranging from 1 - 11 that includes hidden values or a value ranging from 101 - 111 that ignores hidden values in the calculation.

    method can be a value ranging from 1 - 11 as follows: (which includes hidden values in the calculation)

    Value Explanation
    (includes hidden values)
    1 AVERAGE
    2 COUNT
    3 COUNTA
    4 MAX
    5 MIN
    6 PRODUCT
    7 STDEV
    8 STDEVP
    9 SUM
    10 VAR
    11 VARP

    e.g. earliest date = =SUBTOTAL(5,d18:d2009)
    latest = =SUBTOTAL(4,d18:d2009)

    SOLVED!!!

+ 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] Finding the Earliest and Latest Dates for each Task Code
    By BenTFleury in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-07-2014, 03:45 PM
  2. Get latest and oldest among dates
    By surdileep in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-01-2014, 01:33 AM
  3. [SOLVED] Sort dates in column from oldest to newest...
    By ILoveYouExcel in forum Excel General
    Replies: 2
    Last Post: 06-11-2014, 02:11 PM
  4. finding the latest date in a list of dates
    By easty in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 01-14-2010, 01:34 AM
  5. [SOLVED] Finding the Latest Date from Several Dates in Different Columns
    By sdupont in forum Excel General
    Replies: 4
    Last Post: 12-30-2005, 04:55 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