Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default replace numbers in excel

My knowledge of Excel is fair but i am having a real problrm with Find and
replace that is doing my brain in. My wife has compiled a large spreadsheet
of telephone numbers that are prefaced with the German IDD in the format
0049space0123456789. She has made two mistakes - the first in inserting the
IDD when it was not required and secondly having inserted the IDD she should
have taken the leading 0 out and did not . To correct both mistakes, she
needs to remove the 0049space. Despite me formatting the cells as text and
trying every combination, F&R fails despite my every effort. I am finding the
0049 and leaving the "replace" cell blank. No deal. Any ideas what I am doing
wrong please?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default replace numbers in excel

Just remove the first 5 characters if the value is text:

=RIGHT(A1,10)
--
Gary's Student
gsnu200703


"nera techie nora thickiebee" wrote:

My knowledge of Excel is fair but i am having a real problrm with Find and
replace that is doing my brain in. My wife has compiled a large spreadsheet
of telephone numbers that are prefaced with the German IDD in the format
0049space0123456789. She has made two mistakes - the first in inserting the
IDD when it was not required and secondly having inserted the IDD she should
have taken the leading 0 out and did not . To correct both mistakes, she
needs to remove the 0049space. Despite me formatting the cells as text and
trying every combination, F&R fails despite my every effort. I am finding the
0049 and leaving the "replace" cell blank. No deal. Any ideas what I am doing
wrong please?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default replace numbers in excel

Hi thanks but i don't think that works. The numbers are all different string
lengths . If I have understood the "Right" function" correctly, it "returns"
numbers from right to left of the string rather than deleting the first 5
characters (0049+space). As the individual numbers are of different lengths
it is "returning" the wrong number. Or have I got that wrong as well?

Thanks

"Gary''s Student" wrote:

Just remove the first 5 characters if the value is text:

=RIGHT(A1,10)
--
Gary's Student
gsnu200703


"nera techie nora thickiebee" wrote:

My knowledge of Excel is fair but i am having a real problrm with Find and
replace that is doing my brain in. My wife has compiled a large spreadsheet
of telephone numbers that are prefaced with the German IDD in the format
0049space0123456789. She has made two mistakes - the first in inserting the
IDD when it was not required and secondly having inserted the IDD she should
have taken the leading 0 out and did not . To correct both mistakes, she
needs to remove the 0049space. Despite me formatting the cells as text and
trying every combination, F&R fails despite my every effort. I am finding the
0049 and leaving the "replace" cell blank. No deal. Any ideas what I am doing
wrong please?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default replace numbers in excel

Try this, then:

=MID(A1,6,255)

(takes characters from the 6th character onwards), or this:

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

(takes the right end part of the string, excluding the first 5
characters).

Hope this helps.

Pete

On Jan 29, 4:31 pm, nera techie nora thickiebee
m wrote:
Hi thanks but i don't think that works. The numbers are all different string
lengths . If I have understood the "Right" function" correctly, it "returns"
numbers from right to left of the string rather than deleting the first 5
characters (0049+space). As the individual numbers are of different lengths
it is "returning" the wrong number. Or have I got that wrong as well?

Thanks



"Gary''s Student" wrote:
Just remove the first 5 characters if the value is text:


=RIGHT(A1,10)
--
Gary's Student
gsnu200703


"nera techie nora thickiebee" wrote:


My knowledge of Excel is fair but i am having a real problrm with Find and
replace that is doing my brain in. My wife has compiled a large spreadsheet
of telephone numbers that are prefaced with the German IDD in the format
0049space0123456789. She has made two mistakes - the first in inserting the
IDD when it was not required and secondly having inserted the IDD she should
have taken the leading 0 out and did not . To correct both mistakes, she
needs to remove the 0049space. Despite me formatting the cells as text and
trying every combination, F&R fails despite my every effort. I am finding the
0049 and leaving the "replace" cell blank. No deal. Any ideas what I am doing
wrong please? - Hide quoted text -- Show quoted text -


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
Why are 1/2 my numbers imported as text and the rest as numbers? KBear Excel Discussion (Misc queries) 2 April 21st 06 01:40 PM
IF formula in Excel / Replace numbers with 'words' Emsmaps Excel Discussion (Misc queries) 1 April 7th 06 11:01 PM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Excel won't sort numbers correctly martin0642 Excel Discussion (Misc queries) 2 September 27th 05 05:34 PM
How to make excel not round real numbers when making a histogram? Leedawg Charts and Charting in Excel 1 September 21st 05 07:36 PM


All times are GMT +1. The time now is 12:29 AM.

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

About Us

"It's about Microsoft Excel"