Question

I have the following data:

enter image description here

In the last row I want to check the uniquness of an ISIN number and a date. So if these two values are not unique in the whole table of values then I want to print 1 else 0.

I tried that:

=IF(VLOOKUP((A2;C2);A2:C18;1;FALSE);1;0)

However as you can see I get #VALUE!. Any suggestions how to fix that?

I appreciate your answer!

Was it helpful?

Solution

If these two values are not unique in the whole table of values then I want to print 1 else 0.

You can use this formula:

=IF(SUMPRODUCT(($A$2:$A$18=A2)*($C$2:$C$18=C2))>1;1;0)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top