Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Lightbulb Find Max value within a Offset

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 find 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 of data points. i would therefore like to display the highest value from the offset range.

Any assistance will be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default Find Max value within a Offset

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.
  #3   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by zvkmpw View Post


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.
Shot zvkmpw, i did try that but it did not work previously. it appears that there was a issue with the formula that made up the range part of 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 :
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
Find value then offset, to set variables Les Excel Programming 6 June 25th 07 06:08 PM
find max value in column and return offset of that value deborah Excel Discussion (Misc queries) 2 March 20th 07 03:48 PM
Find Selected value to .Offset from Corey Excel Programming 0 January 11th 07 10:34 PM
Find, Copy offset to offset on other sheet, Run-time 1004. Finny[_3_] Excel Programming 10 December 7th 06 11:46 PM
Find then offset. Pete Excel Worksheet Functions 6 September 13th 06 10:37 PM


All times are GMT +1. The time now is 11:19 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"