#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default #REF!

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default #REF!

One way

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

Adapt the range to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Chris" wrote:
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?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 196
Default #REF!

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

On 26 Jan, 13:46, Chris wrote:
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?


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default #REF!

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



"RichardSchollar" wrote:

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

On 26 Jan, 13:46, Chris wrote:
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?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default #REF!

Thanks!

"Max" wrote:

One way

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

Adapt the range to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Chris" wrote:
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?



  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default #REF!

You're welcome, Chris.

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Chris" wrote in message
...
Thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"