#REF!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If I try to use the max function on a column with a cell with #REF!, I get
#REF! as my result. I tried doing an if statement saying if a cell = #REF!
make it a 0 but it's not working. Anything else I can do?
 
One way

Try, array-entered (press CTRL+SHIFT+ENTER) in say B1:
=MAX(IF(ISNUMBER(A1:A10),A1:A10))

Adapt the range to suit ..
 
Hi Chris

=MAX(IF(ISNUMBER(A1:A100),A1:A100))

Confirmed with Ctrl+Shift+Enter will exclude any #REFs (this is an
array formula).

Hope this helps!

Richard
 
Hi,

Instead of trying to work around the error, why not fix it?

if you post your formula that is returning the #REF! error I'm sure someone
will suggest a fix for you.

Regards!
Jean-Guy
 

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