• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Find unique value from 2 columns

Hi:

Use the following array formula:-
Code:
=IFERROR(IFERROR(INDEX($A$2:$A$6, MATCH(0, COUNTIF(E$1:$E1, $A$2:$A$6), 0)), INDEX($B$2:$B$5, MATCH(0, COUNTIF($E$1:E1, $B$2:$B$5), 0))), "")

Execute by pressing control+shift+enter keys.

Thanks
 

Attachments

Hi,

Adding &"" inside your formula as per highlighted :

=IFERROR(IFERROR(INDEX($A$2:$A$9,MATCH(0,COUNTIF($D$1:D1,$A$2:$A$9&""),0)),INDEX($B$2:$B$9, MATCH(0,COUNTIF($D$1:D1,$B$2:$B$9&""),0))),"")

This is an array formula confirm enter with Ctrl+Shift+Enter

Regards
Bosco
 
Thank, but if I expand my selection to the blank area, 0 is still appear.

Hi:

Use the following array formula:-
Code:
=IFERROR(IFERROR(INDEX($A$2:$A$6, MATCH(0, COUNTIF(E$1:$E1, $A$2:$A$6), 0)), INDEX($B$2:$B$5, MATCH(0, COUNTIF($E$1:E1, $B$2:$B$5), 0))), "")

Execute by pressing control+shift+enter keys.

Thanks
 
It work perfectly. Thanks alot
Hi,

Adding &"" inside your formula as per highlighted :

=IFERROR(IFERROR(INDEX($A$2:$A$9,MATCH(0,COUNTIF($D$1:D1,$A$2:$A$9&""),0)),INDEX($B$2:$B$9, MATCH(0,COUNTIF($D$1:D1,$B$2:$B$9&""),0))),"")

This is an array formula confirm enter with Ctrl+Shift+Enter

Regards
Bosco[/quote
 
Hi,

Adding &"" inside your formula as per highlighted :

=IFERROR(IFERROR(INDEX($A$2:$A$9,MATCH(0,COUNTIF($D$1:D1,$A$2:$A$9&""),0)),INDEX($B$2:$B$9, MATCH(0,COUNTIF($D$1:D1,$B$2:$B$9&""),0))),"")

This is an array formula confirm enter with Ctrl+Shift+Enter

Regards
Bosco
I
It work perfectly. Thanks alot
Your formula works well, but unfortunately it could not run with huge data like thousand rows. Do you have any way to help on that?

Thank again.
 
Back
Top