How to create formula to count over the past seven days

Hello,

I'm trying to count the number of projects delivered in the past seven days. This is what I have so far:

=COUNTIFS(Status:Status; "Delivered";Delivery Date:Delivery Date; >=TODAY(-7))

I'm not sure what's going wrong or where to insert the formula in the sheet (will any cell do?).


Thanks,

Emily

Answers

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

    Hi Emily,

    Try something like this.

    =COUNTIFS(Status:Status; "Delivered"; [Delivery Date]:[Delivery Date]; >=TODAY(-7); [Delivery Date]:[Delivery Date]; <=TODAY())

    The same version but with the below changes for your and others convenience.

    =COUNTIFS(Status:Status, "Delivered", [Delivery Date]:[Delivery Date], >=TODAY(-7), [Delivery Date]:[Delivery Date], <=TODAY())

    Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.

    Did it work?

    I hope that helps!

    Have a fantastic day!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

    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!