Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KPR KPR is offline
external usenet poster
 
Posts: 3
Default Find the MIN of Month and Day only

Hi,
I have a column of dates with various years and would like to find out the
earliest Day/Month in the column and ignoring the year, how can I do this?

Thanks,
Ken
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Find the MIN of Month and Day only

=MIN(DATE(1900,MONTH(A1:A100),DAY(A1:A100))) array entered (Control Shift
Enter)
--
David Biddulph

"KPR" wrote in message
...
Hi,
I have a column of dates with various years and would like to find out the
earliest Day/Month in the column and ignoring the year, how can I do this?

Thanks,
Ken



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Find the MIN of Month and Day only

This returns the earliest Month/Day:

=TEXT(MIN(INDEX(--TEXT(A1:A10+(A1:A10=0)*40000,"mmdd"),0)),"00\/00")

Note: What looks like a large "V" is really "\" followed by "/"

Using these values in A1:A10
06/04/2007
06/09/2007
05/30/2010
06/04/2005
06/05/2005
06/06/2005
06/07/2005
06/08/2005
06/09/2005
06/10/2005

the formula returns 05/30

Is that close enough?
***********
Regards,
Ron

XL2002, WinXP


"KPR" wrote:

Hi,
I have a column of dates with various years and would like to find out the
earliest Day/Month in the column and ignoring the year, how can I do this?

Thanks,
Ken

  #4   Report Post  
Posted to microsoft.public.excel.misc
KPR KPR is offline
external usenet poster
 
Posts: 3
Default Find the MIN of Month and Day only

Worked perfect, Thanks Ron.

"Ron Coderre" wrote:

This returns the earliest Month/Day:

=TEXT(MIN(INDEX(--TEXT(A1:A10+(A1:A10=0)*40000,"mmdd"),0)),"00\/00")

Note: What looks like a large "V" is really "\" followed by "/"

Using these values in A1:A10
06/04/2007
06/09/2007
05/30/2010
06/04/2005
06/05/2005
06/06/2005
06/07/2005
06/08/2005
06/09/2005
06/10/2005

the formula returns 05/30

Is that close enough?
***********
Regards,
Ron

XL2002, WinXP


"KPR" wrote:

Hi,
I have a column of dates with various years and would like to find out the
earliest Day/Month in the column and ignoring the year, how can I do this?

Thanks,
Ken

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Find the MIN of Month and Day only

I'm glad that worked for you......and thanks for the feedback!

***********
Regards,
Ron

XL2002, WinXP


"KPR" wrote:

Worked perfect, Thanks Ron.

"Ron Coderre" wrote:

This returns the earliest Month/Day:

=TEXT(MIN(INDEX(--TEXT(A1:A10+(A1:A10=0)*40000,"mmdd"),0)),"00\/00")

Note: What looks like a large "V" is really "\" followed by "/"

Using these values in A1:A10
06/04/2007
06/09/2007
05/30/2010
06/04/2005
06/05/2005
06/06/2005
06/07/2005
06/08/2005
06/09/2005
06/10/2005

the formula returns 05/30

Is that close enough?
***********
Regards,
Ron

XL2002, WinXP


"KPR" wrote:

Hi,
I have a column of dates with various years and would like to find out the
earliest Day/Month in the column and ignoring the year, how can I do this?

Thanks,
Ken



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Find the MIN of Month and Day only

=MIN(--TEXT(A1:A9,"mm/dd"))

ctrl+shift+enter, not just enter


"KPR" wrote:

Hi,
I have a column of dates with various years and would like to find out the
earliest Day/Month in the column and ignoring the year, how can I do this?

Thanks,
Ken

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Find the MIN of Month and Day only

I thought it was that easy, too......until I introduced blanks and 02/29/2000
into the data range.

Blanks cause that formula to return 01/01.
02/29/2000 (if it is the lowest value), is converted to 03/01.

(I find it so annoying when computers do what I tell them, instead of what I
meant)
***********
Regards,
Ron

XL2002, WinXP


"Teethless mama" wrote:

=MIN(--TEXT(A1:A9,"mm/dd"))

ctrl+shift+enter, not just enter


"KPR" wrote:

Hi,
I have a column of dates with various years and would like to find out the
earliest Day/Month in the column and ignoring the year, how can I do this?

Thanks,
Ken

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
I would like to find the last day of a month Grd Excel Worksheet Functions 3 September 28th 06 12:10 AM
Find and input value based on month Django Excel Discussion (Misc queries) 2 March 2nd 06 10:17 PM
How do i find the first value every month pex Excel Discussion (Misc queries) 1 October 6th 05 07:21 PM
Find out first Friday every month Ragdyer Excel Discussion (Misc queries) 7 September 2nd 05 01:59 AM
Find out first Friday every month noiseash Excel Worksheet Functions 3 September 1st 05 10:24 AM


All times are GMT +1. The time now is 06:42 AM.

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

About Us

"It's about Microsoft Excel"