TT (Mk1) Discussion Discussion forum for the Mk1 Audi TT Coupe & Roadster produced from 2000-2006

Sorry for the OT, I have 5732 lines of Excel to search for part #s entered twice. Been doing manual

Old 01-10-2002, 05:30 AM
  #1  
Junior Member
Thread Starter
 
nicetts's Avatar
 
Join Date: Jul 2000
Posts: 923
Likes: 0
Received 0 Likes on 0 Posts
Default Sorry for the OT, I have 5732 lines of Excel to search for part #s entered twice. Been doing manual

sort by part number then scan down line by line looking for doubles. (same #, now next to one another due to the sort). What is a better way! I have to do this five times a week, min. For two diff. lists, so min of ten times. This stuff is going to make me blind!
Old 01-10-2002, 05:37 AM
  #2  
AudiWorld Super User
 
VenTTed's Avatar
 
Join Date: Mar 2000
Posts: 10,935
Likes: 0
Received 1 Like on 1 Post
Default Use the sort function...

to list numbers in columns - look for dupes this way. Sort in Descending order using the column wherin the dupes may exist.

You can then re-sort by the proper column when complete.

BTW, sort functionality is accessed by going to the Data hierarchy, and then finding the Sort menu.

Make sense...
Old 01-10-2002, 05:43 AM
  #3  
AudiWorld Senior Member
 
TTeleven's Avatar
 
Join Date: Mar 2000
Posts: 1,606
Likes: 0
Received 0 Likes on 0 Posts
Default

also use hide columns to minimize clutter
Old 01-10-2002, 05:44 AM
  #4  
AudiWorld Senior Member
 
HipsTTR's Avatar
 
Join Date: Mar 2001
Posts: 921
Likes: 0
Received 0 Likes on 0 Posts
Default Write a Macro

Have it sort and then scan for duplicate entries in the part# columm.
Old 01-10-2002, 05:48 AM
  #5  
Junior Member
Thread Starter
 
nicetts's Avatar
 
Join Date: Jul 2000
Posts: 923
Likes: 0
Received 0 Likes on 0 Posts
Default I am doing that now, but I want to find a way not to have to scroll through all 5732 every time. A

command that would clump doubles or triples at the top? Some sort of if/then/null combo thing. I could do it in Fortran....
Old 01-10-2002, 05:56 AM
  #6  
Junior Member
Thread Starter
 
nicetts's Avatar
 
Join Date: Jul 2000
Posts: 923
Likes: 0
Received 0 Likes on 0 Posts
Default

Uh, I only know Fortran, Pascal, Dos, and some Unix. What can I use to do this? Kinda feel dated...
Old 01-10-2002, 06:03 AM
  #7  
AudiWorld Senior Member
 
HipsTTR's Avatar
 
Join Date: Mar 2001
Posts: 921
Likes: 0
Received 0 Likes on 0 Posts
Default Use HELP

If you know FORTRAN, you know how to write a loop. Excel has some very good online help. Look in the index for "Macro". Also you can buy one of those "Idiot's Guide to Excel" books (not being facetious). Really not that hard to do.
Old 01-10-2002, 06:21 AM
  #8  
Junior Member
Thread Starter
 
nicetts's Avatar
 
Join Date: Jul 2000
Posts: 923
Likes: 0
Received 0 Likes on 0 Posts
Default

Cool, thanks. I feel dated, but I am still in my 20s. Never had a use for Win, other than playing.
Old 01-10-2002, 06:49 AM
  #9  
TTP
AudiWorld Senior Member
 
TTP's Avatar
 
Join Date: Oct 2000
Posts: 1,133
Likes: 0
Received 0 Likes on 0 Posts
Default Re: create a column, use COUNTIF(range,valuematch)

for example, part# are stored in column A1:A5732.

COUNTIF(A1:A5732,A1) would count how many time the value in A1 cell occurs in the entire column (A1 thru A5732). A quick and easy visual of duplicates. It's then just a matter of using FIND command to look for the duplicates. Copy the function for the length of the column.
Old 01-10-2002, 07:21 AM
  #10  
Junior Member
Thread Starter
 
nicetts's Avatar
 
Join Date: Jul 2000
Posts: 923
Likes: 0
Received 0 Likes on 0 Posts
Default

I think I see where you are going here. Will try that next.

Thread Tools
Search this Thread
Quick Reply: Sorry for the OT, I have 5732 lines of Excel to search for part #s entered twice. Been doing manual



All times are GMT -8. The time now is 04:37 PM.