ChristineJ
Well-known Member
- Joined
- May 18, 2009
- Messages
- 761
- Office Version
- 365
- Platform
- Windows
Is there a way to return an "offset formula" to a cell - A4 in this example?
Cell A1 value = 3 (number of rows to add - can vary)
Cell A2 value = 5 (number of columns to add - can vary)
Cell A3 contains any formula, such as =SUM(H5:K8) - C2 * D4
Cell A4 should return the following formula: =SUM(M8:P11) - H5 * I7
This would be the formula if three rows were inserted above row 3 and 5 columns were inserted to the left column A, although I do not actually want to insert the rows or columns. I just want to know what the formula would be if I did. Thanks!
Cell A1 value = 3 (number of rows to add - can vary)
Cell A2 value = 5 (number of columns to add - can vary)
Cell A3 contains any formula, such as =SUM(H5:K8) - C2 * D4
Cell A4 should return the following formula: =SUM(M8:P11) - H5 * I7
This would be the formula if three rows were inserted above row 3 and 5 columns were inserted to the left column A, although I do not actually want to insert the rows or columns. I just want to know what the formula would be if I did. Thanks!