excel - MaxIf with associated row info? -


im using array formulas determine maximum value of specific subset of row data:

=max(($a2:$a100="somestring")*($c2:$c100)) 

this works fine & gets me maximum value in c = "somestring".

now, want return other column values associated "max" row strings. intuitively think may need ditch boolean logic multiplication strategy since string values getting involved. what's best/cleanest way go this?

try this:

=index(b1:b100,match(max((a1:a100="somestring")*(c1:c100)),(a1:a100="somestring")*(c1:c100),0)) 

column want values set b in example.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -