+ Reply to Thread
Results 1 to 5 of 5

MIN after date

  1. #1
    Registered User
    Join Date
    03-23-2015
    Location
    us
    MS-Off Ver
    365
    Posts
    93

    MIN after date

    A:A -list of dates in order
    I:I text and numbers

    I need to get the MIN of I:I after the date, 8/31/2017 or A9

    =Min(IF(A:A,">"&Date(2017,7,31),I:I))
    =Min(IF(A:A,>A9),I:I))
    These do not work.

    I do not want to use a row range, =MIN(A10:Axx).

    =Min(I:I)
    This works, but includes dates before 8/31/2017.
    Last edited by skipro; 07-18-2018 at 11:44 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: MIN after date

    A:A -list of dates in order
    I:I text and numbers
    1. Are you sure they are dates, and not text looking like dates?
    2. try this...
    =Min(IF(A:A,">7/31/2017",I:I))

    When all else fails, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: MIN after date

    Try:

    =MIN(IF(A:A>DATE(2017,7,31),I:I))

    Or:

    =MIN(IF(A:A>A9,I:I))

    Enter with Ctrl+Shift+Enter.

  4. #4
    Registered User
    Join Date
    03-23-2015
    Location
    us
    MS-Off Ver
    365
    Posts
    93

    Re: MIN after date

    Thanks FDibbins & Phuocam for responding.
    FDibbins,
    Returns number before 7/31/17.
    Phoucam,
    Both work in a sample I made, but it does not work in my spreadsheet. I assume something in sheet is conflicting.

    Is there a formula that would return for the second "MIN", or the next larger number from "MIN", since there is only 1 number before 7/31/17 and this should be the smallest number?
    In other words, is there a way to ignore the minimum amount, but return the next larger number or the second minimum number?

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: MIN after date

    Quote Originally Posted by skipro View Post
    return for the second "MIN"
    =SMALL(IF(A:A>A9,I:I),2)

    Enter with Ctrl+Shift+Enter.

+ 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: 4
    Last Post: 03-21-2018, 09:25 AM
  2. [SOLVED] Change Date with Date Picker If Date Less Than 7 Days From Another Date
    By Macfool in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-16-2016, 09:10 AM
  3. Week to date, Month to date, Qtr to date and Year to date
    By Neilesh Kumar in forum Excel General
    Replies: 4
    Last Post: 06-10-2016, 08:53 AM
  4. Counting if data falls on date between Start Date, End Date or Possible End Date
    By JessHasQuestions in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-26-2014, 08:01 AM
  5. Replies: 1
    Last Post: 10-02-2012, 02:42 PM
  6. Replies: 1
    Last Post: 09-28-2012, 08:52 AM
  7. Replies: 7
    Last Post: 11-16-2008, 05:48 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