Countifs w/ two date ranges and two different sheet

Ryan Holguin
Ryan Holguin ✭✭✭✭
edited 09/01/23 in Formulas and Functions

Hello All,


I am trying to count the number of projects within the same date range, but there are two different sheets I need to pull this from. I keep getting an INCORRECT ARGUEMENT SET. Here's the idea of what I have:

=COUNTIFS({Sheet1}, Criterion1 , {Sheet1 Date Range}, AND(@cell >= DATE(2023, 7, 1), @cell <= DATE(2023, 12, 31)), {Sheet2}, Criterion1, {Sheet2 Date Range}, AND(@cell >= DATE(2023, 7, 1), @cell <= DATE(2023, 12, 31)))

Here's the actual snippet:


What am I missing? Thanks!

Tags:

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!