Find Max value within a Offset

S

StigmataZA

Hi

I am trying to return the max value that is part of a offset range.

Basically i have a name range that i use for trending and i want to fin
the highest value of that trend.

=OFFSET(Data!$M$1,'Trend 1'!$W$1,,'Trend 1'!$Y$1)

$W$1 refers to where my trend will start.
$Y$1 refers to how many row to include in the trend.

the trend works great. the problem is that there are a large number o
data points. i would therefore like to display the highest value fro
the offset range.

Any assistance will be greatly appreciated
 
Z

zvkmpw

I am trying to return the max value that is part of a offset range.
=OFFSET(Data!$M$1,'Trend 1'!$W$1,,'Trend 1'!$Y$1)

Just wrap MAX() around it:
=MAX(OFFSET(Data!$M$1,'Trend 1'!$W$1,,'Trend 1'!$Y$1))

When OFFSET() returns a range, it can be used as a parameter in a function that expects a range, like MAX or AVERAGE.
 
S

StigmataZA

zvkmpw;1604273 said:
Just wrap MAX() around it:
=MAX(OFFSET(Data!$M$1,'Trend 1'!$W$1,,'Trend 1'!$Y$1))

When OFFSET() returns a range, it can be used as a parameter in
function that expects a range, like MAX or AVERAGE.

Shot zvkmpw, i did try that but it did not work previously. it appear
that there was a issue with the formula that made up the range part o
the offset.

Sorted now and working.

i thought that it could not be complicated, got to love them formulae
works for one thing but not another
 

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