Help with formula

Hello All.

Can any of you help me with this formula. I need to add the finish date to display next to the construction phase in the sheet summary. The sheet summary for each month has formula.

Below is the current formula which works and displays what is in the sheet summary. I just want to be able to list the finish date of the const phase.

So on the sheet summary for example on 02 Feb

Start construction 2-6-23

Foundation 2-24-23

Framing 3-21.


Here is the formula for 02 Feb on sheet summary

=IF(Phase1 = "Construction", JOIN(COLLECT([Const Phase]:[Const Phase], [Const Phase]:[Const Phase], @cell <> "", [Finish Date]:[Finish Date], IFERROR(MONTH(@cell), 0) >= 2, [Start Date]:[Start Date], IFERROR(MONTH(@cell), 0) <= 2), CHAR(10)), IF(Phase1 = "Pre Construction", JOIN(COLLECT([Const Phase]:[Const Phase], [Const Phase]:[Const Phase], @cell <> "", [Finish Date]:[Finish Date], IFERROR(MONTH(@cell), 0) >= 2, [Start Date]:[Start Date], IFERROR(MONTH(@cell), 0) <= 2), CHAR(10))))

Any Help would be amazing!

Thanks so much

Jon

Answers

  • parulmishra
    parulmishra ✭✭✭✭✭

    Not exactly the formula but You can do a workaround by adding a Hidden Helper column which basically concatenates the Construction column and the Finish Date column

    Then use your existing formula to fetch the values from the new Helper column instead of the Construction column

    Parul Mishra

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

    Hi @Jon Barto

    I hope you're well and safe!

    You could either add a so-called helper column that collects the Stage and Date and then update your formula to reference that instead, or you could duplicate the formula and add a +" - "+ between them and edit it so it collects the date instead.

    Which method would you prefer?

    I hope that helps!

    Be safe, and have a fantastic week!

    Best,

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

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. 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.

  • Jon Barto
    Jon Barto ✭✭✭✭✭

    When I try to do the helper column. It displays the const phase name and date... but it also is displaying the time.

    How do I have it not display the time?

    For example it says : Foundation 02/24/23 8:59 am

    Here is formula I have for the helper row:

    =[Const Phase]@row + " " + [Finish Date]@row

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

    @Jon Barto

    Try something like this.

    =[Const Phase]@row + " " + DATEONLY([Finish Date]@row)

    Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up/Awesome or/and as the accepted answer. 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.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!