JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,687
- Office Version
- 365
- Platform
- Windows
In the table below, I have assigned the name "Balance" to column F. I would like to replace "F6" in I6 with the named range, "Balance", but the offset function doesn't like it.
[TABLE="class: grid, width: 800"]
<tbody>[TR]
[TD="align: center"]R/C
[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="colspan: 2, align: center"]Difference[/TD]
[TD="colspan: 2, align: center"]Formulas[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]Date[/TD]
[TD="align: center"]Price[/TD]
[TD="align: center"]Shares[/TD]
[TD="align: center"]Balance[/TD]
[TD="align: center"]Literal[/TD]
[TD="align: center"]Relative[/TD]
[TD="align: center"]Literal[/TD]
[TD="align: center"]Relative[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]1/31/19[/TD]
[TD="align: center"]$45.49
[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]$4,549.00[/TD]
[TD="align: center"]$161.00[/TD]
[TD="align: center"]#REF![/TD]
[TD]G6: =F6-OFFSET(F6,1,0)
[/TD]
[TD]H6: =Balance-OFFSET(Balance,1,0)[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]2/28/19[/TD]
[TD="align: center"]$43.88[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]$4,388.00[/TD]
[TD="align: center"]($819.00)[/TD]
[TD="align: center"]#REF![/TD]
[TD]G7: =F7-OFFSET(F7,1,0)[/TD]
[TD]H7: =Balance-OFFSET(Balance,1,0)[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]3/31/19[/TD]
[TD="align: center"]$52.07[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]$5,207.00[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[/TR]
</tbody>[/TABLE]
Is there a syntax that will make this work?
Thanks
[TABLE="class: grid, width: 800"]
<tbody>[TR]
[TD="align: center"]R/C
[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="colspan: 2, align: center"]Difference[/TD]
[TD="colspan: 2, align: center"]Formulas[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]Date[/TD]
[TD="align: center"]Price[/TD]
[TD="align: center"]Shares[/TD]
[TD="align: center"]Balance[/TD]
[TD="align: center"]Literal[/TD]
[TD="align: center"]Relative[/TD]
[TD="align: center"]Literal[/TD]
[TD="align: center"]Relative[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]1/31/19[/TD]
[TD="align: center"]$45.49
[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]$4,549.00[/TD]
[TD="align: center"]$161.00[/TD]
[TD="align: center"]#REF![/TD]
[TD]G6: =F6-OFFSET(F6,1,0)
[/TD]
[TD]H6: =Balance-OFFSET(Balance,1,0)[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]2/28/19[/TD]
[TD="align: center"]$43.88[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]$4,388.00[/TD]
[TD="align: center"]($819.00)[/TD]
[TD="align: center"]#REF![/TD]
[TD]G7: =F7-OFFSET(F7,1,0)[/TD]
[TD]H7: =Balance-OFFSET(Balance,1,0)[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]3/31/19[/TD]
[TD="align: center"]$52.07[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]$5,207.00[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[TD="align: center"]
[/TD]
[/TR]
</tbody>[/TABLE]
Is there a syntax that will make this work?
Thanks