Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-2012, 10:49 PM
gsrikanth gsrikanth is offline number remove, data get Windows XP number remove, data get Office XP
Competent Performer
number remove, data get
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default number remove, data get


in the excel
if i remove numbers like 0 1 2 upto 9
i have data
at a time whole numbers
how they remove
for each file iam replace zero with nospace, one with nospace i have many time
Reply With Quote
  #2  
Old 02-18-2012, 01:03 PM
JBeaucaire JBeaucaire is offline number remove, data get Windows XP number remove, data get Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

Please provide 3-4 examples of BEFORE and AFTER so we can see what you want.
Reply With Quote
  #3  
Old 02-22-2012, 03:58 AM
gsrikanth gsrikanth is offline number remove, data get Windows XP number remove, data get Office XP
Competent Performer
number remove, data get
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by JBeaucaire View Post
Please provide 3-4 examples of BEFORE and AFTER so we can see what you want.
before
james( 33 )
( 71 )
stalin
mike( 17 )
( 37 )
1.5johnson
thompson( 37 )
( 34 )
1.43rosy
denis( 17 )

after
james
-
stalin
mike
-
johnson
thompson
-
rosy
denis

answer
Reply With Quote
  #4  
Old 02-22-2012, 05:17 PM
JBeaucaire JBeaucaire is offline number remove, data get Windows XP number remove, data get Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

I would use VBA for this, not a formula. Do you use VBA?
Reply With Quote
  #5  
Old 02-22-2012, 10:08 PM
gsrikanth gsrikanth is offline number remove, data get Windows XP number remove, data get Office XP
Competent Performer
number remove, data get
 
Join Date: Dec 2011
Posts: 133
gsrikanth is on a distinguished road
Default

Quote:
Originally Posted by JBeaucaire View Post
I would use VBA for this, not a formula. Do you use VBA?
yes for VBA
Reply With Quote
  #6  
Old 02-23-2012, 05:42 AM
JBeaucaire JBeaucaire is offline number remove, data get Windows XP number remove, data get Office 2003
Advanced Beginner
 
Join Date: Dec 2011
Posts: 51
JBeaucaire is on a distinguished road
Default

Put this new FUNCTION into a standard code module:

Code:
Option Explicit

Function CleanText(ByVal Txt As String) As String
Dim X As Long     'Code base by Rick Rothstein (MVP - Excel)
    For X = 1 To Len(Txt)
        If Mid(Txt, X, 1) Like "*[!A-Za-z]*" Then Mid(Txt, X, 1) = Chr(1) ' Leave only letters
    Next
    CleanText = Replace(Txt, Chr(1), "")
End Function
Now, use this as a formula. Your strings are in column A, in B1 enter:

=CLEANTEXT(A1)

...and copy down.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Data Source- Linking template charts to new data lbf PowerPoint 0 10-28-2011 12:19 PM
number remove, data get Mailing: how to make the "page number" in Word is the same as "row number" in excel w Jamal NUMAN Word 1 09-03-2011 11:37 AM
number remove, data get How to remove "Table of Figures" as we do to remove the "Table of Contents"? Jamal NUMAN Word 1 07-08-2011 05:40 PM
Powerpoint: adding data to trend lines w/o data labels HaiLe PowerPoint 0 04-11-2011 09:21 AM
number remove, data get How to organize and insert blank cells between a huge number of data? tareq Excel 12 09-29-2010 02:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft