Hello - I have the following formula, and I am looking for a way to copy this formula down a row, and have the row-variable "-11" auto increment:
=IFERROR(DATEDIF(J16,OFFSET(J16,-11,4),"d"),"TBD")
When copying this formula down, although it properly updates J16 to J17 and so on, I also need the "-11" to increment to "-12", "-13" and so on.
Ideally I would like this to be solved using a formula as this is a template form that can be appended in succession within the same worksheet, and when pasted (via macro) the cell referred to using OFFSET also changes - but fortunately the J16 is relative and updates to the row within which the new template is copied.
I have spent hours looking at INDEX, MATCH, creating hidden reference cells to calculate a value I can refer to -- the root of the problem is I can easily create an array and search down, however I have not found a way to search up a column where the number of rows are dynamic/changing with multiple matching values. So part B or the BEST solution would be a way to translate the following into a formula:
"from cell (e.g. D100), search up within column D until you find the first occurrence of the string "DATE" and return the row (or alternatively the cell coordinates)...."
Thoughts??
=IFERROR(DATEDIF(J16,OFFSET(J16,-11,4),"d"),"TBD")
When copying this formula down, although it properly updates J16 to J17 and so on, I also need the "-11" to increment to "-12", "-13" and so on.
Ideally I would like this to be solved using a formula as this is a template form that can be appended in succession within the same worksheet, and when pasted (via macro) the cell referred to using OFFSET also changes - but fortunately the J16 is relative and updates to the row within which the new template is copied.
I have spent hours looking at INDEX, MATCH, creating hidden reference cells to calculate a value I can refer to -- the root of the problem is I can easily create an array and search down, however I have not found a way to search up a column where the number of rows are dynamic/changing with multiple matching values. So part B or the BEST solution would be a way to translate the following into a formula:
"from cell (e.g. D100), search up within column D until you find the first occurrence of the string "DATE" and return the row (or alternatively the cell coordinates)...."
Thoughts??