Formula optimization

Chi
Chi
edited 12/09/19 in Formulas and Functions

Hello, I am trying to optimize this formula, do you have any idea?

Thank you

Chi

=SUMIFS({Line Value}, {PE}, [PE Project Engineer]@row, {Status}, " ", {Backlog - Sales Orders - RTM Status}, <>"Complete") + SUMIFS({Line Value}, {PE}, [PE Project Engineer]@row, {Status}, "Approved", {Backlog - Sales Orders - RTM Status}, <>"Complete") + SUMIFS({Line Value}, {PE}, [PE Project Engineer]@row, {Status}, "In Progress", {Backlog - Sales Orders - RTM Status}, <>"Complete") + SUMIFS({Line Value}, {PE}, [PE Project Engineer]@row, {Status}, "Not Started", {Backlog - Sales Orders - RTM Status}, <>"Complete") + SUMIFS({Line Value}, {PE}, [PE Project Engineer]@row, {Status}, "OFA", {Backlog - Sales Orders - RTM Status}, <>"Complete") + SUMIFS({Line Value}, {PE}, [PE Project Engineer]@row, {Status}, "Pending", {Backlog - Sales Orders - RTM Status}, <>"Complete") + SUMIFS({Line Value}, {PE}, [PE Project Engineer]@row, {Status}, "RTM'd", {Backlog - Sales Orders - RTM Status}, <>"Complete")

Tags:

Comments

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

    Hi Chi,

    Are all status options included in the formula above?

    Try something like this.

    =SUMIFS({Line Value}; {PE}; [PE Project Engineer]@row; {Status}; OR(@cell = ""; @cell = "Approved"; @cell = "In Progress"; @cell = "Not Started"; @cell = "OFA"; @cell = "Pending"; @cell = "RTM'd"); {Backlog  Sales Orders  RTM Status}; <>"Complete")

    The same version but with the below changes for your and others convenience.

    =SUMIFS({Line Value}, {PE}, [PE Project Engineer]@row, {Status}, OR(@cell = "", @cell = "Approved", @cell = "In Progress", @cell = "Not Started", @cell = "OFA", @cell = "Pending", @cell = "RTM'd"), {Backlog  Sales Orders  RTM Status}, <>"Complete")

    Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.

    Did it work?

    Have a fantastic weekend!

    Best,

    Andrée Starå

    Workflow Consultant @ Get Done Consulting

    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.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!