MAX, IF statements?
Try this *array* formula:
=INDEX(E1:E5,MATCH(MAX((G1:G5=48)*(J1:J5)),J1:J5, 0))
--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually. Also, you must use CSE when
revising the formula.
--
HTH,
RD
---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"bob" wrote in message
...
I have 3 columns of data:
Column E Column G Column J
Bell, Charlie 48 .176
Davis, Johnny 34 .500
Smith, Tom 22 .335
Williams, Bill 56 .450
McElroy, Mike 62 .210
I want a formula that will identify the largest value in column J among
all
values in column G that are greater or equal to 48, and display the
corresponding name from column E in the cell containing the formula. In
this
example, the answer is "Williams, Bill" because he has the highest value
(.450) in column J among all rows that are 48 or more in column G.
Can anyone help?
Thanks,
Bob
|