0

In my orgmode table formula, i would like to get the number of rows between hlines (for example: @I..@II). Does anyone know how to do it?

2

You can use calc's vlen operator to get the number of elements this way:

| Title |
|-------|
| row 1 |
| row 2 |
| row 3 |
|-------|
| 3     |
#+TBLFM: @5$1=vlen(@I..@II)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.