|
From: | Nick Dokos |
Subject: | Re: [O] Tables for attendance lists - A problem understanding TBLFM? |
Date: | Tue, 9 Apr 2013 11:10:13 -0400 |
> Try this:Interesting, my org-mode version behaves differently, and still gives
>
> #+CAPTION: Attendances for April
> |---------+-------------------+---+---+---+---+----+-------|
> | Account | Name | 1 | 3 | 5 | 8 | 10 | Total |
> |---------+-------------------+---+---+---+---+----+-------|
> | 1234 | Cárdenas, Lázaro | X | | X | X | | 3 |
> | 5678 | Madero, Francisco | X | X | X | X | | 4 |
> | 1544 | Villa, Pancho | | | | | | 0 |
> | 0113 | Zapata, Emiliano | | X | X | | | 2 |
> |---------+-------------------+---+---+---+---+----+-------|
> #+tblfm: @II+1$>address@hidden>='(length (delq "" '($<<<..$>>)))
'1' for the empty row with your version:
Substitution history of formula
(...)
@r$c-> '(length (delq "" '("0")))
$1-> '(length (delq "" '("0")))
Result: 1
[Prev in Thread] | Current Thread | [Next in Thread] |