Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default Matching cells (Excel 2007)

The cells in COL A look like this:

140370005
140370006
140373002
140373014
140373015

COL A has 2,374 cells

==========================

The cells in COL B look like this:

140370005
140370006136120008140030020140370004
136120008140030020140370006
136120008140030020140370008
140030019140030020140370004
140030019140030020140370006
140030019140030020140370008
140030020140370004
140030020140370004140370009
14003002014136120008140030020140370004
136120008140030020140370006
136120008140030020140370008
140030019140030020140370004
140030019140030020140370006
140030019140030020140370008
140030020140370004
140030020140370004140370009
140030020140370006
140030020140370006140370010
140030020140370008
140030020140370008140370011
140040007140030020140370004
14004000714
140373015

COL B has 1,050,000 cells.

==============================

I need to find the cells in COL B that contain (anywhere in the cell)
the same sequence of characters as the cells in COL A.

==============================

It was suggested to paste this formula:

=SUMPRODUCT(--(ISNUMBER(MATCH("*"&A$1:A$2374&"*",B1,0))))0

in C1 and then "copy the formula down".

Do I copy the formula from C1 thru C2374 or from C1 to C1050000?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Matching cells (Excel 2007)

Just use

=SUMPRODUCT(--(A$1:A$2374<""),--(ISNUMBER(FIND(A$1:A$2374,B1))))0

and copy down to C5000

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"gary" wrote in message
...
The cells in COL A look like this:

140370005
140370006
140373002
140373014
140373015

COL A has 2,374 cells

==========================

The cells in COL B look like this:

140370005
140370006136120008140030020140370004
136120008140030020140370006
136120008140030020140370008
140030019140030020140370004
140030019140030020140370006
140030019140030020140370008
140030020140370004
140030020140370004140370009
14003002014136120008140030020140370004
136120008140030020140370006
136120008140030020140370008
140030019140030020140370004
140030019140030020140370006
140030019140030020140370008
140030020140370004
140030020140370004140370009
140030020140370006
140030020140370006140370010
140030020140370008
140030020140370008140370011
140040007140030020140370004
14004000714
140373015

COL B has 1,050,000 cells.

==============================

I need to find the cells in COL B that contain (anywhere in the cell)
the same sequence of characters as the cells in COL A.

==============================

It was suggested to paste this formula:

=SUMPRODUCT(--(ISNUMBER(MATCH("*"&A$1:A$2374&"*",B1,0))))0

in C1 and then "copy the formula down".

Do I copy the formula from C1 thru C2374 or from C1 to C1050000?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default Matching cells (Excel 2007)

Hi Bob,

I thought I would need to copy the formula eiher:

from C1 to C2374 (the number of cells in COL A)
or from C1 to C1050000 (the number of cells in COL B).

But "down to C5000" doesn't relate to anything. Why C5000?


gARY

=============================


On May 20, 12:54 am, "Bob Phillips" wrote:
Just use

=SUMPRODUCT(--(A$1:A$2374<""),--(ISNUMBER(FIND(A$1:A$2374,B1))))0

and copy down to C5000

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"gary" wrote in message

...

The cells in COL A look like this:


140370005
140370006
140373002
140373014
140373015


COL A has 2,374 cells


==========================


The cells in COL B look like this:


140370005
140370006136120008140030020140370004
136120008140030020140370006
136120008140030020140370008
140030019140030020140370004
140030019140030020140370006
140030019140030020140370008
140030020140370004
140030020140370004140370009
14003002014136120008140030020140370004
136120008140030020140370006
136120008140030020140370008
140030019140030020140370004
140030019140030020140370006
140030019140030020140370008
140030020140370004
140030020140370004140370009
140030020140370006
140030020140370006140370010
140030020140370008
140030020140370008140370011
140040007140030020140370004
14004000714
140373015


COL B has 1,050,000 cells.


==============================


I need to find the cells in COL B that contain (anywhere in the cell)
the same sequence of characters as the cells in COL A.


==============================


It was suggested to paste this formula:


=SUMPRODUCT(--(ISNUMBER(MATCH("*"&A$1:A$2374&"*",B1,0))))0


in C1 and then "copy the formula down".


Do I copy the formula from C1 thru C2374 or from C1 to C1050000?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Matching cells (Excel 2007)

Sorry, me mis-reading. I meant down to C1050000

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"gary" wrote in message
...
Hi Bob,

I thought I would need to copy the formula eiher:

from C1 to C2374 (the number of cells in COL A)
or from C1 to C1050000 (the number of cells in COL B).

But "down to C5000" doesn't relate to anything. Why C5000?


gARY

=============================


On May 20, 12:54 am, "Bob Phillips" wrote:
Just use

=SUMPRODUCT(--(A$1:A$2374<""),--(ISNUMBER(FIND(A$1:A$2374,B1))))0

and copy down to C5000

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"gary" wrote in message

...

The cells in COL A look like this:


140370005
140370006
140373002
140373014
140373015


COL A has 2,374 cells


==========================


The cells in COL B look like this:


140370005
140370006136120008140030020140370004
136120008140030020140370006
136120008140030020140370008
140030019140030020140370004
140030019140030020140370006
140030019140030020140370008
140030020140370004
140030020140370004140370009
14003002014136120008140030020140370004
136120008140030020140370006
136120008140030020140370008
140030019140030020140370004
140030019140030020140370006
140030019140030020140370008
140030020140370004
140030020140370004140370009
140030020140370006
140030020140370006140370010
140030020140370008
140030020140370008140370011
140040007140030020140370004
14004000714
140373015


COL B has 1,050,000 cells.


==============================


I need to find the cells in COL B that contain (anywhere in the cell)
the same sequence of characters as the cells in COL A.


==============================


It was suggested to paste this formula:


=SUMPRODUCT(--(ISNUMBER(MATCH("*"&A$1:A$2374&"*",B1,0))))0


in C1 and then "copy the formula down".


Do I copy the formula from C1 thru C2374 or from C1 to C1050000?




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
Matching data (EXCEL 2007) GARY Excel Discussion (Misc queries) 5 March 2nd 08 07:35 AM
Matching and returning values to a master sheet in Excel 2007 Pete Excel Worksheet Functions 0 February 7th 08 03:36 PM
EXCEL 2007 MATCHING ANSWERS HECTOR REY Excel Discussion (Misc queries) 1 November 1st 07 04:57 PM
Matching records (Excel 2007) gary Excel Programming 2 October 15th 07 09:49 AM
Data Matching Button for MS Excel 2007 or later Mr. Low Excel Worksheet Functions 0 October 21st 06 10:07 AM


All times are GMT +1. The time now is 07:33 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"