Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
sarora
 
Posts: n/a
Default how to find an intersect of two columns


Hi,
I am new to this forum and am trying to explore excel. I want to find
the common names between two columns and get the number of the common
names. how do i do it
Thanks
sarora


--
sarora
------------------------------------------------------------------------
sarora's Profile: http://www.excelforum.com/member.php...o&userid=34860
View this thread: http://www.excelforum.com/showthread...hreadid=546091

  #2   Report Post  
Posted to microsoft.public.excel.newusers
JMB
 
Posts: n/a
Default how to find an intersect of two columns

If one list is in B1:B4, the other in A1:A10, this seems to work. Change
ranges as necessary:

SUMPRODUCT(--ISNUMBER(MATCH(B1:B4,A1:A10,0)))

"sarora" wrote:


Hi,
I am new to this forum and am trying to explore excel. I want to find
the common names between two columns and get the number of the common
names. how do i do it
Thanks
sarora


--
sarora
------------------------------------------------------------------------
sarora's Profile: http://www.excelforum.com/member.php...o&userid=34860
View this thread: http://www.excelforum.com/showthread...hreadid=546091


  #3   Report Post  
Posted to microsoft.public.excel.newusers
sarora
 
Posts: n/a
Default how to find an intersect of two columns


Hi,
Thanks for the reply but being a beginner i didnt understand it
completely. if i have one set of names in column A and the other set in
column B, how do i pick the names common to both the columns.
Thanks a lot
shilpi


--
sarora
------------------------------------------------------------------------
sarora's Profile: http://www.excelforum.com/member.php...o&userid=34860
View this thread: http://www.excelforum.com/showthread...hreadid=546091

  #4   Report Post  
Posted to microsoft.public.excel.newusers
JMB
 
Posts: n/a
Default how to find an intersect of two columns

Sorry, I misunderstood. I thought you just wanted the number of duplicate
items, but you want to identify the actual duplicate items. One way, in C1
enter

=IF(ISNA(MATCH(B1,A:A,0)),"","X")

copy down as far as the data in column B. the cells with an "X" are
duplicates. you can then use an autofilter on column C to filter and copy
the data to another worksheet if needed.


"sarora" wrote:


Hi,
Thanks for the reply but being a beginner i didnt understand it
completely. if i have one set of names in column A and the other set in
column B, how do i pick the names common to both the columns.
Thanks a lot
shilpi


--
sarora
------------------------------------------------------------------------
sarora's Profile: http://www.excelforum.com/member.php...o&userid=34860
View this thread: http://www.excelforum.com/showthread...hreadid=546091


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
using VLOOKUP to compare 2 columns to find new information Jessica Excel Worksheet Functions 3 July 19th 05 02:59 AM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
Hidden Columns in Shared Workbooks Rotary Excel Discussion (Misc queries) 1 July 9th 05 12:28 AM
How do I find the cell address of the 2nd largest of a set? Mr. Snrub Excel Discussion (Misc queries) 4 May 30th 05 12:53 PM
How do I find where a column value and row value intersect? Amy Excel Worksheet Functions 2 January 12th 05 11:19 PM


All times are GMT +1. The time now is 04:36 AM.

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

About Us

"It's about Microsoft Excel"