Hi,
I have a worksheet with thousands of rows. Each row contains several cells with formulas that reference other cells on that row.
For example, cell E1 has this formula: =A1+B1. Cell F1 has this formula: =C1+D1.
The same kinds of formulas appear on each row. For example, cell E100 has this formula: =A100+B100.
Is there a way to write a cell's formula so that it uses column offsets from the cell? For example, could the formula for E1
be written as: =OFFSET([currentcell],0,-4)+OFFSET([currentcell],0,-3) where [currentcell] identifies the address of the current cell.
If I could do this, then every formula in a given column would be the same, and would be easier to maintain.
I realize I can drag the fill handle for a formula vertically, and the row references will adjust automatically.
Nevertheless, I would like to know if cell formulas can be written using row and column offsets from the current cell.
Thanks!
I have a worksheet with thousands of rows. Each row contains several cells with formulas that reference other cells on that row.
For example, cell E1 has this formula: =A1+B1. Cell F1 has this formula: =C1+D1.
The same kinds of formulas appear on each row. For example, cell E100 has this formula: =A100+B100.
Is there a way to write a cell's formula so that it uses column offsets from the cell? For example, could the formula for E1
be written as: =OFFSET([currentcell],0,-4)+OFFSET([currentcell],0,-3) where [currentcell] identifies the address of the current cell.
If I could do this, then every formula in a given column would be the same, and would be easier to maintain.
I realize I can drag the fill handle for a formula vertically, and the row references will adjust automatically.
Nevertheless, I would like to know if cell formulas can be written using row and column offsets from the current cell.
Thanks!