Hello,
I am trying to use countifs to count column A values for each month in column B without duplicating.
I use this formula and expect to get 3 but it gives me 6.67:
=SUMPRODUCT(1/COUNTIFS(B2:B11,"JUN-21",A2:A11,A2:A11))
Thanks.
I am trying to use countifs to count column A values for each month in column B without duplicating.
I use this formula and expect to get 3 but it gives me 6.67:
=SUMPRODUCT(1/COUNTIFS(B2:B11,"JUN-21",A2:A11,A2:A11))
Name | Month |
John | JUN-21 |
John | JUN-21 |
John | JUN-21 |
John | JUL-21 |
John | JUL-21 |
Mary | AUG-21 |
Mary | JUN-21 |
Sally | JUN-21 |
Sally | AUG-21 |
Sally | AUG-21 |
Thanks.