Dear community,
I am struggling with a formula that I have in an excel file. I am using the following formula to retrieve unique values from a list. There is always a maximum of 3 unique fields, that is why I use only cells A1:A3, but it could in principle go on:
Cell A1: ='Input'!D2
Cell A2: =LOOKUP(2;1/('Input'!D2:D100=A1);'Input'!D3:D100)
Cell A3: =LOOKUP(2;1/('Input'!D2:D100=A2);'Input'!D3:D100)
The strange thing is.. This formula seems to work perfectly for most values on the input sheet, except for one. Example:
Regular
Regular
Regular
Test
Test
Example
Example
This will result A1=Regular, A2=Test and A3=Example
The strange thing, as said, it works with almost all values, except for the value ZWK. The following example only gives ZWK in the first field and stops thereafter.
ZWK
ZWK
ZWK
Regular
Regular
Test
This will result A1=ZWK, while A2 and A3 remain empty. I tried many things, values like ZWO, ZWP are all working fine. The only issue is with ZWK.
Does any of you have a clue why this formula does not work with this specific value?
Thanks in advance for your support.
Regards,
Ricky
I am struggling with a formula that I have in an excel file. I am using the following formula to retrieve unique values from a list. There is always a maximum of 3 unique fields, that is why I use only cells A1:A3, but it could in principle go on:
Cell A1: ='Input'!D2
Cell A2: =LOOKUP(2;1/('Input'!D2:D100=A1);'Input'!D3:D100)
Cell A3: =LOOKUP(2;1/('Input'!D2:D100=A2);'Input'!D3:D100)
The strange thing is.. This formula seems to work perfectly for most values on the input sheet, except for one. Example:
Regular
Regular
Regular
Test
Test
Example
Example
This will result A1=Regular, A2=Test and A3=Example
The strange thing, as said, it works with almost all values, except for the value ZWK. The following example only gives ZWK in the first field and stops thereafter.
ZWK
ZWK
ZWK
Regular
Regular
Test
This will result A1=ZWK, while A2 and A3 remain empty. I tried many things, values like ZWO, ZWP are all working fine. The only issue is with ZWK.
Does any of you have a clue why this formula does not work with this specific value?
Thanks in advance for your support.
Regards,
Ricky