The syntax of a cell reference expression is: $C{RotationMethod, Block, Worksheet, Column 1, Row 1, Column 2, Row 2}. The meaning of the components is: | Component | Required | Description | | --------------- | :------: | --------------------------------------------------------------------------------------------- | | Rotation method | Yes | The starting point of the range. | | Block | Yes | The block from which the values are copied, configured in [Blocks](invantive-control-blocks). | | Worksheet | Yes | The worksheet to which the reference refers. | | Column 1 | Yes | The column to which the expression refers. | | Row 1 | Yes | The row to which the expression refers. | | Column 2 | No | The second column can be used to specify the range of the column. | | Row 2 | No | The second row can be used to specify the range of the row. | The following options are available: | Component | Options | Additional option | Explanation | | --------------- | ---------------------------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------- | | Rotation method | D <br>E | | First cell and first row <br>As specified for the block | | Block | . <br>‘Block name’ | | The current block <br>Name of the block | | Worksheet | . <br>‘Worksheet name’ <br>^ <br>$ | +/-n | Current worksheet <br>Name of the worksheet <br>First worksheet <br>Last worksheet | | Column 1 | . <br>‘Column name 1’ <br>^ <br>$ | +/-n | Current column <br>Column name as it appears in the block <br>First column of the block <br>Last column of the block | | Row 1 | . <br>‘Row name 1’ <br>^ <br>$ | +/-n | Current row <br>Row name as it appears in the block <br>First row of the block <br>Last row of the block | | Column 2 | . <br>‘Column name 2’ <br>^ <br>$ | +/-n | Current column <br>Name of the column <br>First column <br>Last column | | Row 2 | . <br>‘Row name 1’ <br>^ <br>$ | +/-n | Current row <br>Name of the row as it appears in the block <br>First row of the block <br>Last row of the block | Example of using a cell reference expression: | Component | Example | Explanation of example | | --------------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------- | | Rotation method | D <br>E | First cell and first row <br>As specified for the block | | Block | . <br>‘Projects’ | The current block <br>The ‘Projects’ block | | Worksheet | . <br>‘Worksheet name’ <br>^ <br>$ | The current worksheet <br>The ‘Worksheet 1’ worksheet <br>The second worksheet <br>The penultimate worksheet | | Column 1 | .-1 <br>‘Project code’ <br>^+2 <br>$ | The current column minus one <br>The ‘Project code’ column <br>The third column of the block <br>The last column of the block | | Row 1 | .+1 <br>‘Project code’ <br>^-1 <br>$ | The current row plus one <br>The ‘Project code’ row <br>The row above the block <br>The last row of the block | | Column 2 | . <br>‘Project code’ +2 <br>^+3 <br>$-2 | The current column <br>Two columns to the right of the ‘Project code’ column <br>The fourth column <br>The second-to-last column | | Row 2 | .+2 <br>‘Project code’ <br>^-1 <br>$ | The current row plus two <br>The ‘Project code’ row <br>The row above the block <br>The last row of the block | A commonly used cell reference expression is $C{E,.,.,^,.}: the first column of the current row. For the components Worksheet, Column 1/2 and Row 1/2, it is also possible to specify - or + followed by a natural number in the additional options. The additional option ensures that the number is subtracted from or added to the option. Cell reference expression properties: - Case-sensitive; - Also works within SQL functions, such as SUM, COUNT, AVG, etc.