I am trying to use a formula to obtain a count of the number of distinct values in a list of data I have.
I can use the follow:
=sum(1/countif(ID_Range,ID_Range))
And it returns the correct number of distinct IDs in the range.
However, I need to expand my number of criteria to something such as:
=sum(1/countifs(Item_Range,$A2,Location_Range,$B2,ID_Range,ID_Range)
I am getting decimal points instead of whole numbers ..... throwing me off a bit.
Thanks for your help!
-Spydey
I can use the follow:
=sum(1/countif(ID_Range,ID_Range))
And it returns the correct number of distinct IDs in the range.
However, I need to expand my number of criteria to something such as:
=sum(1/countifs(Item_Range,$A2,Location_Range,$B2,ID_Range,ID_Range)
I am getting decimal points instead of whole numbers ..... throwing me off a bit.
Thanks for your help!
-Spydey