#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default Max problem

Hi

In a range of cells i have the formula,
=IF(INDIRECT("'"&(B1)&"'!c5")="",NA(),INDIRECT("'" &(B1)&"'!c5")), this
returns N/a when c5 is empty.
I have an average of the cells in the range, at the end of the row with the
following formula
=AVERAGE(IF(ISNUMBER(B3:M3),B3:M3))
All this is working fine, as the N/A is then conditional format in white
But when I enter =max(B3:M3), in another cell, I get N/A, presumably, because
some cells contain the forced N/A. I have tried =max(isnumber(B3:M3), but
still no joy.

Any pointers?

Thanks in advance

Regards

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200809/1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Max problem

Try

=MAX(IF(ISNUMBER(B3:M3),B3:M3))

entered with ctrl + shift & enter

--


Regards,


Peo Sjoblom

"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:8a964519c38c4@uwe...
Hi

In a range of cells i have the formula,
=IF(INDIRECT("'"&(B1)&"'!c5")="",NA(),INDIRECT("'" &(B1)&"'!c5")), this
returns N/a when c5 is empty.
I have an average of the cells in the range, at the end of the row with
the
following formula
=AVERAGE(IF(ISNUMBER(B3:M3),B3:M3))
All this is working fine, as the N/A is then conditional format in white
But when I enter =max(B3:M3), in another cell, I get N/A, presumably,
because
some cells contain the forced N/A. I have tried =max(isnumber(B3:M3), but
still no joy.

Any pointers?

Thanks in advance

Regards

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200809/1



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default Max problem

Thanks for the quick response, works perfect

Regards

Peo Sjoblom wrote:
Try

=MAX(IF(ISNUMBER(B3:M3),B3:M3))

entered with ctrl + shift & enter

Hi

[quoted text clipped - 16 lines]

Regards


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200809/1

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM


All times are GMT +1. The time now is 05:11 AM.

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"