Expression Elements
Expression elements are expressions defining a calculated field or a global edit.
| Element | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Character operators | You can include the following character operators in a calculated field or global edit expression:
|
||||||||||||||||||||||||
| Constants | You can include text, date, numeric, and logical constants in a calculated field or global edit:
|
||||||||||||||||||||||||
| Duration operators | You can include the following duration operators in a calculated field or global edit expression:
|
||||||||||||||||||||||||
| Field names | When including a field in an expression for a calculated field or global edit, you must enter the name of the field and not the descriptive name that is displayed in spreadsheet column headings. For example, if you want to define a calculated field expression that references the field containing early start dates, you must identify the field as ESDATE, not Early Start. | ||||||||||||||||||||||||
| Functions | Calculated field and global edit expressions can contain a number of functions. For more information, refer to the topic "Using the Functions Dialog Box" accessed by clicking See Also on this Help topic. | ||||||||||||||||||||||||
| Logical operators | You can include the following logical operators in a calculated field or global edit expression: AND; NOT; OR; AND NOT; Group (( )) | ||||||||||||||||||||||||
| Mathematical operators | You can include the following mathematical operators in a calculated field or global edit expression: Add (+); Subtract (-);Multiply (*);Divide (/);Group (( )); Exponentiate (^ or **).
Expressions containing mathematical operators are evaluated according to the normal rules of precedence:
|
||||||||||||||||||||||||
| Calculated fields | Expressions defining calculated fields or global edits can include references to previously defined calculated fields. Note that a calculated field cannot include a reference to itself. | ||||||||||||||||||||||||
| Relational operators | Expressions for calculated fields or global edits can include the following relational operators: Equal to (=);Not equal to (<>);Greater than (>);Greater than or equal to (>=);Less than (<);Less than or equal to (<=);Contained in ($) |
Parent Topic: Calculated Fields