From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: org-table Row Count Formula Date: Wed, 30 Jul 2014 16:52:42 +0800 Message-ID: <87mwbr2pph.fsf@ericabrahamsen.net> References: <877g2vl04h.fsf@quasar.esben-stien.name> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCPZ3-0001Ac-Qh for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 04:48:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCPYs-0006av-SB for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 04:48:49 -0400 Received: from plane.gmane.org ([80.91.229.3]:49148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCPYs-0006aZ-LC for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 04:48:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XCPYr-0006y1-9Z for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 10:48:37 +0200 Received: from 111.197.159.241 ([111.197.159.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jul 2014 10:48:37 +0200 Received: from eric by 111.197.159.241 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Jul 2014 10:48:37 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Esben Stien writes: > I'm trying to figure out how to get the number of rows in an org-table, > but I can't find this in the documentation. > > Anyone have an idea? The vcount function will count the number of elements in a vector, so you could probably pass a range reference, like @1..@> (first row to last row) to vcount. I think empty rows would be omitted, though.