Thread: Min Value
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Min Value

Try,

=MIN(IF(A2:A6=A3,IF(B2:B60,B2:B6)))

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.

Mike

"EricBB" wrote:

hello there,
xxx 0
yyy 45
yyy 70
xxx 5
xxx 0

70 --=SUMPRODUCT(MAX((A2:A6=A3)*(B2:B6)))
the above formula is the MAX for yyy, how can i edit the above formula to
get the MIN value from the list but not zero if column A is yyy. im expecting
an answer of 45