+ Reply to Thread
Results 1 to 6 of 6

Subtitute Cell Number

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2016 Mondo
    Posts
    88

    Subtitute Cell Number

    I want change in this formula or maybe i need some small change in your posted formula

    but first i need change on this formula only

    =0&(SUBSTITUTE(MID(A1,FIND(3,A1,FIND(" ",A1,1)),20),"-",""))

    this formula work on this type of number: 042-1234567 0092-300-1234567
    but this formula is not working on this condition:- 0092-300-1234567

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Subtitute Cell Number

    What you trying to do?
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    03-21-2012
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2016 Mondo
    Posts
    88

    Re: Subtitute Cell Number

    Dear Brother

    I have cell numbers directory but i want to extract cell numbers from column A which is typed as under:
    0092-300-1234567

    But i wants: 03001234567
    How can i do this ???

  4. #4
    Registered User
    Join Date
    03-21-2012
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2016 Mondo
    Posts
    88

    Re: Subtitute Cell Number

    Please see attached file
    In Column A cell numbers and land line numbers are mixed.
    All mobile numbers are realized from mid code which is starts from "3" like as under:

    0092-345-6781386 (Mobile)
    0092-53-7516953 (Land line)

    I want to extract Mobile number from Column A to Column B but in this condition: 03456781386
    Attached Files Attached Files

  5. #5
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Subtitute Cell Number

    @it_electronics2000:

    you have an update by @nflsales on your other thread:

    http://www.excelforum.com/excel-gene...l-numbers.html

    see if that helps you.

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Subtitute Cell Number

    @it_electronics2000,

    Please stop creating duplicate threads. If you need more help on a particular question, bump it up.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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