I have a table of data and need to count unique values in column A where the max date is between my criteria dates.
For example, here if my date criteria was >=01-May-22 AND <=31-May-22
then the formula will return 3 (Jack, Sarah, Jane)
If my date criteria was >=01-Jun-22 AND <=30-Jun-22 the formula will return 3 (Peter, Matt, Kelly)
For example, here if my date criteria was >=01-May-22 AND <=31-May-22
then the formula will return 3 (Jack, Sarah, Jane)
If my date criteria was >=01-Jun-22 AND <=30-Jun-22 the formula will return 3 (Peter, Matt, Kelly)