Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Matching identical data using data only once in the matching proce

When using the matching function of ISNA (or any other function), how can I
prevent two identical sets of data on one list from being used to match the
same single identical set of data on another list? I am trying to match one
for one set of data and not use the matched set of data again in any matching
function. For example, if the first list has document A for $100 listed twice
and second list has document A for $100 listed once, I only want one of the
document A for $100 from the first list to match the document A for $100 on
the second list. I want the second document A for $100 on the first list to
not match anything on the second list because the document A for $100 on the
second list has already been used in the matching process.
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Matching identical data using data only once in the matching proce

one possibility
If you are using a helper column with "Matched" / "Not Matched"
and your data is in sheet1 Column A and sheet2 column A

in B1 enter
=if(countif(A$1:A1,A1)Countif('Sheet2'!A:A,A1),"N ot matched", "Matched")
copy and paste down.
on Sheet 2 B1 enter
=if(countif(A$1:A1,A1)Countif('Sheet1'!A:A,A1),"N ot matched", "Matched")
copy and paste down
if the data is in several columns Column A and B
maybe
=if(sumproduct(--(A$1:A1=A1),--(B$1:B1=B1))Sumproduct(--('Sheet2'!A$1:A1=A1),--('Sheet2'!B$1:B1=B1)),"Not matched", "Matched")
in C1 in Sheet 1 and equivalent in C1 sheet 2
copy and paste down


"Robert 1" wrote:

When using the matching function of ISNA (or any other function), how can I
prevent two identical sets of data on one list from being used to match the
same single identical set of data on another list? I am trying to match one
for one set of data and not use the matched set of data again in any matching
function. For example, if the first list has document A for $100 listed twice
and second list has document A for $100 listed once, I only want one of the
document A for $100 from the first list to match the document A for $100 on
the second list. I want the second document A for $100 on the first list to
not match anything on the second list because the document A for $100 on the
second list has already been used in the matching process.

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
Can I merge data in 2 sheets matching rows of data by last name? Corb Excel Discussion (Misc queries) 1 March 18th 07 05:32 PM
Matching data. Barry Walker New Users to Excel 12 July 7th 06 02:16 PM
matching data Steve M New Users to Excel 1 October 18th 05 11:19 AM
Matching data and linking it to the matching cell yvonne a via OfficeKB.com Links and Linking in Excel 0 July 13th 05 07:30 PM
Matching Data CyndyG Excel Worksheet Functions 0 April 5th 05 09:19 PM


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

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"