Getting MIN value for a string in a list

D

dougmcc1

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
 
B

Bob Phillips

=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)
 
D

dougmcc1

Thanks!

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

David Biddulph

dougmcc1 said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top