Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rachel Williams
 
Posts: n/a
Default Find the earliest date in a range of dates?

I am trying to use a function that will find the earliest date in a wide
range of dates. I have tried using =MIN(A1:A455) but it returns 0-Jan-00.
There are no spaces in the range.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default Find the earliest date in a range of dates?

I bet you have a 0 in that range.

It could be hidden by formatting (or conditional formatting), but it's there.

If you select A1:A455 and edit|find
search for 0
(Match entire cell contents)
you may find it
(or search for 0-jan-00 if it may be formatted as a date)

If it turns out you have to leave the 0's in your data, you can use a different
formula to ignore them:

=MIN(IF(a1:a4550,a1:a455))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can't use the whole column.

====
But I'd do my best to clean the data.

Rachel Williams wrote:

I am trying to use a function that will find the earliest date in a wide
range of dates. I have tried using =MIN(A1:A455) but it returns 0-Jan-00.
There are no spaces in the range.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default Find the earliest date in a range of dates?

Ps. That 0 could be on a hidden row, too???

Dave Peterson wrote:

I bet you have a 0 in that range.

It could be hidden by formatting (or conditional formatting), but it's there.

If you select A1:A455 and edit|find
search for 0
(Match entire cell contents)
you may find it
(or search for 0-jan-00 if it may be formatted as a date)

If it turns out you have to leave the 0's in your data, you can use a different
formula to ignore them:

=MIN(IF(a1:a4550,a1:a455))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

Adjust the range to match--but you can't use the whole column.

====
But I'd do my best to clean the data.

Rachel Williams wrote:

I am trying to use a function that will find the earliest date in a wide
range of dates. I have tried using =MIN(A1:A455) but it returns 0-Jan-00.
There are no spaces in the range.


--

Dave Peterson


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I sum a range if the date is is greater than today's date? S2 Excel Worksheet Functions 4 October 8th 05 08:11 PM
How to count dates within a certain range in a column with mutiple date range entries Krisjhn Excel Worksheet Functions 2 September 1st 05 01:59 PM
Find last occurance of text in range farutherford Excel Worksheet Functions 5 August 30th 05 02:00 AM
Value between 2 dates AG Excel Worksheet Functions 11 August 21st 05 05:32 PM
Finding dates within a date range Marcus Excel Worksheet Functions 2 April 5th 05 02:03 AM


All times are GMT +1. The time now is 01:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"