SandsB
Well-known Member
- Joined
- Feb 13, 2007
- Messages
- 734
- Office Version
- 365
- Platform
- Windows
Someone posted this a while back and I used it and it worked. Now, I can't get it to work.
I have UserName in column A, System in column B, and Duration in column G. In column J, I want to display a 1 in each row if the combination of the value of A, B and G occurs only once in the whole file.
=IF(SUMPRODUCT(($A$2:$A2=A2)*($G$2:$G2=G2))>1,0,1)
I was trying to get a comparison of A and G to work and then add a check of C to it but I can't even get it to work for 2 columns, let alone 3. The 1 or 0 value this returns doesn't seem to have any rhyme or reason to it.
How do I compare these 3 cells in each row to check for a unique combination?
Thank you
I have UserName in column A, System in column B, and Duration in column G. In column J, I want to display a 1 in each row if the combination of the value of A, B and G occurs only once in the whole file.
=IF(SUMPRODUCT(($A$2:$A2=A2)*($G$2:$G2=G2))>1,0,1)
I was trying to get a comparison of A and G to work and then add a check of C to it but I can't even get it to work for 2 columns, let alone 3. The 1 or 0 value this returns doesn't seem to have any rhyme or reason to it.
How do I compare these 3 cells in each row to check for a unique combination?
Thank you