You are here: Features > Cell Functions > Mathematical and Financial Functions > COLCOUNT function

COLCOUNT Function

The COLCOUNT function returns the number of columns in the first found instance of the specified table.

Syntax

COLCOUNT(tablename)

The COLCOUNT function searches text areas of the document in the following order, Main Document, Headers, Footers, Carry Forward, Auto Copy, returning the number of columns for the first table encountered that matches the specified table name.

Example 1

Entering COLCOUNT(ABC) in a cell returns the number of columns in table ABC.

Related Topics