Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default INDIRECT / Setting to vary a range?

060903: INDIRECT / Setting to vary a range?
hi, am looking for way to vary a range from a single setting / cell..
to vary the number of columns used, in a range; have examples:

would like to be able to extend CR:CV (5 columns), to 10 columns.. CR9:DA9
to allow row nine to be dynamic to any row. thanks

=IF(OR(CQ9="",CV9=""),"",AVERAGE(CR9:CV9))

have idea: (but does not allow for different rows?) / don't know how to
modify for use from a single cell..
or is there another way to answer problem? possibly INDIRECT?
=SUBSTITUTE(SUBSTITUTE(CELL("address",$CV$9),"$"," "),ROW(),"")
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 383
Default INDIRECT / Setting to vary a range?

with: (wrong with row 11 after indirect)
=IF(OR(CQ11="",CU11=""),"",AVERAGE(CQ11:INDIRECT($ DX$3)11))

using 1 cell to be able to adjust CV (with location in 3rd row, use 3, and
3 disappears/ only "CV" shows):
=SUBSTITUTE(SUBSTITUTE(CELL("address",$CV$3),"$"," "),ROW(),"")


"nastech" wrote:

060903: INDIRECT / Setting to vary a range?
hi, am looking for way to vary a range from a single setting / cell..
to vary the number of columns used, in a range; have examples:

would like to be able to extend CR:CV (5 columns), to 10 columns.. CR9:DA9
to allow row nine to be dynamic to any row. thanks

=IF(OR(CQ9="",CV9=""),"",AVERAGE(CR9:CV9))

have idea: (but does not allow for different rows?) / don't know how to
modify for use from a single cell..
or is there another way to answer problem? possibly INDIRECT?
=SUBSTITUTE(SUBSTITUTE(CELL("address",$CV$9),"$"," "),ROW(),"")

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
How do I use indirect when referring to a named range in a closed Ed Green Excel Worksheet Functions 3 May 22nd 06 08:01 PM
Setting source data range with Charts D Charts and Charting in Excel 2 January 1st 06 02:51 AM
Setting the magnification to a range of cell's ceemo Excel Discussion (Misc queries) 3 August 19th 05 01:53 PM
Setting dynamic range in a formula Phillycheese5 Excel Worksheet Functions 9 June 10th 05 07:58 PM
Summing a range using INDIRECT & ADDRESS Todd Excel Worksheet Functions 3 June 7th 05 10:53 PM


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