Formulas |
|
To see all the formulas below in action, download the Formula Sample Sheet. Go to the Smartsheet Template Gallery and search on: formula 1. Formula Basics
2. Numeric Formulas
3. Logical Formulas
4. Text Formulas
5. Date Formulas
6. Hierarchy Formulas Hierarchy formulas allow you to roll-up information found on child rows of the referenced parent row. If placed on the parent row in the column with the data to be utilized, the syntax is <function>(CHILDREN()) with empty parentheses. If not placed on the parent row above the data to be utilized, you must include a reference to the parent cell within the desired data column e.g. SUM(CHILDREN([Total Hours]14)). The following functions can use CHILDREN() as a parameter: AVG(), COUNT(), MAX(), MIN(), SUM().
7. Advanced Formulas
8. Troubleshooting Formula Messages
9. Frequently Asked Questions Q. Can a formula reference a cell in a different Smartsheet? A. Not at this time. Smartsheet formulas can only reference cells on the sheet in which the formula exists. Q. How can I get a formula to include rows that are newly added? A. If you are creating a formula to use all values within a column, exclude the row references and only use the column name in the included range (e.g. =SUM([Total Hours]:[Total Hours]). This will ensure that any added rows will be automatically included in the calculation. Q. Can symbol type columns be controlled by formulas? A. Yes, each of the symbols can be set using values in a formula.
Q. How come my formula referencing % Complete isn’t working? A. In columns that are formatted using the % button on the toolbar, if you turn off the formatting you will find that though a value might display as say 50% the actual value is expressed as the decimal value of .5. In your formula (and also in reporting criteria and conditional formatting), use the decimal value for the percentage (e.g. =IF([% Complete]5 < .25, “At Risk”, “ “)) to properly compare % formatted values. Q. Can I modify formulas used in Gantt-specific columns? A. When Gantt dependencies are enabled, Gantt columns such as Start Date, End Date, Duration, and % Complete have inherent formulas to provide Gantt charting functionality. It is not recommended to make changes in these columns as they may be overwritten programmatically. Instead, you can create new columns to perform the desired calculations. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||