T
TFTAJLLYMXZP
Can anyone please suggest how to count the unique values in one range,
say Range A, based on values in a different range, Range B? Range B
consists of dates and I want to count the unique values in Range A for
any particular year.
So far, I've only found the following formula in the MS KB for
counting unique values:
=SUM(1/COUNTIF(RangeA,RangeA))
And, I can count the total values in Range A for one year with:
=COUNT(IF((YEAR(RangeB)=<year>),RangeA))
but how can these be combined is my problem.
Thanks,
Terry
say Range A, based on values in a different range, Range B? Range B
consists of dates and I want to count the unique values in Range A for
any particular year.
So far, I've only found the following formula in the MS KB for
counting unique values:
=SUM(1/COUNTIF(RangeA,RangeA))
And, I can count the total values in Range A for one year with:
=COUNT(IF((YEAR(RangeB)=<year>),RangeA))
but how can these be combined is my problem.
Thanks,
Terry