Formula Not Working - including a "%" in the formula turns off the cell references

Michael Aguilera
Michael Aguilera ✭✭✭
edited 02/14/25 in Formulas and Functions

I am trying to write a formula and I am having a few issues.

Context: We have a build that has several tasks (which have their own child rows), and it is possible to finish the build entirely without finishing each task entirely. If the build is not finished, we want the tasks to be =AVG(CHILDREN). However, if the bottom line is manually input as 100%, we want that to override the average children function and have it show all tasks as 100%.

Here is what I THINK it should look like, but it is not working… "=IF([Build Complete]65 = "100%", 100%, AVG(CHILDREN))

Natural language being: If Build Complete row 65 is 100%, than make this task 100%, if it is not, than make this task the average of all child rows.

Two issues I am having.

  1. In the "value_if_true" section, if I include a percent sign, it automatically makes the [Build Complete]65 cell reference turn off. It goes from blue text to grey text.
  2. When adding the AVG(CHILDREN) as the "value_if_false" value, it returns #UNPARSEABLE.

Any help would be greatly appreciated!

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!