ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using min and max function XL2002 (https://www.excelbanter.com/excel-worksheet-functions/46952-using-min-max-function-xl2002.html)

Extremely Aggravated

Using min and max function XL2002
 
I need to find the min and max of four values (c38;c39;g38;g39) that is
greater than zero, but not matter what function I use I either get an answer
of zero or and error. Can anyone help me?

Domenic

For the maximum...

=MAX(C38,C39,G38,G39)

or

=MAX(C38:C39,G38:G39)

For the maximum, greater than zero...

=MAX(IF(N(INDIRECT({"C38","C39","G38","G39"}))0,N (INDIRECT({"C38","C39",
"G38","G39"}))))

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER. For the minimum,
change MAX to MIN.

Hope this helps!

In article ,
"Extremely Aggravated" <Extremely
wrote:

I need to find the min and max of four values (c38;c39;g38;g39) that is
greater than zero, but not matter what function I use I either get an answer
of zero or and error. Can anyone help me?



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com