dhruvasagar / vim-table-mode

VIM Table Mode for instant table creation.
2.1k stars 97 forks source link

Formula operations on rows #225

Closed engeljh closed 11 months ago

engeljh commented 1 year ago

Is there a simple way of , e.g., summing the members of each column and printing the answers to each sum in the bottom row? That is, can you do in one formula for rows (e.g. adding them columnwise) what it's easy to do for columns (adding then row-wise)? Right now, it seems you have to write a separate formula for each column that you want to sum the members of. If it's not currently possible to do the operations all at once, might it be possible to add that ability?

dhruvasagar commented 11 months ago

You would need to implement your own custom function I believe @engeljh

dhruvasagar commented 11 months ago

Perhaps https://github.com/dhruvasagar/vim-table-mode/issues/214 would be helpful in that regard