Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Xavie
 
Posts: n/a
Default Replacing digitnumbers

I have some 10,000 number with various digit like 199601013800, 200505010002.
The first 8 digit must be replaced to 747. What formula must be used ?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Replacing digitnumbers

In B1:

="747" & RIGHT(A1,LEN(A1)-8)

Or if they are 12 digits then

="747" & RIGHT(A1,4))

HTH

"Xavie" wrote:

I have some 10,000 number with various digit like 199601013800, 200505010002.
The first 8 digit must be replaced to 747. What formula must be used ?

  #3   Report Post  
Posted to microsoft.public.excel.misc
Dana DeLouis
 
Posts: n/a
Default Replacing digitnumbers

Would this work?

=REPLACE(A1,1,8,747)

Perhaps add 0 to turn it back into a number:

=REPLACE(A1,1,8,747)+0

--
HTH. :)
Dana DeLouis
Windows XP, Office 2003


"Xavie" wrote in message
...
I have some 10,000 number with various digit like 199601013800,
200505010002.
The first 8 digit must be replaced to 747. What formula must be used ?



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
replacing #N/A values with zero values Ted Excel Worksheet Functions 11 February 16th 06 10:58 PM
Stopping autoformat when replacing cells. Jaelou New Users to Excel 3 January 26th 06 03:02 PM
XL 2003: Replacing X-Axis Labels with Custom Ones... Birmangirl Charts and Charting in Excel 1 December 7th 05 04:09 AM
Replacing text in Excel files on disk? Desperate Don Excel Discussion (Misc queries) 0 March 1st 05 04:23 PM
Filtering and replacing values through a macro vic Excel Worksheet Functions 1 January 27th 05 09:53 PM


All times are GMT +1. The time now is 10:31 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"