Using min and max function XL2002

G

Guest

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?
 
D

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!

"Extremely Aggravated" <Extremely
 

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