Forum Statistics
- Forum Members:
- Total Threads:
- Total Posts: 12
There are 1 users currently browsing forums.
|
 |

07-01-2009, 02:29 PM
|
|
Registered User
|
|
Join Date: 01 Jul 2009
Location: USA
MS Office Version:Excel 2007
Posts: 9
|
|
Sort/Remove Script?
Please Register to Remove these Ads
Hey guys, I'm from a Laptop Repair Company. Sorry to barge in here and ask for help randomly, but any suggestions would be greatly greatly appreciated. I post mostly on Actionscript forums to help others using AS3.0, so if you have a question there I could definitely help you lol 
I have 2 .xls documents with customer contact information. One has a list of old contacts I need to remove which is about 3k this list contains only email addresses. The other contains the full list of Customers this list is about 11k this contains everything from first/last name to billing and email addresses.
My goal is to double check to see which addresses are just typos and which are non-working.
I will need to go through the list line by line but better to only go through 3000 than 11000. So, I need to somehow remove all of the good addresses from the full list using the bad address list which is only 3k long.
Any suggestions on where to start?
~Rossco
Last edited by rosscoloco; 07-05-2009 at 12:32 AM.
|

07-02-2009, 02:40 PM
|
|
Registered User
|
|
Join Date: 01 Jul 2009
Location: USA
MS Office Version:Excel 2007
Posts: 9
|
|
|
Re: Sort/Remove Script?
Still kind of banging my head against the wall here!
|

07-02-2009, 11:57 PM
|
|
Valued Forum Contributor
|
|
Join Date: 02 Mar 2006
Location: Los Angeles, Ca
MS Office Version:MSO2000+2007
Posts: 1,195
|
|
|
Re: Sort/Remove Script?
Post a sample workbook(s) that shows the exact layout of your data; but with sensitive info dummied out. First thoughts are that you can copy/paste the short list into an unused area in the long list and use Conditional Formatting to highlight those values in the long list that match (hint) values in the short list.
__________________
Ben Van Johnson
|

07-03-2009, 04:01 PM
|
|
Registered User
|
|
Join Date: 01 Jul 2009
Location: USA
MS Office Version:Excel 2007
Posts: 9
|
|
|
Re: Sort/Remove Script?
Here is a sample of what I have.
Customers1.xls
There are 2 workbooks in the file. One contains the customer's information, the other is the list of emails that are not valid.
I do emails to our past customers who subscribe to our newsletter, and I got 3k bounces, so I want to go through those, check to see if it is a simple typo, or remove them so I don't get 3k bounces - but I don't want to simply remove 3k customers from my list.
I'd like to make sure you don't think I am a spammer - these are for subscribed customers who WANT to get our emails.
This highlighting method sounds like a great idea. That would help me soooooo much.
I'm really unsure how to write that script, though. Could you perhaps point me in the right direction? I've programmed before, but am unfamiliar with Excel syntax(although catch on quickly to new languages).
|

07-03-2009, 04:37 PM
|
|
Valued Forum Contributor
|
|
Join Date: 02 Mar 2006
Location: Los Angeles, Ca
MS Office Version:MSO2000+2007
Posts: 1,195
|
|
|
Re: Sort/Remove Script?
Customers1.xls >> 404 URL NOT FOUND!
Please post your workbook directly to the forum (use the paperclip icon from the toolbar). If it is more than 1MB in size (it shouldn't be that large), you will have to zip it first.
__________________
Ben Van Johnson
|

07-03-2009, 05:10 PM
|
|
Registered User
|
|
Join Date: 01 Jul 2009
Location: USA
MS Office Version:Excel 2007
Posts: 9
|
|
|
Re: Sort/Remove Script?
Sorry, I had a lower case C in the link name..... I didn't see the attach link my bad
Here it is:Customers1.xls
Here is the same but on my website: Customers1.xls
|

07-03-2009, 06:31 PM
|
 |
Forum Guru
|
|
Join Date: 23 Jun 2007
Location: London,England
MS Office Version:office 97 ,2003 ,2007
Posts: 6,076
|
|
|
Re: Sort/Remove Script?
on your customer list
in a a spare column starting in row 2
=ISNUMBER(MATCH(L2,ToCheck!$A$2:$A$3000,0))
and drag down
any match found will return true adjust A$2:$A$3000, to fit the range on your real list
you can then autofilter on true and delete visible rows
|

07-03-2009, 07:22 PM
|
|
Registered User
|
|
Join Date: 01 Jul 2009
Location: USA
MS Office Version:Excel 2007
Posts: 9
|
|
|
Re: Sort/Remove Script?
Customers1.xls
I did what you ask, but didn't get the results - it's saying FALSE even though the statement is true...... I must be missing something here.
is
=ISNUMBER(MATCH(L2,ToCheck!$P$2:$P$3000,0))
not right?
|

07-03-2009, 07:45 PM
|
|
Registered User
|
|
Join Date: 01 Jul 2009
Location: USA
MS Office Version:Excel 2007
Posts: 9
|
|
|
Re: Sort/Remove Script?
My bad, I figured it out. It's not searching through the List, it's looking through the file or worksheet.
I got it all working, and THANK YOU ALLL!!!!!
|

07-03-2009, 07:48 PM
|
|
Registered User
|
|
Join Date: 01 Jul 2009
Location: USA
MS Office Version:Excel 2007
Posts: 9
|
|
|
Re: Sort/Remove Script?
So, for anyone who searched this problem and finds it later,
=ISNUMBER(MATCH(L2,ToCheck!$A$2:$A$3000,0))
If your excel file only has 1 workbook, it will ask you for another xls file when you paste these in. Have a separate .xls file and then it will go through it. ToCheck! apparently goes to another database - it will by default use another workbook in the .xls, but if there is only 1 workbook, it will prompt you to find another file.
Works like a charm - saved myself looking through 2000 records switching screen by screen.........thank god!
I LOVE U GUYS!
SOLVED!
|

07-03-2009, 10:12 PM
|
 |
Forum Guru
|
|
Join Date: 21 Mar 2008
Location: Bakersfield, CA
MS Office Version:2003 (can read 2007 files)
Posts: 9,529
|
|
|
Re: Sort/Remove Script?
If that takes care of your need, be sure to EDIT your original post, click Go Advanced and mark the PREFIX box [SOLVED].
__________________
If you've been given good help, use the icon in that post to give reputation feedback, it is appreciated.
Always put your code between [code] and [/code] tags.
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
|

07-05-2009, 12:33 AM
|
|
Registered User
|
|
Join Date: 01 Jul 2009
Location: USA
MS Office Version:Excel 2007
Posts: 9
|
|
|
Re: Sort/Remove Script?
Done! SOLVED!
|
 |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|