+ Reply to Thread
Results 1 to 7 of 7

modifying numbers

  1. #1
    Registered User
    Join Date
    10-01-2011
    Location
    Egypt
    MS-Off Ver
    Excel 2003
    Posts
    2

    modifying numbers

    hi developers,
    my country will modify all mobile phones numbers adding to them one more digit number after first numbers , because the increment of mobile phones holders
    i got over 600 numbers in my mobile phone .. after syncing and importing at Microsoft Excel ,, i need help with a way (find & replace or Function ) to modify and to add a number to all other numbers
    for ex. how to modify all the numbers starting with 024#### to 0240#### ,,,
    .. waiting for geek's help

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: modifying numbers

    Hi
    If your phone numbers are formated to text with leading zeros and the first 3 numbers are 024 and you want to add a 0 after that, then the following formula should work if you drag it down alongside you telephone numbers.

    =CONCATENATE(LEFT(A3,3),0,RIGHT(A3,LEN(A3)-3))

    In this example the list of numbers begins in A3.

  3. #3
    Registered User
    Join Date
    10-01-2011
    Location
    Egypt
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: modifying numbers

    Quote Originally Posted by DBY View Post
    Hi
    If your phone numbers are formated to text with leading zeros and the first 3 numbers are 024 and you want to add a 0 after that, then the following formula should work if you drag it down alongside you telephone numbers.

    =CONCATENATE(LEFT(A3,3),0,RIGHT(A3,LEN(A3)-3))

    In this example the list of numbers begins in A3.
    thanks so much DBY it worked as u clarified ,, but i changed the ( , ) with ( ; ) in all the function to work
    thanks once again

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: modifying numbers

    This might also help
    Please Login or Register  to view this content.
    (Change the delimiting commas to semi-colons to suit your setup.)
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: modifying numbers

    or use the numberformat:

    "00\000000"

    eg.

    2412345 becomes 24012345



  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: modifying numbers

    @ snb
    Will that work for transferring to a mobile phone ?

  7. #7
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: modifying numbers

    @Marcol

    If you use the text-property.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1