Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Max
 
Posts: n/a
Default how do I do a variable length array based on the value in a cell

Think OFFSET could be used,
with the height param pointing to a cell.

For eg, with the height param number in A1, say: 5
=OFFSET($B$1,,,A1)
would return the range B1:B5

If A1 contains 10, then the range B1:B10 is returned
And so on
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mark Pranger" <Mark wrote in message
...
I want to create a cell range that will be based on the value of a cell so
that i can change the value of the cell and the range will lengthened or
shortened. Say I want to have the range start at cell b1 and go down the
column for 10 cells. then I decide to change it to 15 cells and then 40
cells. But I don't want to have to rewrite the formula each time. Any
suggestions?



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
Return a cell value based on specific combinations of cells in an array rmcnam05 Excel Worksheet Functions 2 October 11th 05 03:28 AM
Conditional Formating for a cell based on another cell's value steve-o Excel Discussion (Misc queries) 1 October 6th 05 09:50 PM
Linking a cell to another workbook cell based on a variable name Brian Excel Discussion (Misc queries) 6 June 1st 05 11:54 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM
changing value of a cell based on another cell color Gary Excel Discussion (Misc queries) 2 January 30th 05 10:19 AM


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