Min of range where other col has a value

P

Pete Derkowski

Hi, I'm trying to pull the min number from a col, where the value in another
col is defined.
ie.
A 5
B 2
A 2
C 7
A 10
B 1
C 5

I need to pull the min for A. I looked up DMIN but the Help doesn't do my
any good. Thought combo of MIN and SUMPRODUCT might work but can't get the
syntax right.

Anyone know how to do this?
 
T

T. Valko

Try this array** formula:

=MIN(IF(A1:A7="A",B1:B7))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Biff
 
P

Pete Derkowski

Yep! That did the trick.

Thanks Biff!




T. Valko said:
Try this array** formula:

=MIN(IF(A1:A7="A",B1:B7))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

Biff
 

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