Solved

Removing digits from exel 2007 column

Posted on 2011-09-05
5
293 Views
Last Modified: 2012-05-12
I want to remove leading numbers from an excel column, e.g. my column is like this
1   AlcoholConcern  
2   AlcoholFocus    
3   AlcoholInfScotl
and l want it like this
AlcoholConcern  
AlcoholFocus    
AlcoholInfScotl

thanks
0
Comment
Question by:mmalik15
  • 2
  • 2
5 Comments
 
LVL 50

Accepted Solution

by:
teylyn earned 500 total points
ID: 36483676
Hello,

You could use Text to Columns and use the Space as the delimiter

OR

use a formula like

=trim(mid(A1,find(" ",A1)+1,99))

cheers, teylyn

0
 
LVL 19

Expert Comment

by:akoster
ID: 36483685
this can be done in a number of ways, easiest would be to post this formula in cell B1, assuming that the data column is column A.

=MID(A1,5,LEN(A1)-5)

Open in new window


the formula removes the first 4 characters



0
 
LVL 31

Expert Comment

by:Rob Henson
ID: 36483686
Exactly what I was about to say but my Submit didn't work for some bizarre reason.

With a slight tweak, instead of hardcoding the 99 for the length, I used LEN(A1).

Thanks
Rob H
0
 
LVL 50

Expert Comment

by:teylyn
ID: 36483692
@akoster, what if the numbers go into the 10s or 100s with three spaces between number and text?

@Rob, right! I like 99. It does the job in most instances and is faster to type. For longer strings I use 999 :-))
0
 
LVL 19

Expert Comment

by:akoster
ID: 36483776
Well, it does the job in most instances and is faster to type. For longer number i use 6 or 7 ;-))
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Merging multiple rows to one 22 33
SQL Help - 12 37
backups - Strategies 1 13
Populate data based on a  criteria 2 16
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now