Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Change dot color based on date field

I am trying to come up with a formula that will change a RYG symbol to green if the date in another column is within the first 14 days of a month.

The symbol column is already set up with the right column type.

Thank you for the help!

Tags:

Best Answer

  • ✭✭✭✭✭
    Answer ✓

    Hey @Ruth Schoonover,

    I would do something like this in the RYG symbol column:

    =IF(DAY(Date@row) <= 14, "Green")

    Hope this helps!

    If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!

    I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!

Answers

  • ✭✭✭✭✭
    Answer ✓

    Hey @Ruth Schoonover,

    I would do something like this in the RYG symbol column:

    =IF(DAY(Date@row) <= 14, "Green")

    Hope this helps!

    If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!

    I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!

  • Thank you, that did the trick!

  • Having a problem with the following code. I am trying to count only the Project ID rows while determining if the Projects are green. I will be trying this for my milestone column as well. Any assistance is appreciated.

    =IF(AND(COUNTIFS([Project ID]:[Project ID], "<>""") > 0, DAY([Due Date]@row) <= 30), "Green", "")))

  • Community Champion

    Hi,

    I hope you're well and safe!

    Can you share some screenshots? (Please delete/replace any confidential/sensitive information before sharing) That would make it easier to help.

    I hope that helps!

    Be safe, and have a fantastic day!

    Best,

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

    Did my comment(s) help/answer your question or solve your problem? Please support the Community and me by marking it - Insightful 💡- Vote Up ⬆️ - Aweseome ❤️ - or/and as the accepted answer. It will make it easier for others to find a solution or help to answer! I appreciate it, thanks!

    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.

  • image.png

    I tried this formula as well but did not work:

    =IF(COUNTIF({Project ID}:{Project ID}, "<>""", IF({Status}@row = "Complete", "Blue", IF({Legislative Due Date}@row <=TODAY(7), "Red", IF({Legislative Due Date}@row =TODAY(15), "Green", "Yellow")))))

    Again, thank you for the assistance.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions