MAX, MAXA functions

D

Dave F

I have a column of data, E:2:E15000. These data are either numbers,
text, or logical errors.

I want to find the maximum value of the numbers in this column. Both
MAX and MAXA give #VALUE! errors, presumably because of the text and
logical errors in this column.

Is there another function that will return the maximum value?

Dave
 
J

Jim Rech

You could use this formula: =MAX(IFERROR(E2:E15000,0))

It must be "array-entered", that is, by pressing Ctrl-Shift-Enter rather
than just Enter.
 
T

T. Valko

If there might be negatives:

=MAX(IFERROR(E2:E100,""))

Note that this will only work in Excel 2007. For previous versions:

=MAX(IF(ISERROR(E2:E100),"",E2:E100))

=MAX(IF(ISNUMBER(E2:E100),E2:E100))

All formulas are array entered. Array formulas need to be entered using the
key combination of CTRL,SHIFT,ENTER (not just ENTER)
 

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

Top