Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
genoq
 
Posts: n/a
Default What formula should I use to compare duplicate data between worksh

I have a workbook with 2 spreadsheets, each with containing a list of part
numbers. On the second spreadsheet, I want to compare lists and identify
duplicates from the first list, without changing the sorted order of either
list. What is the easiest way to flag these duplicates on sheet 2
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Use a helper column with a formula. Assuming key in column A on Sheet1 and
Sheet2, then use

=IF(COUNTIF(Sheet1!A:A,A1)0,"Duplicate","")

and copy down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"genoq" wrote in message
...
I have a workbook with 2 spreadsheets, each with containing a list of part
numbers. On the second spreadsheet, I want to compare lists and identify
duplicates from the first list, without changing the sorted order of

either
list. What is the easiest way to flag these duplicates on sheet 2



  #3   Report Post  
genoq
 
Posts: n/a
Default

Thanks! =) Happy New Year!

"Bob Phillips" wrote:

Use a helper column with a formula. Assuming key in column A on Sheet1 and
Sheet2, then use

=IF(COUNTIF(Sheet1!A:A,A1)0,"Duplicate","")

and copy down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"genoq" wrote in message
...
I have a workbook with 2 spreadsheets, each with containing a list of part
numbers. On the second spreadsheet, I want to compare lists and identify
duplicates from the first list, without changing the sorted order of

either
list. What is the easiest way to flag these duplicates on sheet 2




  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

A fast way of flagging common items (duplicates, as you call it) between
Sheet2 and Sheet1 would be:

=--ISNUMBER(MATCH(A1,Sheet1!A:A,0))

1 means duplicate, 0 not.

genoq wrote:
I have a workbook with 2 spreadsheets, each with containing a list of part
numbers. On the second spreadsheet, I want to compare lists and identify
duplicates from the first list, without changing the sorted order of either
list. What is the easiest way to flag these duplicates on sheet 2

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 make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM
Another question on how to find duplicate data Eroc Excel Worksheet Functions 2 December 14th 04 05:03 AM
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? Arvi Laanemets Excel Discussion (Misc queries) 0 December 2nd 04 11:29 AM
formula to determine the first column containing any data sd Excel Worksheet Functions 5 November 9th 04 08:06 PM
Formula to Extract Data from a Table Macshots Excel Worksheet Functions 2 November 5th 04 06:35 AM


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