I am trying to count the number of dates in a range, counting duplicates only once.
My attempt:
=COUNTIFS(A:A, ">=" & B1, A:A, "<=" & C1)
In this case, my dates are in column A, and I want to count it only if it is between the dates listed in B1 and C1. This is working, except it is counting duplicates.
e.g. B1 = June 30, C1 = July 4
Column A:
July 1
July 1
July 2
July 3
provides a count of 4, when I would like 3.
My attempt:
=COUNTIFS(A:A, ">=" & B1, A:A, "<=" & C1)
In this case, my dates are in column A, and I want to count it only if it is between the dates listed in B1 and C1. This is working, except it is counting duplicates.
e.g. B1 = June 30, C1 = July 4
Column A:
July 1
July 1
July 2
July 3
provides a count of 4, when I would like 3.