Date 'is between'?

Hi, I'm wondering what's the best way to capture dates that fall between Start Date and End Date.

For instance, I'm using a COUNTIFS calculation which returns all rows with a Start Date of '>= 1/1/2021, and an End Date of '<= 31/1/2021, but that won't capture rows that start on 10/12/2020, and end on 2/2/2022; even though that work will be ongoing throughout 2021.

Any help would be very much appreciated.


Best Answers

  • LisaB:-)
    LisaB:-) ✭✭
    edited 09/08/20 Answer ✓

    @Paul Newcome Paul, could you help me with something please? Based upon your formula above, I'm trying to use COUNTIFS to establish what tasks (rows) are ongoing in 2021, but the below formula returns unparseable. I can't see where it's going wrong, could you help?

    (edit: 11.46, graphic replaced)

    =COUNTIFS([Start Date]1:[Start Date]136), <= DATE(2021, 12, 31), [End Date]1:[End Date]136, >= DATE(2021, 1, 1))

    Very many thanks, in hopeful anticipation.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!