[Using a math function in the expression]
[Referencing another column]
![]() |
New columns can be added to the spreadsheet containing values that are based on or calculated from molecular properties or existing spreadsheet data. To create a new columns, select the ``Create Column" option in the top level Data menu. This will launch a dialog to guide the process and can be seen in Figure 7.4.
The text entry field at the top contains the name for the new column. A new, empty and editable column can be easily be created by supplying a new column name and then clicking the ``Create" button.
Beneath the name is a collection of three drop down boxes containing functions which can be used in building the expression to be evaluated when populating the column. The first drop down box contains a collection of available mathematical functions which can be used in the expression (see Section 7.5.1 for more details). The second drop down box contains a collection of available molecular properties that can be used in the expression (see Section 7.5.2 for more details). The last drop down box contains a list of the other already existing columns which can be used as part of the expression.
Any of the above described functions can be added to the expression simply by selecting them in the appropriate drop down box. If that function requires additional input (such as functions like cos), the cursor in the expression editor window will automatically be placed inside the function. Functions can be combined with standard math operators such as *, +, -, and . If a function requires additional input that is not provided, an error will be displayed in the Test section at the bottom of the dialog as seen in Figure 7.4(b). Frequently, the desired input is contained within another column which can be referenced by selecting the desired column from the third drop down box or simply by typing ``COL(`COLUMN NAME')" as seen in Figure 7.4(c).
Once the desired expression has been assembled, the column can be created and added to the spreadsheet by clicking on the ``Create" button.
|
A large number of math functions are available for use in spreadsheet expressions as described in the previous section. The currently available math functions can be found in Table 7.1.
|
A large number of molecular properties are available for use in spreadsheet expressions as described above. The currently available molecular properties can be found in Table 7.2.