I'm doing some tax calculations. The tedious instructions usually read like:
- Subtract line 7 from line 4.
- Enter the smaller for lines 2 and 3
If I'm trying to do this in a table like below, sometimes the table lines don't exactly line up with the tax form "lines". For example:
| Line | Amount | Comment |
|----------+---------+-------------------|
| L1 | 1000 | blah blah blah |
| L2 | 1224 | |
| L3 | 0 | |
| L4 | 1224 | |
| L5 | :=@2+@3 | Add lines 1 and 2 |
Notice how the formula row numbers (2,3) are shifted from the named line numbers.
I saw an advanced feature where you could put labels on fields but you have to reserve a row, like this (from the info docs):
| # | Maximum | 10 | 15 | 25 | 50 | 10.0 |
| ^ | | m1 | m2 | m3 | mt | |
Anyway to do a column version of that? Like this (doesn't work).
| > | Amount | Comment |
|--------+-----------------+---------|
| L1 | 1000 | |
| foo | 200 | |
| tax | 150 | |
| L3 | :=@L1+@foo-@tax | |