+ Reply to Thread
Results 1 to 5 of 5

Return MIN value from date ranges - ignoring 01/01/1970

  1. #1
    Registered User
    Join Date
    02-15-2011
    Location
    Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    21

    Question Return MIN value from date ranges - ignoring 01/01/1970

    Hi all

    I've got several columns with calculated dates and I wish to return the lowest value.
    Is there a way to ignore the 01.01.1970 dates in the formula? I am already trying to ignore it with a IF formula which obviously doesn't seem to work.

    Any ideas?

    Example workbook:
    Orders_example.xlsx

    Thanks

    orders.PNG

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,148

    Re: Return MIN value from date ranges - ignoring 01/01/1970

    Try ...

    =MIN(IF([@[Orders Service A]]<>0,[@[Service A First Order]],IF([@[Orders Service B]]<>0,[@[Service B First Order]],IF([@[Orders Service C]]<>0,[@[Service C First Order]],""))))

    Enter with Ctrl+Shift+Enter

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Return MIN value from date ranges - ignoring 01/01/1970

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


    Use this formula in H2 and drag it down.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Registered User
    Join Date
    08-18-2015
    Location
    Bangladesh
    MS-Off Ver
    2010
    Posts
    20

    Re: Return MIN value from date ranges - ignoring 01/01/1970

    If its just the date 01.01.1970, you can also try to use the LEAST-Function

    =LEAST(C:C,2)

  5. #5
    Registered User
    Join Date
    02-15-2011
    Location
    Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    21

    Re: Return MIN value from date ranges - ignoring 01/01/1970

    Excellent! I forgot the "" at the end for the empty value!
    Thanks!

+ 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: 2
    Last Post: 08-16-2013, 10:18 AM
  2. [SOLVED] Return Max Value in a row based on date ranges.
    By fayep1986 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2013, 12:45 PM
  3. return date based upon look ups in 2 ranges
    By miked18 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2012, 07:02 AM
  4. [SOLVED] Return a specific value for a date from a table of date ranges
    By Brit in forum Excel General
    Replies: 3
    Last Post: 07-11-2012, 05:53 AM
  5. [SOLVED] Formula to return an answer for 8 different date ranges
    By ecuguy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-26-2012, 03:37 PM
  6. Replies: 5
    Last Post: 02-10-2012, 12:52 PM
  7. Find dates within date ranges - Return value
    By pjleitner in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2010, 04:48 PM
  8. [SOLVED] How to return a value between date ranges
    By Mary-Lou in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-26-2006, 05:10 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