Excel functions - need some guidance.

D

Dave

Hi. I assume that I'm missing something with functions here. Suppose
I've got the following data...

Item # Type Qty Value
1 baseball 52 $40.00
2 football 31 $32.95
3 basketball 68 $107.35
4 tennis 4 $14.95
5 hockey 35 $39.50

I've used DMAX, DMIN, and DAVERAGE respectively, to return the max,
min, and avg values in the table, i.e.
Max Value = $107.35
Min Value = $14.95
Avg. Value = $46.95

But now I want to indicate the Item # next to the returned Max Value
and Min Value, so I'd have the following:
Max Value = $107.35 (3)
Min Value = $14.95 (4)
Avg. Value = $46.95

How do I set up a function to return the (3) and (4)? Specific
instructions would be most appreciated!

Thanks,
Dave
 
D

Don Guillett

assuming values in col K, to get min 14.95
=MIN(K:K)
assuming your 1-5 in col H to get 4
=INDEX(H:H,MATCH(MIN(K:K),K:K,0))
 

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