Greetings,
This has turned out to be more challenging than I thought it would be. Here's my situation.
I have a worksheet with data in multiple blocks of rows (typ. 5 to 25 rows each). Each of these blocks is separated by a blank row. The blocks themselves have no blanks / blank rows.
The first row in each 'block' is a header row. Column J has a percent value entered into it.
What I want is for all the rows below it (within the block) to equal the value entered in the header row (in column J)
The formula has to accommodate a variable number of rows and processing whereby rows may be added or deleted within the block.
The block itself can shift up or down in the sheet as part of normal processing.
For example:
Say one of my blocks currently occupies rows 50 to 75. Cell J50 will have 80% entered into it. Cell J49 is blank. Cell J76 is blank.
I'm looking for a formula to use in J51 thru J75 that will pull in the value from J50 (80%).
Currently, I am using the following formula =INDIRECT(ADDRESS(ROW()-1,COLUMN()))
This does work nicely, but I'm a bit hesitant since this is a volatile function.
So far, it does not appear to be affecting the performance of my workbook, but I'd still like to know if there is a way without resorting to use of a volatile function.
Most solutions I've come across that are close to what I'm trying to accomplish require specification of a range which I think could be problematic.
Note - My thread title is just one way to express what I'm trying to achieve. Obviously the correct end result is what I'm after, however achieved.
Looking forward to your ideas.
This has turned out to be more challenging than I thought it would be. Here's my situation.
I have a worksheet with data in multiple blocks of rows (typ. 5 to 25 rows each). Each of these blocks is separated by a blank row. The blocks themselves have no blanks / blank rows.
The first row in each 'block' is a header row. Column J has a percent value entered into it.
What I want is for all the rows below it (within the block) to equal the value entered in the header row (in column J)
The formula has to accommodate a variable number of rows and processing whereby rows may be added or deleted within the block.
The block itself can shift up or down in the sheet as part of normal processing.
For example:
Say one of my blocks currently occupies rows 50 to 75. Cell J50 will have 80% entered into it. Cell J49 is blank. Cell J76 is blank.
I'm looking for a formula to use in J51 thru J75 that will pull in the value from J50 (80%).
Currently, I am using the following formula =INDIRECT(ADDRESS(ROW()-1,COLUMN()))
This does work nicely, but I'm a bit hesitant since this is a volatile function.
So far, it does not appear to be affecting the performance of my workbook, but I'd still like to know if there is a way without resorting to use of a volatile function.
Most solutions I've come across that are close to what I'm trying to accomplish require specification of a range which I think could be problematic.
Note - My thread title is just one way to express what I'm trying to achieve. Obviously the correct end result is what I'm after, however achieved.
Looking forward to your ideas.