RAG Formula Used with Duration (Project Settings)

Smartsheet Community:

I have a Formula (Below) that I am using for RAG but the Results come back Blank. Does anyone know if it is because the Duration is part of the Project Setting that is Hard Coded in Smartsheet?

Formula:=IF(Duration@row = [Total Capacity (Hours)]@row, "Yellow") and Screen Shots



Answers

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi @Ray B

    Yes, it’s because of the Project Setting, so it needs to be calculated with 0.125 to match.

    Here’s an example that probably would work if you remove the h after the hours in the Total Capacity (Hours) column.


    Try something like this.

    =IF(Duration@row = [Total Capacity (Hours)]@row * 0.125, "Yellow")
    


    Did that work/help?

    I hope that helps!

    Be safe and have a fantastic weekend!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • Anthony Barthelemy
    Anthony Barthelemy ✭✭✭✭✭✭

    That worked, but what does 0.125 represent? Because I have to add to the Formula, for example if Duration exceed Total Capacity (Hours) turn Red.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!