Formula Question

Kit Sullivan
Kit Sullivan ✭✭
edited 09/17/24 in Formulas and Functions

I am using this formula to calculate the % of budget used to date on a project:

=[Actual Hours]@row / [Planned Hours]@row. Some of our projects do not have the planned number of hours. In this case the cell for planned hours would either be 0 or NULL and I would like the % of budget cell to display: "No Planned Hours Available". I have not been able to successfully achieve this using IFERROR statement. Does anyone know how I can accomplish this?

Best Answer

  • Isis Taylor
    Isis Taylor ✭✭✭✭✭✭
    Answer ✓

    @Kit Sullivan Try this.

    =IF(OR([Planned Hours]@row = 0, ISBLANK([Planned Hours]@row)), "No Planned Hours Available", [Actual Hours]@row / [Planned Hours]@row)

    Isis Taylor

    🎓️ Core App and Project Management Certified 🏅

    🌟Peer Connect, Mobilizer, and Early Adopter Program

    Business Analyst Senior

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!