Retrieve earliest date from a row
Find bottlenecks in your Excel workbooks
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Retrieve earliest date from a row

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    32
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    How can I retrieve the earliest date (mm/dd) from a row (I-Q)? To complicate matters there are non-date entries (ie N/A and TBD) intersperced throughout the row. Thanks for any help.

  2. #2
    Board Regular Steve Hartman's Avatar
    Join Date
    Feb 2002
    Location
    Houston,Texas
    Posts
    417
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Since dates are actually decimal numbers all you need to do is use =min(range) where range is your data and you will get the earliest date. format this cell with whatever you date format you want.

    [ This Message was edited by: Steve Hartman on 2002-02-21 13:07 ]

  3. #3
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,864
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

      
    On 2002-02-21 13:00, barnetap wrote:
    How can I retrieve the earliest date (mm/dd) from a row (I-Q)? To complicate matters there are non-date entries (ie N/A and TBD) intersperced throughout the row. Thanks for any help.
    If I:Q does not have any error values like #N/A, use:

    =MIN(I1:Q1)

    otherwise array-enter:

    =MIN(IF(NOT(ISERROR(I1:Q1)),I1:Q1))

    To array-enter a formula, you need to hit control+shift+enter, not just enter.

    Aladin

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com