excel - Find the maximum value associated with a specific value in a different column -
i need find largest value in column b associated specific value in column a. here's example of mean:
b 2 1 2 14 2 22 5 6 5 8 5 99
i.e. want find the largest value, 22
, in column b on same row 2
in column a.
i'm using try find value, finds first value:
=vlookup(a2, a1:b20, 2, false)
please try:
=max(if(a:a=2,b:b))
entered ctrl+shift+enter.
Comments
Post a Comment