Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Microsoft Office support MS Office support forum

Reply
 
LinkBack Thread Tools
Old 09-15-2005, 11:11 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 12
OS: Windows 2000


Deleting Data in an Excel file

I am doing a school directory, and have a list of 400 students, each entry looking roughly like this, with variations in length:

Smith, Mary
1234 Main St., 831-444-4444
thisismyemail@juno.com
Parents: Ike and Tina Smith
ikeand tina@juno.com

I want to produce a first-name list, and want to end up with Mary and Smith in separate columns that I can then sort. In the end, my list will look like this:

Mary Smith
Mary Turner
Maryanne Jones
Nicholas Jones
Nicole Adams
etc.

My list is in Word. I imagine Excel would be better for the first name list. I think I know how to put my list into Excel, but how can I then delete all the data and be left with just "Mary" and "Smith" without going through and manually deleting the unwanted rows for all 400 students?

Thanks for any guidance on this.
arlo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 09-16-2005, 02:03 PM   #2 (permalink)
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
 
Glaswegian's Avatar
 
Join Date: Sep 2005
Location: Glasgow
Posts: 25,512
OS: Win XP Pro SP3 / Win 7 Pro

My System

Blog Entries: 10
Hi

If you can get your list into Excel, it would make it much easier.

Is the format always the same? From your example, are there always 5 lines of data?

Regards
__________________
Iain - Defender of the Haggis and all things Scottish.
I don't help by PM - post in the Forums.



PC Safety & Security::PC running a bit slow?::Donate::Photographers Corner
Glaswegian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2005, 11:43 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2004
Posts: 12
OS: Windows 2000


Yes, I can get it into Excel. But no, each entry varies in length since some families have two households, some don't want email listed, etc. So they vary from 3 lines to maybe as many as 8.

One thing I didn't mention is that in my Word list, after the student's name, on the same line, I have 4 tabs and then the number of the student's grade level. There are no tabs anywhere else. My husband said he thinks those tabs can serve as a marker, to differentiate the name line from the others.

Any thought on this?

Thanks for your help.
arlo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-17-2005, 03:34 AM   #4 (permalink)
Moderator/ Rangemaster TSF Academy; Analyst, Security Team; Oor Wullie; TSF Surgeon and Resident Comic
 
Glaswegian's Avatar
 
Join Date: Sep 2005
Location: Glasgow
Posts: 25,512
OS: Win XP Pro SP3 / Win 7 Pro

My System

Blog Entries: 10
Hi arlo

They could indeed serve as a marker, although there are several ways to do what you need. Firstly, get your list into Excel. When you copy and paste, the name details etc on each line in Word should go in a separate row in Excel. If the grade marker is several columns away from the main data, delete any blank columns so that you end up with data in columns A and B, and each line of data in it's own row.

After that, some formulae and some code should do the trick. It might be easier if you upload a sample Excel file (use the 'Manage Attachments' button when posting) - please delete any sensitive data if required. Any problems with any of this just post back and we'll sort it out for you.

Regards
__________________
Iain - Defender of the Haggis and all things Scottish.
I don't help by PM - post in the Forums.



PC Safety & Security::PC running a bit slow?::Donate::Photographers Corner
Glaswegian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 04:36 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85