Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #+TBLNAME: funds
- | year | amount |
- |------+--------|
- | 2010 | 1234 |
- | 2011 | 1254 |
- | 2012 | 4000 |
- | 2013 | 123 |
- #+TBLNAME: diff
- | year | diff |
- |------+-------|
- | 2011 | 20 |
- | 2012 | 2746 |
- | 2013 | -3877 |
- #+TBLFM: @2$1=remote(funds,@3$1)::@2$2=remote(funds,@3$2)-remote(funds,@2$2)
- #+TBLFM: @3$1=remote(funds,@4$1)::@3$2=remote(funds,@4$2)-remote(funds,@3$2)
- #+TBLFM: @4$1=remote(funds,@5$1)::@4$2=remote(funds,@5$2)-remote(funds,@4$2)
- how to make the above simpler?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement