Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
GlenS
 
Posts: n/a
Default Removing Non-Numeric Characters


I have a list of numbers which contain both numbers & text characters.
(Eg: 123/456/7).

I need to match this list to another one which contains only numbers.
(Eg: 1234567).

Is there a formula I can use which allows me to extract only numerical
characters from a cell.

Many Thanks

Glen


--
GlenS
------------------------------------------------------------------------
GlenS's Profile: http://www.excelforum.com/member.php...o&userid=28028
View this thread: http://www.excelforum.com/showthread...hreadid=475327

  #2   Report Post  
Paul Sheppard
 
Posts: n/a
Default


GlenS Wrote:
I have a list of numbers which contain both numbers & text characters.
(Eg: 123/456/7).

I need to match this list to another one which contains only numbers.
(Eg: 1234567).

Is there a formula I can use which allows me to extract only numerical
characters from a cell.

Many Thanks

Glen


Hi Glen

Try Edit and Replace


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=475327

  #3   Report Post  
GlenS
 
Posts: n/a
Default


Find & Replace works for most of the characters except for a character
which appear at the front of some of the numbers (EG: '354859). I've
tried copying & pasting this character into the Find & Replace but it
doesn't work.

I think it's something that's been entered to force Excel to start
numbers with a 0.

Glen


--
GlenS
------------------------------------------------------------------------
GlenS's Profile: http://www.excelforum.com/member.php...o&userid=28028
View this thread: http://www.excelforum.com/showthread...hreadid=475327

  #4   Report Post  
Paul Sheppard
 
Posts: n/a
Default


GlenS Wrote:
Find & Replace works for most of the characters except for a character
which appear at the front of some of the numbers (EG: '354859). I've
tried copying & pasting this character into the Find & Replace but it
doesn't work.

I think it's something that's been entered to force Excel to start
numbers with a 0.

Glen


Hi Glen

The ' allows numbers to be enterred with leading zeros

To get rid of this in the next available column use this formula
=TRIM(A1), change the reference to suit, drag this down to the bottom
of the row, the copy paste special values over the column with the
formulae


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=475327

  #5   Report Post  
GlenS
 
Posts: n/a
Default


Thanks again - worked fine.

Glen


--
GlenS
------------------------------------------------------------------------
GlenS's Profile: http://www.excelforum.com/member.php...o&userid=28028
View this thread: http://www.excelforum.com/showthread...hreadid=475327



  #6   Report Post  
Stefi
 
Posts: n/a
Default

Use
=SUBSTITUTE(A1,"/","")
instead of A1 if A1 contains 123/456/7

Stefi

"GlenS" wrote:


I have a list of numbers which contain both numbers & text characters.
(Eg: 123/456/7).

I need to match this list to another one which contains only numbers.
(Eg: 1234567).

Is there a formula I can use which allows me to extract only numerical
characters from a cell.

Many Thanks

Glen


--
GlenS
------------------------------------------------------------------------
GlenS's Profile: http://www.excelforum.com/member.php...o&userid=28028
View this thread: http://www.excelforum.com/showthread...hreadid=475327


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing text characters Scott Excel Worksheet Functions 4 August 11th 05 12:19 PM
Converting numeric characters Demmaus Excel Discussion (Misc queries) 2 July 15th 05 11:47 PM
how do i step thru a text field looking for 6 numeric characters Snookman150 Excel Worksheet Functions 0 June 30th 05 01:31 PM
Allow Numeric Characters Only In A Cell Mel Excel Discussion (Misc queries) 5 June 10th 05 11:55 PM
Count unique alpha numeric "characters" in a common cell WIM4246 Excel Worksheet Functions 4 December 11th 04 02:27 AM


All times are GMT +1. The time now is 08:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"