Solved

Removing digits from exel 2007 column

Posted on 2011-09-05
5
295 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:
Ingeborg Hawighorst 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 32

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:Ingeborg Hawighorst
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

810 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