Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 183
Default Find minimum value

I have Months in Column A (from 1 for Jan to 12 for Dec) and Years in Column B.
I need to find the month corresponding to the earlier date.
For instance if my lowest year is 2004 found in B12 and B24, and A12=2 and
A24=8, the result should be 2
The problem is that I can have several occurrences of the same year, so I
have tried to create a unique key using concatenate(Month,year) in Column C
and then using Index and Match.
INDEX(A:A,MATCH(MIN(C:C),C:C,0))
But the concatenate formula does not create recognisable numbers.
any idea?
Thanks

--
caroline
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Find minimum value

But the concatenate formula does not create recognisable numbers.

You are correct. The CONCATENATE function return TEXT. Also, using the &
operator to concatenate returns TEXT.

Try it like this:

A1 = 1
B1 = 2004

=--(A1&B1)

Returns numeric 12004


--
Biff
Microsoft Excel MVP


"caroline" wrote in message
...
I have Months in Column A (from 1 for Jan to 12 for Dec) and Years in
Column B.
I need to find the month corresponding to the earlier date.
For instance if my lowest year is 2004 found in B12 and B24, and A12=2 and
A24=8, the result should be 2
The problem is that I can have several occurrences of the same year, so I
have tried to create a unique key using concatenate(Month,year) in Column
C
and then using Index and Match.
INDEX(A:A,MATCH(MIN(C:C),C:C,0))
But the concatenate formula does not create recognisable numbers.
any idea?
Thanks

--
caroline



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
Find minimum value in column. dlbeiler Excel Worksheet Functions 3 October 12th 07 05:55 PM
Minimum qualifiers to Find (VBA) the actual last used Row, Column EagleOne Excel Discussion (Misc queries) 3 July 31st 06 04:51 PM
Find minimum value greater than a particular value John Michl Excel Worksheet Functions 3 April 27th 06 07:10 PM
How do I find the minimum NONBLANK value in a sequence of cells? codeslinger New Users to Excel 3 November 2nd 05 08:12 PM
How to find the minimum value in a database with multiple values . billybob1 Excel Discussion (Misc queries) 2 January 26th 05 06:11 PM


All times are GMT +1. The time now is 07:22 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"