vlookup

J

joe

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

example:
A B C(Fom 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
 
B

Biff

Hi!

For those values in column A but not in column B:

Enter this formulas as an array - CTRL,SHIFT,ENTER
and copy down until you get #NUM! errors:

=INDEX($A$1:$A$5,SMALL(IF(COUNTIF($B$1:$B$5,$A$1:$A$5)
=0,ROW($A$1:$A$5)),ROW(1:1)))

For those values in column B but not in column A:

Enter this formulas as an array - CTRL,SHIFT,ENTER
and copy down until you get #NUM! errors:

=INDEX($B$1:$B$5,SMALL(IF(COUNTIF($A$1:$A$5,$B$1:$B$5)
=0,ROW($A$1:$A$5)),ROW(1:1)))

Biff
 
B

Biff

Hi!

It does exactly what you wanted. You may have to adjust
the range references to suit your needs.

Biff
 

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 1
VLOOKUP issue 0
Ranking 2
VLOOKUP and OFFSET 3
looking up 0
VLOOKUP bug? Different answer for values vs calculated table. 2
vlookup then average 3 above and below 9

Top