![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| 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: * 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 |
|
|||||||
| Microsoft Office support MS Office support forum |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Nov 2005
Location: Illinois, US
Posts: 36
OS: WinXP Pro SP2 & Fedora 8
|
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! |
|
|
|
| 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 |
|
|
#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. |
|
|
|
|
|
#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.
|
|
|
|
|
|
#4 (permalink) |
|
Registered User
|
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. |
|
|
|
|
|
#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
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.
|
|
|
|
|
|
#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! |
|
|
|
|
|
#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!!!
|
|
|
|
![]() |
| Thread Tools | |
|
|