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 04-02-2008, 05:19 PM   #1 (permalink)
Registered User
 
Join Date: Nov 2005
Location: Illinois, US
Posts: 36
OS: WinXP Pro SP2 & Fedora 8


Question [SOLVED] Excel question - deleting/hiding certain data in a column

Before I explain my issue, my system is running WinXP Pro SP2 and I'm using Excel 2002. If you need more info, just ask.

My issue is that I have a spreadsheet that was created by exporting data from a third-party application and one of the columns displays too much info. The column I'm referring to contains file names, which are in the format "##-### - <text>.bin". So all 5,000+ rows in this column have "##-### - <text>.bin" in it, but I need the column to only have the first 6 characters, "##-###". The first 6 characters are a unique identifier comprised of 2 digits, a hyphen, and 3 more digits. I'd like to delete/hide the remainder of the file name " - <text>.bin" so users aren't confused. Are there any functions in Excel that allow me to delete all data in this column except the first 6 characters of each cell? I can't find a way.

Please let me know if anyone has any ideas. For printing purposes, I can change the column width to hide everything except the first 6 characters. But for the purpose of sharing this file with other users, I'd like to find a way to delete the unnecessary data.

Thanks in advance!
Need2BAGeek 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 04-03-2008, 05:20 AM   #2 (permalink)
Registered User
 
Join Date: Jan 2008
Location: Harpers Ferry, WV
Posts: 400
OS: OS X 10.4.x


Re: Excel question - deleting/hiding certain data in a column

If you don't care about keeping the existing data, you could create a formula to capture just the left 6 characters then copy/paste-special(values only) back over the existing data.

Alternatively, if you want to keep the existing data available, you could put the above forumula (left(cell,6)) into a column inserted next to the existing data. Then, just hide the existing column and only display the forumula column.
ShosMeister is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-03-2008, 09:27 AM   #3 (permalink)
Registered User
 
Join Date: Nov 2005
Location: Illinois, US
Posts: 36
OS: WinXP Pro SP2 & Fedora 8


Re: Excel question - deleting/hiding certain data in a column

Thanks! I'm not experienced with formulas, so I didn't know they were capable of doing this. I'll dig into it and see what I find. I'll post the exact formula once I have it.
Need2BAGeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-03-2008, 09:30 AM   #4 (permalink)
Registered User
 
Join Date: Apr 2008
Posts: 71
OS: Vista SP1, XP SP2

My System

Re: Excel question - deleting/hiding certain data in a column

The data that is exported, is it in an excel format or a .txt format?

If it is the latter, simply open up notepad and then open the file and do a find and remove of the phrase you want to get rid of.
Jolt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-03-2008, 12:55 PM   #5 (permalink)
Registered User
 
Join Date: Jan 2008
Location: Harpers Ferry, WV
Posts: 400
OS: OS X 10.4.x


Re: Excel question - deleting/hiding certain data in a column

Quote:
Originally Posted by Need2BAGeek View Post
Thanks! I'm not experienced with formulas, so I didn't know they were capable of doing this. I'll dig into it and see what I find. I'll post the exact formula once I have it.
Sorry for not being able to provide more info, but, if you have any other questions, just stop by and we'll get you a syntactically correct forumula.
ShosMeister is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-03-2008, 04:52 PM   #6 (permalink)
Registered User
 
Join Date: Nov 2005
Location: Illinois, US
Posts: 36
OS: WinXP Pro SP2 & Fedora 8


Re: [SOLVED] Excel question - deleting/hiding certain data in a column

Thanks to everyone for their advice. While I was researching formulas I found a tool on the Data menu called "Text to Colums." With this tool I was able to set a line to divide the characters I wanted to keep in the column from the characters I wanted to delete. I then finished the "Text to Columns" wizard and it moved the characters I didn't want to keep to other columns to the right. I then deleted those extra columns that were created and everything is exactly how I want it.

Thanks again!
Need2BAGeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-03-2008, 05:02 PM   #7 (permalink)
Registered User
 
Join Date: Jan 2008
Location: Harpers Ferry, WV
Posts: 400
OS: OS X 10.4.x


Re: [SOLVED] Excel question - deleting/hiding certain data in a column

Great!!! There is always more than one way to get things done. Glad you found one that worked for you!!!
ShosMeister 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 10:11 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