Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
owen080808
 
Posts: n/a
Default Finding max from different ranges of data


Hello all (first post so bear with me)

I am currently working on an excel sheet which contains lots of data,
it lists a value for every hour of a whole year. What i cant seem to
get excel to do is find the maximum value in say a 24 hour period (this
must be a preiod that can be specified by me elsewhere in the sheet) and
get it to display the maximum value as i change the day for which i need
the data, as this will go on to be used elsewhere in the sheet. i hope i
am managing to explain this clearly

I think i may have to move into macro's to do this but have no
knowledge of them so if possible would like to continue to use
functions with which i am more familiar.

The problem keeps coming back to the fact that i can't tell excel to
find a set of data depending on another value, eg it wants
"=MAX(V10:V34)" but i want it to interpret "=MAX(V(10+B3):V(10+B4))"

if anyone knows anything that may help me with this is would be very
very greatful

thanks in advance

Owen


--
owen080808
------------------------------------------------------------------------
owen080808's Profile: http://www.excelforum.com/member.php...o&userid=32984
View this thread: http://www.excelforum.com/showthread...hreadid=528109

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Finding max from different ranges of data

Hi

Try something like this:
=MAX(INDIRECT("V"&B3+10):INDIRECT("V"&B4+10))

Andy.

"owen080808" wrote
in message ...

Hello all (first post so bear with me)

I am currently working on an excel sheet which contains lots of data,
it lists a value for every hour of a whole year. What i cant seem to
get excel to do is find the maximum value in say a 24 hour period (this
must be a preiod that can be specified by me elsewhere in the sheet) and
get it to display the maximum value as i change the day for which i need
the data, as this will go on to be used elsewhere in the sheet. i hope i
am managing to explain this clearly

I think i may have to move into macro's to do this but have no
knowledge of them so if possible would like to continue to use
functions with which i am more familiar.

The problem keeps coming back to the fact that i can't tell excel to
find a set of data depending on another value, eg it wants
"=MAX(V10:V34)" but i want it to interpret "=MAX(V(10+B3):V(10+B4))"

if anyone knows anything that may help me with this is would be very
very greatful

thanks in advance

Owen


--
owen080808
------------------------------------------------------------------------
owen080808's Profile:
http://www.excelforum.com/member.php...o&userid=32984
View this thread: http://www.excelforum.com/showthread...hreadid=528109



  #3   Report Post  
Posted to microsoft.public.excel.misc
owen080808
 
Posts: n/a
Default Finding max from different ranges of data


Thanks

I have been able to get it to work using this, i am very greatful for
your knowledge!

But i have now reached another problem, is it possible to get excel to
return info on which row the max it has found appears in (if it could
say max between 6130 and 6154 lies in cell 6144 for example)

any info would be great

Thanks again
Owen


--
owen080808
------------------------------------------------------------------------
owen080808's Profile: http://www.excelforum.com/member.php...o&userid=32984
View this thread: http://www.excelforum.com/showthread...hreadid=528109

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
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Pivot table/chart - can I use data ranges? why will it not group d Forrest Charts and Charting in Excel 0 January 10th 06 07:26 PM
In a 2 Y-Axis chart, how do I assign data ranges to an axis? Claire4Golf Charts and Charting in Excel 1 September 28th 05 07:52 PM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 07:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"