I need to count the unique values from another sheet using MONTH and YEAR. Here is the formula I have:
=COUNTIFS(DISTINCT(COLLECT({[2021] Case Cleaning Schedule Range 1}, {[2021] Case Cleaning Schedule Range 2}, MONTH(@cell) = 1
, {[2021] Case Cleaning Schedule Range 2}, YEAR(@cell) = 2022)))
A few details:
- I am referencing another sheet [2021] Case Cleaning Schedule
- Range 1 = Zone: column
- Range 2 = Service Date: column
- I want to count the unique values in the Zone: column
Thanks for the help in advance.