PC Review


Reply
Thread Tools Rate Thread

How to delete numeric characters in a cell with alpha numeric char

 
 
Zak
Guest
Posts: n/a
 
      5th May 2010
Hi,

I have a spreadsheet populated with the following type of data:

xyz,"90,500","110,000"

xyz2,"33,100","18,100"

Its 200 cells and all have a mix of the above characters, it was imported
from a system so appears like this. I need to tidy up the data so it removes
everything besides the letters i.e. xyz should remain but all the numbers and
special characters like " " and , should be removed.

Dont think text2columns will work or the =LEN formula.

Any help would be greatly appreciated.

Thank you.

 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      5th May 2010
Hi,

From the examples you posted this would work

=LEFT(A1,3)

But i doubt it's as simple as that so if the length of the leading text can
vary try this

=SUBSTITUTE(A1,MID(A1,MIN(FIND({",",0,1,2,3,4,5,6,7,8,9},A1&",0123456789")),LEN(A1)),"")

Drag both down as required
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Zak" wrote:

> Hi,
>
> I have a spreadsheet populated with the following type of data:
>
> xyz,"90,500","110,000"
>
> xyz2,"33,100","18,100"
>
> Its 200 cells and all have a mix of the above characters, it was imported
> from a system so appears like this. I need to tidy up the data so it removes
> everything besides the letters i.e. xyz should remain but all the numbers and
> special characters like " " and , should be removed.
>
> Dont think text2columns will work or the =LEN formula.
>
> Any help would be greatly appreciated.
>
> Thank you.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove alpha or non-numeric characters from cell mmanis Microsoft Excel Misc 8 7th Aug 2009 02:39 AM
How do I copy numeric section of cell from alpha-numeric cell ACCAguy Microsoft Excel Worksheet Functions 7 8th Sep 2008 12:46 PM
Using a cell w/Alpha numeric characters in mulplication formula =?Utf-8?B?TUFKMDExNg==?= Microsoft Excel Worksheet Functions 4 10th Feb 2007 01:07 AM
only extract numeric value from alpha numeric cell Fam via OfficeKB.com Microsoft Excel Misc 5 26th Apr 2006 06:49 PM
Can you ID a cell that has both Alpha AND Numeric characters? =?Utf-8?B?UGhpbA==?= Microsoft Excel Worksheet Functions 5 18th Apr 2006 09:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:09 AM.