I feel so dumb!

I have this expession attached to a table: (org-lookup-all $1 '(remote(payments,@2$4..@>$4)) '(remote(payments,@2$2..@>$2)))

It is returning the right list of numbers since I can examine them with (nth n ....

How do I add the list up? I keep getting #ERROR or obviously wrong answers. What I want is something like

$2='(apply '+ (org-lookup-all $1 '(remote(payments,@2$4..@>$4)) '(remote(payments,@2$2..@>$2))))

but that gives me errors since (I presume) the list is a bunch of strings.

Thanks for any help,
Alan

--
Alan L Tyree                    http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206              sip:typh...@iptel.org


Reply via email to