Nested COUNTIFs within Date Ranges

Hi Smartsheet Experts, I need some help creating a formula.

The Source sheet contains the data and I have formulas on another sheet; therefore, the formula will contain cross-sheet references.

Source Sheet looks something like this:

I want to count the number of Items that have an ORIGINAL or NEW date in January 2021 but are not Cancelled. In other words, COUNTIF ‘NEW Date’ has a date within a date range, excluding Cancelled Items. IF NEW Date is blank, COUNTIF ‘ORIGINAL Date’ has a date within same date range, excluding Cancelled Items.

This seems simple, but I cannot get the formula to work:

a. Row 8, ORIGINAL Date is within the date range but Status is blank, therefore is excluded from the total count. The Source Sheet ‘Status’ might not be available, and we need to include the Item within the total date range Count, even if the Status is blank.

b. As per the highlighted cells, the total should be 5.

Thank you so much for your help!

Emily

Tags:

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!