# date related formula

✭✭✭✭

Hi

I am trying to create a formula to show the number of units due in the next period of time e.g. 7 days, 14 days, 21 days etc. I have a due date column and a Units column. I actually have several unit columns, but if I can get help with the formula for one, I can easily create the others.

Kind Regards

Peter

• ✭✭✭✭✭✭

I hope you're well and safe!

Try something like this.

=SUMIFS([Hoggets - Number]:[Hoggets - Number], [Preferred Start Date]:[Preferred Start Date], < (TODAY() + 8)

Did that work/help?

I hope that helps!

Be safe, and have a fantastic week!

Best,

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

Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful, Insightful/Vote Up/Awesome. 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.

• ✭✭✭✭✭✭

Hi Peter, you can use something like this to sum the units if the due date is less than today plus X days.

= SUMIFS(Units:Units, [Due Date]:[Due Date], <(TODAY() + 8))

Is that what you were looking for?

Ryan

Ryan Sides

Come Say Hello!

• ✭✭✭✭✭✭

I would add some helper columns for 7 days, 14 days, 21 days date. I just did a formula in the helper column to get 7 days from today. =TODAY(7) then in the units needed column I used a sumif formula. =SUMIF([Due Date]:[Due Date], [helper column]@row, Units:Units)

• ✭✭✭✭✭✭

Note I did try just putting in the Today(7) formula without the helper column and kept getting an error. Tried it both with and without the Date formula associated.

• ✭✭✭✭

Hi Ryan, I tried the formula you suggested but no luck. Here is a screenshot of the actual sheet that I am working on with my effort copying your suggestion.

• ✭✭✭✭✭✭

I hope you're well and safe!

Try something like this.

=SUMIFS([Hoggets - Number]:[Hoggets - Number], [Preferred Start Date]:[Preferred Start Date], < (TODAY() + 8)

Did that work/help?

I hope that helps!

Be safe, and have a fantastic week!

Best,

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

Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful, Insightful/Vote Up/Awesome. 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.

• ✭✭✭✭

Yes, that worked Andree, thank you very much.

• ✭✭✭✭✭✭

Excellent!

Happy to help!

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!