+ Reply to Thread
Results 1 to 2 of 2

extraction of number from cell containing alpha-numeric character with space

  1. #1
    Registered User
    Join Date
    04-13-2013
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    1

    extraction of number from cell containing alpha-numeric character with space

    I want to extract the number after certain character (single or double digit). If there is no number after that character, it should give the default value of 1. The cell contains alpha-numeric character. I have the predefined character list. If the cell does not contain that character, the result sheet should be left as blank. I have given the possible problem and the expected solution in the table. Help would be acknowledged. Thanks

    Expected results
    Problem Z X O Mc P S Ck U T

    Z X8 O3 Mc P 1 8 3 1 1
    Z4 X9 T2 4 9 2
    Z2 X8 O2 Mc Ck 2 8 2 1 1
    Z5 X5 O3 5 5 3
    Z3 X7 U2 S 3 7 1 2
    Z2 X4 Mc2 P T 2 4 2 1 1
    Z O2 Mc U3 1 2 1 3

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

    Re: extraction of number from cell containing alpha-numeric character with space

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    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)

Tags for this Thread

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