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

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -