Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Compare 2 columns and put unique data in column 3

Hi,

I have two columns of data, they are all names.

Column A contains all the names while column B only contains some of
the names which column A has. I want to find out the unique name which
Column B havent got but A has, and put it in Column C, is there a way
to do it?

Thanks.
Elaine.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Compare 2 columns and put unique data in column 3

This will put unique names in A in column C.


Put in C1 and opy down for your range in column A

=IF(COUNTIF(B:B,A1)=0,A1,"")

HTH

" wrote:

Hi,

I have two columns of data, they are all names.

Column A contains all the names while column B only contains some of
the names which column A has. I want to find out the unique name which
Column B havent got but A has, and put it in Column C, is there a way
to do it?

Thanks.
Elaine.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Compare 2 columns and put unique data in column 3

On 7 Mar, 12:13, Toppers wrote:
This willputuniquenames in A incolumnC.

Putin C1 and opy down for your range incolumnA

=IF(COUNTIF(B:B,A1)=0,A1,"")

HTH



" wrote:
Hi,


I have twocolumnsofdata, they are all names.


ColumnA contains all the names whilecolumnB only contains some of
the names whichcolumnA has. I want to find out theuniquename which
ColumnB havent got but A has, andputit inColumnC, is there a way
to do it?


Thanks.
Elaine.- Hide quoted text -


- Show quoted text -


thanks! it works !!

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
COMPARE TWO COLUMNS AND GET THE VALUE IN THIRD COLUMN clau Excel Worksheet Functions 1 October 4th 06 08:30 PM
Compare 2 columns and choose one and enter answer in third column Betsy Excel Worksheet Functions 1 June 30th 06 06:17 PM
Compare 2 columns and output to a 3rd column jamaican jewel Excel Discussion (Misc queries) 1 March 22nd 06 10:26 PM
Compare multiple column of data and list out common and unique component in adj columns kuansheng Excel Worksheet Functions 15 February 1st 06 11:49 PM
Counting unique entries in column A but only if specific values appear in columns B and C markx Excel Worksheet Functions 1 February 10th 05 12:52 PM


All times are GMT +1. The time now is 07:22 PM.

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"