LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 67
Default Index to define a range

Fantastic. Now, I though I had tried (and tried and tried) that format but
kept getting errors and assumed these were to do with the ":" in the middle
of the statement... but it must have been something else in my typing!
Many thanks for your quick and helful response.
Best wishes, Boris.

"JE McGimpsey" wrote:

How about:


=AVERAGE(INDEX(B:B,some_calculation_to_define_my_s tartpoint):INDEX(B:B,
some_calculation_to_define_my_endpoint))

??


In article ,
Boris wrote:

Hi,
Last year, I got a very handy tip from Harlan Grove to improve my very
clumsy Indirect(Address(Match...)) statements to define the endpoint of
ranges used for calculations (eg Max etc) by using much simpler, non-volatile
Index statements (thanks Harlan €€ś this is still a life saver). Now I am
trying to construct a formula in which I need to define as a function the
start of the range I want to perform a calculation on as well as the end.
Previously, I had something like:
Average(B23:index(B:B,some_calculation_to_define_m y_endpoint)
Is there a (simple) way, avoiding volatiles if at all possible, to use a
similar construction to define the starting cell of the reference (B23 in the
€œexample€ above) too? I (think I) can construct an Offset statement to
achieve the result I want but would prefer something not depending on
volatiles if such a construction is possible.
Many thanks, as always, for any help
Boris.


 
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
Define a range of cells in VBA Noemi Excel Discussion (Misc queries) 2 October 20th 05 04:32 AM
how to define range names anton New Users to Excel 1 October 14th 05 08:28 AM
Looking for code to define a range Ant Excel Discussion (Misc queries) 3 October 3rd 05 06:22 PM
Define a range based on another named range Basil Excel Worksheet Functions 2 February 21st 05 01:47 PM
Define Range with an offset GregR Excel Discussion (Misc queries) 9 December 21st 04 07:22 AM


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