+ Reply to Thread
Results 1 to 4 of 4

Date min function excluding 1900

  1. #1
    Registered User
    Join Date
    01-26-2017
    Location
    Iowa, USA
    MS-Off Ver
    2013
    Posts
    3

    Date min function excluding 1900

    I have a set of dates that is generated by a system where the first entry is set up as 1900, looking at the year only. Every time an entry is made, a new date is added to the related column list. I am working on setting up some form templates and will need a formula or some way to find the oldest date, excluding 1900. I do not believe that the dates will always be in order.

    I have tried =MIN( functions and also a few different =IF( statements but have had no luck.

    Is there a way to write a statement - =IF(MIN(A1:A10)>1900, MIN(A1:A10), IF(MIN(A1:A10)=1900, then give me min(A1:A10) value that is greater than 1900?


    1922
    1925
    1950
    1900
    2000
    2002
    2010
    2017

    Thanks for any help or other thoughts!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Date min function excluding 1900

    Welcome to the board.

    One of many ways:

    A
    B
    2
    1922
    3
    1925
    4
    1950
    5
    1900
    6
    2000
    7
    2002
    8
    2010
    9
    2017
    10
    1922
    A10: =SMALL(A2:A9, COUNTIF(A2:A9, 1900) + 1)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    01-26-2017
    Location
    Iowa, USA
    MS-Off Ver
    2013
    Posts
    3

    Re: Date min function excluding 1900

    =SMALL(A2:A9, COUNTIF(A2:A9, 1900) + 1)


    That works really well! However, I have several records in my list with 1900.
    I should have included that in my original post. Can a formula be written to exclude or ignore 1900 completely, then find the minimum value?


    1922
    1900
    1925
    1950
    1900
    2000
    2002
    2010
    2017
    1900

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Date min function excluding 1900

    What happened when you tried it?

+ 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. Replies: 7
    Last Post: 09-12-2015, 03:32 AM
  2. [SOLVED] Date shows as January 0, 1900 in cell...Need Last workdays date to show
    By swade730 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-10-2015, 10:51 AM
  3. Lookup returning Date but when no date equals January 0 1900
    By jaredmccullough in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-18-2015, 10:25 AM
  4. date pasted as 1/2/1900 in excel instead of 1/1/1900
    By ekkslatha in forum Excel General
    Replies: 4
    Last Post: 10-25-2014, 08:34 PM
  5. Macro for changing the date from 02-Jan-1900 to 01-Jan-1900
    By Lavanya Anandan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2013, 07:08 AM
  6. Count when each month occurs excluding 00/01/1900
    By Henpest in forum Excel General
    Replies: 4
    Last Post: 09-25-2012, 05:56 PM
  7. MOd function of a pre 1900 date
    By Martindelica in forum Excel General
    Replies: 0
    Last Post: 04-18-2007, 09:28 AM

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