# COUNTIFS number of in between dates

Hello,

I have a sheet with a column returning the latest date on that row.

I have a datasheet where I want to calculated how many of these latest dates fall in between 2 dates, I have tried several formula without any luck, my last one coming as INVALID is =COUNTIFS({Fully Enabled Date Range}, AND(>=DATE(2023, 7, 28), <DATE(2023, 8, 4)))

• I think this should do what you're after:

=COUNTIFS({Fully Enabled Date Range}, AND(@cell >= DATE(2023, 7, 28), @cell <= (DATE(2023, 8, 4))))

Hope this helps, but if you've any questions or problems, just ask! 😊

• I think this should do what you're after:

=COUNTIFS({Fully Enabled Date Range}, AND(@cell >= DATE(2023, 7, 28), @cell <= (DATE(2023, 8, 4))))

Hope this helps, but if you've any questions or problems, just ask! 😊

• Excellent, many thanks, it works :)

• Happy to help! 🙂

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!