Smartsheet Formulas 2023
3. Write a formula that counts the number of ancestor rows of a specific child row.
3. =ANCESTORS([Child Row]1) - 1 // Subtracting 1 to exclude the row itself from the count
3. In Smartsheet, what are circular references, and how can they be resolved to eliminate formula errors?
3. Circular references occur when a formula directly or indirectly references the cell containing the formula, causing an infinite loop of calculations and formula errors. To resolve circular references, check the formula references for direct and indirect self-referencing, modify ranges, and adjust the calculation sequence to eliminate circular dependencies.
3. How do you use the IF statement in Smartsheet to display a message based on a condition?
3. To use the IF statement in Smartsheet, you can use the following syntax: =IF(condition, true_result, false_result). For example, if you want to display a message "Yes" if the value in cell A1 is greater than 10, and "No" otherwise, the formula would be: =IF(A1>10, "Yes", "No")
8. Write a formula that returns the value of a specific cell in the parent row of a specific child row.
8. =INDEX([Parent Row]1, 1, [Column Number])
Write a formula to include the parent row data in a cell in a sheet based on when the "Status" is "Done"
=IF([Status]1 = "Done", JOIN("-", [Parent Row]1, [Child Row]1), "")
Write a formula that calculates the sum of a range of cells.
=SUM([Transaction Total]:[Transaction Total]) This sums the "Transaction Total" column
Formulas: What is absolute cell referencing?
Add a $ in front of the column name, row number, or both and it will not change when moved, copied, or filled
Formulas: What is relative cell referencing?
As you copy, the formula will automatically change its respective field references
When you get the error #INVALID REF, what does it mean?
Cause: A reference name to another sheet (in curly braces) doesn't exist as a reference to another sheet. Resolution: Either change the name within the curly braces to be that of an already created reference to another sheet, or create a new reference to another sheet. See Formulas: Reference Data from Other Sheets for more information on this process.
What does the formula error #UNPARSEABLE mean?
Cause: The formula has a problem which prevents it from being parsed and interpreted. This can happen for many reasons, such as misspelling, incomplete operators, using the wrong case for a column name, or using single quotes instead of double quotes. Resolution: Ensure that all column names are spelled correctly in cell references, operators are being used correctly, and any text strings in the formula are surrounded by double quotes (" ").
For a Smartsheet formula error, what does #CIRCULAR REFERENCE mean?
Cause: The formula references itself. The circular reference may be direct where the reference is in the formula text itself, or indirect where this formula references a cell which then references back to this cell.
Write a formula that counts the number of cells in a range that meet a certain criteria.
Count cells based on criteria formula: =COUNTIF(Cell Range, Criteria)
Write a formula that calculates the number of days between two dates.
Days between two dates formula: =End Date - Start Date
1. Write a formula that updates a column to show if a task is overdue or not based on its due date.
1. =IF(TODAY() > [Due Date]1, "Overdue", "On Track")
1. Write a formula that combines data from child rows and their parent row in a report.
1. =JOIN("-", [Parent Row]1, [Child Row]1)
1. Write a formula that sums the values of a column for all child rows of a specific parent row.
1. =SUM(CHILDREN([Parent Row]1: [Parent Row]1))
1. What are common reasons why a formula may not be functioning correctly in Smartsheet?
1. Common reasons for formula errors in Smartsheet can include syntax errors, formula circular references, incorrect range references, or errors in data types or format. Other issues could be caused by errors in cell ranges or dependencies.
1. In a Smartsheet sheet, a simple SUM formula is not working correctly and producing an unexpected result. What are some possible reasons why the SUM formula is not working, and what steps could you take to troubleshoot the issue?
1. Possible reasons for a SUM formula not working correctly in Smartsheet include referencing the wrong range of cells or using an incorrect syntax. To troubleshoot, check that the range of cells being summed is correct, check that the cells being summed contain valid numbers, and ensure that the syntax is correct.
1. How do you calculate the sum of a range of cells in Smartsheet?
1. To calculate the sum of a range of cells in Smartsheet, you can use the SUM function. For example, if you want to sum up the values in cells A1 through A5, the formula would be: =SUM(A1:A5)
2. Write a formula that includes the parent row name in a column of a sheet that contains child rows.
2. ="Project Name: " & [Parent Row]1
2. Write a formula to update a dropdown list based on the status of a task.
2. =IF([Status]1 = "Completed", "Finished", IF([Status]1 = "In Progress", "Ongoing", "Not Started"))
2. Write a formula that returns the parent row of a specific child row.
2. =PARENT([Child Row]1)
2. A complex IF formula in Smartsheet is not producing the expected results and is returning errors. What are some possible reasons for this issue, and how can you resolve them?
2. Reasons for a complex IF formula not working correctly in Smartsheet range from incorrect syntax to circular references. To resolve, check the syntax, check the cell references for circular references, and make sure you are using correct data types.
2. How can you identify errors in Smartsheet formulas, and what tools does the application provide to help you troubleshoot these issues?
2. Smartsheet's formula error checking tools include syntax highlighting, error messages that suggest troubleshooting steps and point out errors, and the Formula Assistant. Smartsheet also shows cell references to help users identify the exact cells associated with the formulas, making it easier to troubleshoot issues.
2. A formula in a Smartsheet cell is returning "#ERROR!" error messages. What could be causing these errors, and what are some troubleshooting steps you can take to fix the issue?
2. The "#ERROR!" error messages in Smartsheet cell formula are typically associated with syntax errors, circular references, or data type issues. To fix this error, double-check syntax, ensure data types match, and eliminate circular references.
2. What is the formula to calculate the average of a range of cells in Smartsheet?
2. To calculate the average of a range of cells in Smartsheet, you can use the AVERAGE function. For example, if you want to find the average of the values in cells A1 through A5, the formula would be: =AVERAGE(A1:A5)
3. Write a formula that updates a symbol column to show a different icon based on the percentage of a task (100% complete should be green check mark, past due should be a red exclamation mark, or otherwise, it should be a blue circle).
3. =IF([Percent Complete]1 = 100, "Green Check", IF([Due Date]1 < TODAY(), "Red Exclamation Mark", "Blue Circle"))
3. Describe some best practices for testing and debugging formulas in Smartsheet to ensure their accuracy.
3. Best practices for testing and debugging formulas in Smartsheet includes breaking complex formulas into smaller, tested components. Proper testing also includes verifying that the correct values are returned under different scenarios and inputs.
3. A COUNTIF formula in Smartsheet is not working as expected, and it is not counting all the relevant cells. What could be going wrong, and what can you do to troubleshoot and fix the issue?
3. Possible issues with a COUNTIF formula in Smartsheet include missing criteria or incorrect syntax. To troubleshoot, check that the criteria match the cells being counted, ensure that the syntax is correct, and verify that the cell range is appropriate.
4. Write a nested IF() formula to categorize tasks into different priority levels based on their urgency and impact. (If urgency is more than 4 and impact is more than 3 it should be 'High Priority', if urgency is 3 and impact is 2, the task will be marked as 'Medium Priority'. If both Urgency or impact are lower than the previous, the task is 'Low Priority'.)
4. =IF(AND([Urgency]1 > 4, [Impact]1 > 3), "High Priority", IF(OR([Urgency]1 = 3, [Impact]1 = 2), "Medium Priority", "Low Priority"))
4. In a Smartsheet sheet, a formula is returning "#REF!" errors when attempting to reference another cell. What are some possible reasons why this is happening, and what can you do to correct the issue?
4. Smartsheet's "#REF" error indicates that there are invalid cell references in the formula. To fix the issue, check the cell references in the formula and make sure they are valid, and ensure that any d cells are excluded from the formula's range.
4. A formula in a Smartsheet cell is returning a "#NAME?" error message. What could be the possible reasons for this error message, and what are some steps you can take to troubleshoot and fix the issue?
4. The "#NAME?" error message in a Smartsheet cell formula commonly occurs because the formula is referencing a named range or variable that doesn't exist, misspelling a function name, or incorrect syntax. To fix this error, double-check the formula syntax and make sure that named ranges and functions are spelled correctly and that they exist in your worksheet.
4. How do you use the COUNTIF function in Smartsheet to count the number of cells that meet a specific criterion in a range of cells?
4. To use the COUNTIF function in Smartsheet, you can use the following syntax: =COUNTIF(range, criterion). For example, if you want to count the number of cells in the range A1:A5 that contain the text "Apple", the formula would be: =COUNTIF(A1:A5, "Apple")
5. Write a formula that changes the color of a button indicator based on the value of a certain cell. (Completed tasks should show a green icon. If it is past due, it will show the red one. Yellow should be the what it is if neither of the two previous conditions are met.)
5. =IF([Status]1 = "Completed", "Green", IF([Due Date]1 < TODAY(), "Red", "Yellow"))
5. A user has written a nested formula in Smartsheet that is returning incorrect results. What could be causing this issue, and how can you troubleshoot and fix the formula?
5. Nested formulas in Smartsheet may not work correctly if the outside formula syntax is incorrect, there is a syntax problem with any ranking functions, or circular references exist. Troubleshoot by checking the syntax of the formula, ensuring that data types match and aren't hidden behind formatting, ensuring that referenced cells and ranges are correctly formatted and relative, and adding alternative evaluation techniques to test the formula.
5. A Smartsheet cell containing a formula is returning a "#DIV/0!" error message. What could be causing this error message, and how can this issue be resolved?
5. The "#DIV/0!" error message in a Smartsheet cell formula occurs when the formula tries to divide a number by zero. To fix this error, isolate the error cell, use an IF statement to check for divides by zero, add some other function or formula to avoid division by zero, or customize error messages.
5. What is the formula to calculate the percentage of total in Smartsheet?
5. To calculate the percentage of total in Smartsheet, you can use the following formula: =value/total*100%. For example, if you want to calculate the percentage of sales made by each salesperson in a table, you could divide each salesperson's sales by the total sales and multiply by 100%.
6. Write a formula that returns the number of child rows for a specific parent row.
6. =COUNT(CHILDREN([Parent Row]1: [Parent Row]1))
6. How do you use the VLOOKUP function in Smartsheet to look up a value in a table and return a matching value in another column?
6. To use the VLOOKUP function in Smartsheet, you can use the following syntax: =VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]). =VLOOKUP(Product@row, {Pricing_Sheet_Lookup_Range}, 5, false) 1. Look for the value in Product@row, in the first column of the cross-sheet reference {Pricing_Sheet_Lookup_Range} 2. Return the value in the 5th column of the range
9. How do you use the SUMIF function in Smartsheet to sum the values in a column that meet a specific criterion?
9. To use the SUMIF function in Smartsheet, you can use the following syntax: =SUMIF(range, criterion, [sum_range]). For example, if you want to sum up the sales made by a particular salesperson, you could use the formula: =SUMIF(A1:A100, "Salesperson1", B1:B100)
8. How do you combine text from multiple cells into one cell?
= [Task Name]1 + " " + [Task Name]2 Result: First Task Second Task OR = [Task Name]1 + "," + [Task Name]2 Result: First Task,Second Task 1. Click in the cell in which you want the result. 2. Press = (the equal sign). 3. Click the first cell that you want to refer to in the join and then press + (the plus sign). 4. Click the second cell that you want to refer to (to join the values together) and press Enter.
Kalum has a sheet in which they are tracking dates a project is due. The project should be due 30 days after the initial start date but if there is not a start date yet, then it will be "TBD". What formula would you use to calculate the due date based on the start date?
=IF(ISDATE(Date@row), Date@row + 30, "TBD") 1. If Date@row is a valid date, Then Date@row + 30 days 2. Otherwise, "TBD"
Write a formula that calculates the average of a range of cells.
Average formula: =AVERAGE(Cell Range)
What does the formula error #REF mean?
Cause: The formula references a cell which does not exist, possibly due to a row/column deletion. Resolution: Your formulas will need to be updated manually.
When formula returns error "#INCORRECT ARGUMENT SET", what does this mean?
Cause: This error is presented under the following circumstances: - For functions that take two ranges: The range sizes don't match for the function. - The function is missing an argument. - There is an extra function in the argument. Resolution: Correct the range size or arguments, adding or removing arguments in the formula.
Write a formula that calculates the percentage of completion for a project based on the number of tasks completed and the total number of tasks.
Percentage completion formula: =Completed Tasks / Total Tasks
Write a formula that calculates the discount for a product based on its retail price and the discount rate.
Product discount formula: =Retail Price x Discount Rate
Write a formula that retrieves the value of a cell based on a set of criteria found within a column
Retrieve cell value formula: =INDEX(Range, Row Number, Column Number)
Write a formula that calculates the total cost for an item based on its unit price and quantity.
Total cost formula: =Unit Price x Quantity
1. A formula in a Smartsheet cell is returning a "#VALUE!" error message. What could be the possible reasons for this error, and how can this error be fixed?
1. The "#VALUE!" error message in Smartsheet cell formula is usually caused by trying to perform an operation between cells with different data types, referencing cells that contain invalid data, or using the wrong syntax. To fix this error, make sure the data types match, check the syntax, and double-check source data to ensure it's correct.