+ Reply to Thread
Results 1 to 5 of 5

Min-function with Year Filter

  1. #1
    Registered User
    Join Date
    06-04-2019
    Location
    Norway
    MS-Off Ver
    MS Excel 365
    Posts
    15

    Min-function with Year Filter

    Hi,

    How can i use an Excel Min function to find the smallest date within a spesific year?.

    My list goes from year 2018-2021 and I want to find the first date on the list in year 2019.

    For example my first entry for 2019 is January 10, so I want the Min function to return that date.

    I know MINIFS function could do this, but I'm on an older version (2013) that doesn't support MINIFS.

    All replies are welcome.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Min-function with Year Filter

    You can use MIN and IF together (array-entered with CTRL+SHIFT+ENTER):

    =MIN(IF(criteria_range=criterion,min_range))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Min-function with Year Filter

    Or try with this function

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Roel Jongman; 11-25-2019 at 08:54 AM.

  4. #4
    Registered User
    Join Date
    06-04-2019
    Location
    Norway
    MS-Off Ver
    MS Excel 365
    Posts
    15

    Re: Min-function with Year Filter

    @Ali: do you mean something like this?

    {=MIN(IF('Play List'!E3:E1000=DATE(2019;1;1);'Play List'!E3:E1000))}

    This only returns 0. My list is always expanding and has at the moment 150 entries so many parts are blanc in the E3:E1000 range.


    @Roel Jongman: =INDEX('Play List'!E3:$E1000;MATCH(DATE(2019;1;1);'Play List'!E3:E1000;1)) gives me #N/A.

    What am I doing wrong?

  5. #5
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Min-function with Year Filter

    hard to guess without the example file but your formula is not te same as mine

    try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    if there are gaps in your list or blank rows between dates it can return an error (I guess)

+ 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] Sumproduct Function with Month and Year Filter
    By Zenly in forum Excel General
    Replies: 6
    Last Post: 11-22-2019, 11:18 AM
  2. Replies: 4
    Last Post: 10-07-2018, 04:35 PM
  3. [SOLVED] Filter Whole Year Not Months
    By Moggzzz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-13-2017, 11:40 AM
  4. Pivot Filter not allowing filter by year, month and date
    By Steve aka Munky in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 02-17-2017, 11:47 AM
  5. filter the current year
    By excelhelpseeker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2014, 05:25 AM
  6. Replies: 1
    Last Post: 07-09-2011, 03:02 AM
  7. Filter month year
    By pansovic in forum Excel General
    Replies: 6
    Last Post: 06-08-2010, 03:35 AM

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