Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 06-21-2004, 04:26 PM   #1
Member (5 bit)
 
Join Date: Mar 2004
Posts: 26
deleting duplicate entries in Excel 2003

Is there a way to delete multiple duplicate entries in excel 2003. basically what i want to do is tell it to look for any duplicate entries and delete them I have over 20,000 cells and it's taking to long using the find and replace tool. I'm willing to use seperate programs to do this if you have any suggestions
okie11 is offline   Reply With Quote
Old 06-21-2004, 04:28 PM   #2
Certified Audio Nut
 
Hi Ho's Avatar
 
Join Date: Jul 2003
Location: Washington State
Posts: 7,214
Send a message via MSN to Hi Ho
The only thing I can think of is find/replace (Edit > Find) but I'm not sure if it would help or not.
__________________
"I'm not lying. I'm writing fiction with my mouth." - Homer Simpson My Miscelaneous Gallery
ASUS P7P55D PRO / Intel Core i7 860 / 8GB Mushkin DDR3 1600 RAM / OCZ Vertex 2 120GB SSD / Seagate 1TB 7200.12 / Asus Radeon 5870 1GB / LG Super-Multi 22x SATA DVD-RW / Windows 7 Home Premium 64bit / Cable Modem / HT Omega Striker 7.1 Sound Card / FSP 700W PSU / Logitech MX1000 Wireless Laser Mouse / Asus 24" 16:9 LCD w/Webcam / Axiom Audiobyte 2.1 Speakers
Hi Ho is offline   Reply With Quote
Old 06-21-2004, 04:32 PM   #3
Member (5 bit)
 
Join Date: Mar 2004
Posts: 26
thats what i've been doing but it's taking forever
okie11 is offline   Reply With Quote
Old 06-21-2004, 09:22 PM   #4
Member (7 bit)
 
Join Date: Apr 2004
Location: Ontario, Canada
Posts: 91
What I do for those (when it's a one-time sheet) is something like
Code:
=(b2==b1)
in column C (assuming the duplicates are in column B, and I've sorted by column B).

Then I copy this all the way to the bottom (ctrl-down arrow goes to the bottom of a contiguous region, ctrl-d will copy the top cell into all selected cells under it). Now column C will contain a bunch of TRUE and FALSE values.

Any row that says "TRUE" in column C has the same value in column B as row above it. You can't sort by column C yet because excel will recalculate and change all the values. So select column C, copy it, then go to Edit -> Paste Special and paste values.

This turns the formulae into the values TRUE or FALSE. Now you can sort by column C and all the rows that have TRUE there are duplicates, so you can delete them.

Otoh, if it's a sheet that I'm going to keep using, I write some VBA.
Metaphorically is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:52 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2