sharky12345
Well-known Member
- Joined
- Aug 5, 2010
- Messages
- 3,422
- Office Version
- 2016
- Platform
- Windows
I need a formula that will count the amount of times a value appears in a range, ("A4:K5000"), but I need it to only count the value once if it appears more than once in each row.
As an example, if the value appeared 3 times in row 5 and once in row 6 then the result I would expect would be 2.
This formula does what I need but ignores duplicates in columns rather than rows - can it be tweaked?
As an example, if the value appeared 3 times in row 5 and once in row 6 then the result I would expect would be 2.
This formula does what I need but ignores duplicates in columns rather than rows - can it be tweaked?
Excel Formula:
[B]=SUMPRODUCT((A2:A15<>"")/COUNTIF(A2:A15,A2:A15&""))[/B]