![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 30
|
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 |
|
Board Regular
Join Date: Feb 2002
Location: Houston,Texas
Posts: 418
|
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 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,314
|
Quote:
=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 |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|