Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ykas
 
Posts: n/a
Default how do i find out what is uncommon in column list A1: A10 and B1:.

i want to compare data in list 1 in column A with list 2 in column B and make
a column C which shows data which is not in A

A B C
apple apple cat
cat ball rubber
ball dog
rubber
dog

  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try the following...

C1, copied down:

=INDEX($A$1:$A$5,SMALL(IF(COUNTIF($B$1:$B$3,$A$1:$ A$5)=0,ROW($A$1:$A$5)-R
OW($A$1)+1),ROWS($C$1:$C1)))

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

In article ,
"ykas" wrote:

i want to compare data in list 1 in column A with list 2 in column B and make
a column C which shows data which is not in A

A B C
apple apple cat
cat ball rubber
ball dog
rubber
dog

  #3   Report Post  
tina
 
Posts: n/a
Default

you could try following macro
Sub Macrounique()

For Each cell In Range("a:a")
Range("b:b").Select
On Error GoTo myerr
Selection.Find(What:=cell, After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Activate
Next cell
myerr:
Range("c5536").End(xlUp).Select
ActiveCell.Offset(1, 0) = cell.Value
Resume Next
End Sub

"ykas" wrote:

i want to compare data in list 1 in column A with list 2 in column B and make
a column C which shows data which is not in A

A B C
apple apple cat
cat ball rubber
ball dog
rubber
dog

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i find out what is uncommon in column list A1: A10 and B1:. vikasarora07 Excel Discussion (Misc queries) 1 April 12th 05 03:47 PM
I need to find the Average from Column A - but Reference Column B BAM718 Excel Worksheet Functions 2 March 15th 05 02:42 PM
need to find which numbers (3+) in a column sum to a value Devin Excel Discussion (Misc queries) 1 February 11th 05 10:30 PM
How do I find duplicates in a list JimNC Excel Discussion (Misc queries) 1 February 6th 05 08:40 PM
Insert column entries from a master list RichLorn Excel Worksheet Functions 0 October 28th 04 08:59 PM


All times are GMT +1. The time now is 03:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"