Dynamic Table Functions

Description

GoFormz supports dynamic row and column functions that you can use with your tables. These will reference either the current row or current column.

Syntax

Row()

Column()

Row() returns the number of the row your formula is in

Column() returns the number of the column your formula is in

Examples

Set up a table in your template with the following Default Values:

Column 1Column 2Column 3
="10"="7"=SUM([Table]![1][Row()]:[2][Row()])
="15"="14"="18"
="20"=Column()="27"
=SUM([Table]![Column()][1]:[Column()][3])=Row()=IF([Table]![2][Row()] > [Table]![Column()][3], "true", "false")
FormulaDescriptionResult
=SUM([Table]![Column()][1]:[Column()][3])Sums the first three rows of the current column45
=SUM([Table]![1][Row()]:[2][Row()])Sums the first two columns of the current row17
=IF([Table]![2][Row()] > [Table]![Column()][3], "true", "false")Checks if the value in [2][4] is greater than the value in [3][3] and returns truetrue
=Column()Returns current column2
=Row()Returns current row4