vlookup

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Hi,
how to use vlookup that actually select those values in
column A which does not appear in column B and vice versa.

example:
A B C(From column A) D(From column B)
2.3 1.3 1.2 0.4
1.3 0.4 1.4 2.6
3.6 2.6
1.2 2.3
1.4 3.6


many thanks

regards,
Joe
 
Hi
enter the following array formula in C1 (entered with
CTRL+SHIFT+ENTER):
=INDEX($A$1:$A$10,MATCH(0,COUNTIF($B$1:$B$10,$A$1:$A$10),0))

In C2 enter the array formula:
=INDEX($A$1:$A$10,MATCH(1,(COUNTIF($B$1:$B$10,$A$1:$A$10)=0)*(COUNTIF($
C$1:C1,$A$1:$A$10)=0),0))

and copy this down until you got an #NA error. If you want to prevent
this as well use the following array formula in C2 instead:
=IF(ISNA(MATCH(1,(COUNTIF($B$1:$B$10,$A$1:$A$10)=0)*(COUNTIF($C$1:C1,$A
$1:$A$10)=0),0)),"",INDEX($A$1:$A$10,MATCH(1,(COUNTIF($B$1:$B$10,$A$1:$
A$10)=0)*(COUNTIF($C$1:C1,$A$1:$A$10)=0),0)))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

vlookup 1
vlookup 4
VLOOKUP bug? Different answer for values vs calculated table. 2
If and? 1
SUM IF 1
lookups 5
Ranking 2
return cells below stop when word found 1

Back
Top