Row, Column, or Cell Reference Arguments
The syntax for a row, column, or cell argument is:
FunctionName(GridName.GridElement[segment(range)].Property)
Table 11-1 Argument Components
| Argument | Description | 
|---|---|
| GridName | (Optional) Name of a grid. For example,  If  | 
| GridElement | (Optional) One of the following keywords:  For example,  You must specify row and column segment IDs. For example,  The keyword  If  | 
| segment | (Required) Row, column, or cell reference number of a grid. For an expanded row or column, you must specify the segment. For example,  | 
| range | (Optional) Rows, columns, or cells that are expanded from the specified segment. If  When  Note: If a segment expands to only one row or column, do not use the  | 
| property | (Optional) One of the following keywords:  Do not specify property when a reference is an argument. By not specifying property, the function calculates the reference in the most appropriate way. For example, the following expression returns the average of the cells within rows 1 and 2: 
 Whereas the following example first calculates the average of  
 The default property for a row, column, or cell reference that is not used as a function argument is the  
 See Aggregate Property Arguments and Reference Property Arguments. | 
Because segment is the only required part of a reference, the following references are the same:
                  
 Grid1.row[1].sum [1]AverageA and CountA include #missing and #error cells in the calculation. For example, if row 1 is a segment row that expands to Qtr1 = 100, Qtr2 = 200, Qtr3 = #missing, and Qtr4 = 400, the following function returns the value four (4): 
                  
row[1].CountAAll other functions exclude #missing data or #error cells. For example, the previous example of row 1 that expands to Qtr1 = 100, Qtr2 = 200, Qtr3 = #missing, and Qtr4 = 400, returns three in this example: 
                  
row[1].Count