Average of Color Symbols (RYG) on same row

I need to be able to create an average (In the Overall Status field) of the 3 filed to the right. As you Can see, they are symbols with the standard stoplight (RYG) colors. I have done this (with the help of the community) for parent/child, but now these fields are on the same row.

Sherry Fox

Business Process Analyst 3 | C5ISR Group | HII | Mission Technologies

EAP | Mobilizer | Automagician | Superstar | Community Champion Class of 2024

Core App Certified 🦊

NEW (Work) Profile: @SherryFox | OLD (Personal) Profile: @Sherry Fox

Connect with me on LinkedIn

Please Like ❤️, Vote Up ⬆️, Awesome 🤩, Insightful 🧐 any of my contributions that have provided value.

Tags:

Best Answer

  • Melissa Yamada
    Melissa Yamada ✭✭✭✭✭
    edited 12/10/24 Answer ✓

    Hello @SherryFox

    Try this:

    =IF(COUNTIF(Cost1:Performance1, "Red") = COUNT(Cost1:Performance1), "Red", IF(COUNTIF(Cost1:Performance1, "Green") = COUNT(Cost1:Performance1), "Green", "Yellow"))

    Or this if you want to use column formula:

    =IF(COUNTIF(Cost@row:Performance@row, "Red") = COUNT(Cost@row:Performance@row), "Red", IF(COUNTIF(Cost@row:Performance@row, "Green") = COUNT(Cost@row:Performance@row), "Green", "Yellow"))

    Melissa Yamada
    melissa@insightfulsheets.com
    Data made simple, spreadsheets reimagined

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    You would use the same method as parent/child, but instead of your range being CHILDREN([Column Name]@row), your range would be Cost@row:Performance@row.

  • SherryFox
    SherryFox ✭✭✭✭

    @Paul Newcome ,

    I went back and pulled the answer from the Parent/Child, and applied the format to this one like you said, but it does not seem to be working. I am sure it is something simple that I messed up. It says Incorrect Argument Set for the error. Here is what I have:

    =IF(COUNTIF(Cost1:Performance1, "Red") = COUNT(Cost1:Performance1, "Red", IF(Cost1:Performance1, "Green") = COUNT(Cost1:Performance1, "Green", "Yellow")))

    Sherry Fox

    Business Process Analyst 3 | C5ISR Group | HII | Mission Technologies

    EAP | Mobilizer | Automagician | Superstar | Community Champion Class of 2024

    Core App Certified 🦊

    NEW (Work) Profile: @SherryFox | OLD (Personal) Profile: @Sherry Fox

    Connect with me on LinkedIn

    Please Like ❤️, Vote Up ⬆️, Awesome 🤩, Insightful 🧐 any of my contributions that have provided value.

  • Melissa Yamada
    Melissa Yamada ✭✭✭✭✭
    edited 12/10/24 Answer ✓

    Hello @SherryFox

    Try this:

    =IF(COUNTIF(Cost1:Performance1, "Red") = COUNT(Cost1:Performance1), "Red", IF(COUNTIF(Cost1:Performance1, "Green") = COUNT(Cost1:Performance1), "Green", "Yellow"))

    Or this if you want to use column formula:

    =IF(COUNTIF(Cost@row:Performance@row, "Red") = COUNT(Cost@row:Performance@row), "Red", IF(COUNTIF(Cost@row:Performance@row, "Green") = COUNT(Cost@row:Performance@row), "Green", "Yellow"))

    Melissa Yamada
    melissa@insightfulsheets.com
    Data made simple, spreadsheets reimagined

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    @SherryFox You just forgot to close out each of the COUNT functions.

  • SherryFox
    SherryFox ✭✭✭✭

    @Melissa Yamada ,

    Thanks so much…. I used the column formula you provided.

    @Paul Newcome ,

    I claim BLONDE moment. It feels like Monday. But tysvm!

    Sherry Fox

    Business Process Analyst 3 | C5ISR Group | HII | Mission Technologies

    EAP | Mobilizer | Automagician | Superstar | Community Champion Class of 2024

    Core App Certified 🦊

    NEW (Work) Profile: @SherryFox | OLD (Personal) Profile: @Sherry Fox

    Connect with me on LinkedIn

    Please Like ❤️, Vote Up ⬆️, Awesome 🤩, Insightful 🧐 any of my contributions that have provided value.

  • Melissa Yamada
    Melissa Yamada ✭✭✭✭✭

    @SherryFox happy to help!

    Melissa Yamada
    melissa@insightfulsheets.com
    Data made simple, spreadsheets reimagined

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!