=max(if(a2:a101=5.4,b2:b101))?

  • Thread starter Thread starter coa01gsb
  • Start date Start date
C

coa01gsb

Hi People,

I have two columns of data, I want to find the maximum value in column
B of rows whose corresponding row cell in column A contains 5.4. The
formula I have tried to use is:

=MAX(IF(A2:A101=5.4,B2:B101))

But this doesn't work. Any other ideas?

Can I define a name that will relate to all cells in column B whose
corresponding row cell in column A has a value of 5.4?
 
What "doesn't work"?

Are you array-entering it as it should be (i.e., with CTRL-SHIFT-ENTER)?
 
Your formula is correct but you need to commit it with ctrl+shift+enter

not just enter, because it is an array formula.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top