Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default deleting dupes/certain values


I would appreciate any help given. Thank you ahead of time.

i have a workbook with about 15,000 rows.

I've merged 2 other workbooks and imported serveral databases from act
all the columns etc are all lined up. any how, i need to eras
duplicates. and its a real tedious task just sitting here. and goin
thru and checking columns a, b and g to see if they all match. and the
deleting them. PLEASE HELP :) any how. the 2nd thing i need to do i
delete rows that contain certain words like secretary, or CFO etc.

again. any help would be great appreciated. thank you.

charlto

--
sllik
-----------------------------------------------------------------------
slliks's Profile: http://www.excelforum.com/member.php...fo&userid=1557
View this thread: http://www.excelforum.com/showthread.php?threadid=27133

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default deleting dupes/certain values

With headers in row 1 and your data sorted nicely (by columns A, B, and G)

Use a helper column of cells:

Start in row 3 (row 2 is the one kept):
=and(a2=a3,b2=b3,g2=g3)
drag down the column.

copy that column|paste special values

The ones that show True should be deleted (if you eyeball them and see a
problem, don't delete them!)

Sort by that column and delete those True's.

(or apply data|filter|autofilter and show the True's and delete them that way.)

If you have lots of duplicates, sorting first should be quicker.

===
If it's a single column that contain Secretary.

Data|filter|autofilter by that column
Custom filter
contains secretary

delete those visible rows.

====
if secretary is in any old cell:

add a helper column of cells:
=countif(a2:x2,"secretary")
or
=countif(a2:x2,"*secretary*")
If the cell contains more words than Secretary.

then filter by 0.
Delete those visible rows.



slliks wrote:

I would appreciate any help given. Thank you ahead of time.

i have a workbook with about 15,000 rows.

I've merged 2 other workbooks and imported serveral databases from act.
all the columns etc are all lined up. any how, i need to erase
duplicates. and its a real tedious task just sitting here. and going
thru and checking columns a, b and g to see if they all match. and then
deleting them. PLEASE HELP :) any how. the 2nd thing i need to do is
delete rows that contain certain words like secretary, or CFO etc.

again. any help would be great appreciated. thank you.

charlton

--
slliks
------------------------------------------------------------------------
slliks's Profile: http://www.excelforum.com/member.php...o&userid=15575
View this thread: http://www.excelforum.com/showthread...hreadid=271331


--

Dave Peterson

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
vlookup & sum? or maybe summing dupes? blswes Excel Discussion (Misc queries) 1 September 22nd 08 04:31 PM
macro for dupes shaji Excel Discussion (Misc queries) 2 June 17th 08 04:51 PM
Checking for Dupes TKnTexas Excel Discussion (Misc queries) 4 November 3rd 06 02:43 AM
deleting values in a worksheet without deleting the formulas patti Excel Worksheet Functions 1 October 28th 05 09:49 PM
delete dupes in column BigRog Excel Programming 3 March 6th 04 06:13 AM


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