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 ? |
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 ? |
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 ? |
All times are GMT +1. The time now is 06:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com