Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Excel functions - need some guidance.

3 views
Skip to first unread message

Dave

unread,
Feb 6, 2008, 10:46:43 AM2/6/08
to david...@gmail.com
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

Don Guillett

unread,
Feb 6, 2008, 11:12:48 AM2/6/08
to
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))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"Dave" <david...@gmail.com> wrote in message
news:b8a9c4ff-2fa8-40bb...@d4g2000prg.googlegroups.com...

0 new messages