Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Delete values in sheet 2 that arre found in sheet 1

If it is the values in a single column on each sheet that make up the
duplication, it's fairly easy. Lets say you want to compare the contents of
column A on each sheet to find duplicates on Sheet2 (that are also on
Sheet1). Your data starts on row 2 of both sheets, and on Sheet1 you have
the 10000 rows to examine (A2:A10001).

In an available column on row 2 on Sheet2 put a formula like this:
=IF(COUNTIF(Sheet1!A$2:A$10001,A2)0,1,0)
fill the formula down for the entire length of entries on Sheet2 you want to
examine. It will put a 1 on each row that has a value in A that matches a
value on Sheet1. You can then filter the list to show only entries with 1 in
that column and delete them.

"np" wrote:

Is there an easy way to delete values in sheet 2 that match the value from
sheet 1. I have approximately 10000 rows in sheet 1 and some identical rows
on sheet 2 that need to be eliminated? I not sure if this has to be done
pragmatically or if there is some feature in excel 2007 that can handle this
type of request.

thanks
Nick

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
Macro to copy values then delete row for entire sheet Pyrotoy New Users to Excel 18 December 9th 08 12:43 AM
how can I format sheet 1 if the value is found in sheet 2? Samad New Users to Excel 2 July 30th 06 12:05 AM
How to delete values of a cell if it is found in another coloumn karty Excel Worksheet Functions 3 October 22nd 05 04:29 PM
copy values generated by conditional formula in one sheet to the other work sheet as values ramana Excel Worksheet Functions 1 October 5th 05 01:04 PM
copy values generated by conditional formula in one sheet to the other work sheet as values bobby Excel Discussion (Misc queries) 1 October 5th 05 12:18 PM


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