CalculatedColumnFormula Class

Calculated Column Formula.When the object is serialized out as xml, its qualified name is x:calculatedColumnFormula.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Spreadsheet.TableFormulaType
          DocumentFormat.OpenXml.Spreadsheet.CalculatedColumnFormula

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class CalculatedColumnFormula _
    Inherits TableFormulaType
'Usage
Dim instance As CalculatedColumnFormula
public class CalculatedColumnFormula : TableFormulaType

Remarks

[ISO/IEC 29500-1 1st Edition]

18.5.1.1 calculatedColumnFormula (Calculated Column Formula)

Columns in a table can have cells that are calculated, usually based on values in other cells in the table. This element stores the formula that is used to perform the calculation for each cell in this column.

It shall be understood that formulas which reference columns of this table, shall be calculated using the cells in those columns on the same row of the table as the cell that the formula resides in.

See §18.17 for details on the format required for formulas.

Parent Elements

tableColumn (§18.5.1.3)

Attributes

Description

array (Array)

A Boolean value that indicates whether this formula is an array style formula.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_TableFormula) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CalculatedColumnFormula Members

DocumentFormat.OpenXml.Spreadsheet Namespace