Best Of
Automation Workflow Asssistance - Trigger based off Task's due date
Hello,
Is there a way to sent an automation reminder to be triggered on my project plan for a task when another task's due date is 3 weeks out. For example, I have task A, task B and task C. Task B and Task C need to be completed before Task A can be completed. I am wanting to create an automation to notify the assignee that if Task B and Task C's status are not marked as completed, when Task A's due date is within 3 weeks, to send a reminder to complete task B and C.
Thank you!
Smartsheetのはじめかた
Smartsheet カスタマー サクセス オンボーディングは、Smartsheet についての基本を学びたい方向けに毎週開催しているインストラクター主導のトレーニング コースです。
ウェビナーは、始めるための基本、共同作業、およびさまざまな方法での作業の視覚化の基本など、Smartsheet のご利用を開始するために必要なすべてを網羅しています。
このウェビナーに登録するには、このページにアクセスしてください。
Rebeca S.
Re: Symbols in Sheet Summary Pane
As far as I'm aware, the MIN function only works for numeric values. Your best bet is probably creating a Health Value column using a formula like =IF([Project Health]@row = "Red", 1, IF([Project Health]@row = "Yellow", 2, IF([Project Health]@row = "Green", 3, 0))). You can always hide this column after setting this as a column formula.
You could then use this formula: =IF(MIN([Health Value]:[Health Value]) = 1, "Red", IF(MIN([Health Value]:[Health Value]) = 2, "Yellow", "Green"))
Re: Symbols in Sheet Summary Pane
Symbols don't have numerical values. They have text values (Green, Red, etc). So you need an IF statement to read the color and assign it value, then you can use the MIN function because you will have "converted" a color to a number.
Lisa LS Kennedy
Re: Automation Workflow Asssistance - Trigger based off Task's due date
Hi @ChristinaV
Yes, it’s possible to set up an automation to trigger a reminder when a related task’s due date is within 3 weeks.
I built a solution using a few helper columns and formulas. Let me explain step-by-step, referring to the screenshot I attached.
Formulas
[ due date is within 3 weeks] =(Finish@row - TODAY()) <= 21
[Successors] =COUNT(SUCCESSORS([Task Name]@row))
[S1] =IFERROR(INDEX([ due date is within 3 weeks]:[ due date is within 3 weeks], (IF(Successors@row >= 1, INDEX(SUCCESSORS([Task Name]@row), 1, 1)))), false)
[S2] =IFERROR(INDEX([ due date is within 3 weeks]:[ due date is within 3 weeks], (IF(Successors@row >= 2, INDEX(SUCCESSORS([Task Name]@row), 1, 2)))), false)
[S3] =IFERROR(INDEX([ due date is within 3 weeks]:[ due date is within 3 weeks], (IF(Successors@row >= 3, INDEX(SUCCESSORS([Task Name]@row), 1, 3)))), false)
[Send Alert] =AND(OR([S1]@row, [S2]@row, [S3]@row), NOT(Status@row = "Completed"))
1. [due date is within 3 weeks]
This formula checks if a task’s Finish date is within the next 21 days from today.
Formula:
=[Finish]@row - TODAY() <= 21
If the task’s due date is within 3 weeks, it returns true. Otherwise, it returns false.
2. [Successors]
This formula counts how many successor tasks each task has.
Formula:
COUNT(SUCCESSORS([Task Name]@row))
This is important because we want to know if Task A has successors like Task B and Task C depending on it.
3. [S1], [S2], [S3]
These formulas check whether the 1st, 2nd, and 3rd successor tasks are within 3 weeks.
=IFERROR(INDEX([due date is within 3 weeks]:[due date is within 3 weeks], (IF(Successors@row >= 1, INDEX(SUCCESSORS([Task Name]@row), 1, 1)))), false) =IFERROR(INDEX([due date is within 3 weeks]:[due date is within 3 weeks], (IF(Successors@row >= 2, INDEX(SUCCESSORS([Task Name]@row), 1, 2)))), false) =IFERROR(INDEX([due date is within 3 weeks]:[due date is within 3 weeks], (IF(Successors@row >= 3, INDEX(SUCCESSORS([Task Name]@row), 1, 3)))), false)
Detailed explanation of [S1], [S2], and [S3]:
Each formula works like this:
- It looks at the current task and identifies the first (or second, third) successor task.
- Then it checks if that successor’s
[due date is within 3 weeks]value istrue. - If yes, it returns
true; if no, it returnsfalse. - If no successor exists for that slot, it safely returns
falseusingIFERROR.
4. [Send Alert]
This formula determines if a reminder should be triggered:
=AND(OR([S1]@row, [S2]@row, [S3]@row), NOT(Status@row = "Completed"))
- It checks if any of the successors have their due date within 3 weeks (
OR([S1], [S2], [S3])). - It also checks if the current task's
Statusis not Completed. - If both conditions are met,
Send Alertbecomestrue.
How does this answer your question:
In your example, Task B and Task C are prerequisites for Task A.
- When Task A’s due date is within 3 weeks, we check if Task B and/or Task C are still incomplete.
- If yes, the
[Send Alert]box will be checked for Task B or Task C (depending on who needs to act).
Then, you can easily create a Smartsheet automation:
- Trigger: When
[Send Alert]changes to checked - Action: Send an alert to the assigned person to complete their task.
Re: Formula Help - Index/Match with Multiple Columns
@skarkhoff_TR My apologies that I didn't see this before.
My suggestion would be to insert a multi-select dropdown column on the Course Grid with this formula:
=JOIN(COLLECT([First Session Column]@row:[Last Session Column]@row, [First Session Column]@row:[Last Session Column]@row, @cell <> ""), CHAR(10))
Then the formula to bring over the location based on the session name would be
=INDEX(COLLECT({Course Grid - Room name Column}, {Course Grid New Column}, HAS(@cell, [Session Code]@row)), 1)
Paul Newcome
Re: How can I display the current month number as a 2-digit number so it matches my year-month?
You could try
=IF(LEN(MONTH(TODAY())) = 1, "0" + MONTH(TODAY()), MONTH(TODAY()))
Matt_A
Re: Smartsheet Color Matrix Names and Hex Codes + Programmatic Conditional Formatting
This is a totally viable route - the way I'm solving is to manage these definitions at a MASTER - Client level, which then flow through a metadata sheet into each Project structure. The same in spirit as to what you've highlighted above. This all needs to be configured prior to deployment, though.
And agreed, conditional formatting at a reporting level would be mad helpful, or even API access to conditional formatting (don't even get me started on hex code flexibility in conditional formatting, which leads to programmatic color relationships).
Glad you dug it!
Kyle Chipman
Re: April Question of the Month - Join the conversation and receive a badge
I have several things on my desk, including pictures of my kiddos and my grandbabies, but the one thing that has ALWAYS followed me from desk to desk, organization to organization is Brain from Pinky and the Brain. He was given to me by my dear friend who has since past away. He always referred to me as the smart one who had a brain.
Brain is also a reminder that tomorrow will always be a new day, and time for me to plan to take over the world.
"Pinky: Gee Brain, what are we gonna do tonight? Brain: The same thing we do every night, try to take over the world!"
RebSchr
Re: Calling all Everyday Heroes - What is your superpower?
@Darla Brown I love it! And your super power and slogan is so spot on!
MarceHolzhauzen

