Bernt Hansen <[EMAIL PROTECTED]> writes:

> This works better.  It doesn't assume anything about the data and you
> can add as many horizontal lines as you want in the table.  This also
> removes the requirement for the trailing horizontal line from the
> previous solution.
>
>   | Row | Data Column 1 | Data Column 2 |
>   |-----+---------------+---------------|
>   |   1 | x1            |               |
>   |   2 | some data     | more data     |
>   |-----+---------------+---------------|
>   |   3 |               |               |
>   |   4 |               |               |
>   |   5 |               |               |
>   |   6 |               |               |
> #+TBLFM: $1=vlen(@I$2..0)/2;EN

Last one... *honest*

  | Row | Data Column 1 | Data Column 2 |
  |-----+---------------+---------------|
  |   1 | x1            |               |
  |   2 | some data     | more data     |
  |-----+---------------+---------------|
  |   3 |               |               |
  |   4 |               |               |
  |   5 |               |               |
#+TBLFM: $1=vlen(@I$1..0);EN

-Bernt


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to