Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dougmcc1
 
Posts: n/a
Default Getting MIN value for a string in a list


I have 2 lists. List A is just a set of strings. List B is a set of the
same strings with multiplae values associated to them. For List A, how
do I return the minimum value for the same string in List B?

Example:

List A
string1
string2
string3

List B
string1 3
string1 6
string1 2
string2 10
string2 5
string2 2
string3 4
string3 5


--
dougmcc1
------------------------------------------------------------------------
dougmcc1's Profile: http://www.excelforum.com/member.php...info&userid=85
View this thread: http://www.excelforum.com/showthread...hreadid=554116

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Getting MIN value for a string in a list

=MIN(IF(B2:B20="string1",C2:C20))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"dougmcc1" wrote in
message ...

I have 2 lists. List A is just a set of strings. List B is a set of the
same strings with multiplae values associated to them. For List A, how
do I return the minimum value for the same string in List B?

Example:

List A
string1
string2
string3

List B
string1 3
string1 6
string1 2
string2 10
string2 5
string2 2
string3 4
string3 5


--
dougmcc1
------------------------------------------------------------------------
dougmcc1's Profile:

http://www.excelforum.com/member.php...info&userid=85
View this thread: http://www.excelforum.com/showthread...hreadid=554116



  #3   Report Post  
Posted to microsoft.public.excel.misc
dougmcc1
 
Posts: n/a
Default Getting MIN value for a string in a list


Thanks!

What do you mean by "it should be committed" and why use
cntrl+shift+enter instead of just enter?


--
dougmcc1
------------------------------------------------------------------------
dougmcc1's Profile: http://www.excelforum.com/member.php...info&userid=85
View this thread: http://www.excelforum.com/showthread...hreadid=554116

  #4   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default Getting MIN value for a string in a list

"dougmcc1" wrote in
message ...

Thanks!

What do you mean by "it should be committed" and why use
cntrl+shift+enter instead of just enter?


Look at "array formula" in Excel's help.
--
David Biddulph


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
Remove empty cells from named list / validation list Sp00k Excel Worksheet Functions 4 April 28th 06 03:45 PM
Check 2 different list get associated value from a column deja Excel Worksheet Functions 1 April 20th 06 04:11 AM
Drop-down list Populated by a Subset of a larger list RJH Excel Worksheet Functions 3 March 31st 06 10:28 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM


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