+ Reply to Thread
Results 1 to 4 of 4

Extract certain numbers from text placing them in columns

  1. #1
    Registered User
    Join Date
    02-17-2010
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    45

    Extract certain numbers from text placing them in columns

    Hello,


    I have part descriptions listed in column J. I need to pull the part descriptions out and place them in the correct column (ODL, ODW or IDL) as shown in the sample spreadsheet. My original spreadsheet has 6000+ rows.

    ODL = Outside Dimension Length
    ODW = Outside Dimension Width
    IDW = Inside Dimension Width

    Two senarios:
    1. Example: Description states 2.00" OD X 1.00" ID will be broke down like so: 2.00 (minus the inch txt) will be listed in column (K) and 1.00 will be listed in column (M).

    2. Example: Descpription states 2.00" x 1.00" will be broke down like so: 2.00 (minus the inch txt) will be listed in column (K) and the 1.00 will be listed in column (L).

    Factors to consider:
    A. In the description it won't always have a (") txt after the number.
    B. Any description with one number should be placed in column (K). Example: Part is 8" square.

    Any help would be most appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: Extract certain numbers from text placing them in columns

    I haven't looked at this closely, but to get you started, maybe you could use Text to Columns, delimited by the "X" to split the two dimensions, or one as the case may be. And then again using both space and double quotes to split the number from the descriptor. You should then be able to work up some formulas to check the descriptor columns and copy the dimensions.

    Not pretty but it would probably work.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Extract certain numbers from text placing them in columns

    Try the attached
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by jindon; 11-17-2012 at 02:34 AM.

  4. #4
    Registered User
    Join Date
    02-17-2010
    Location
    new york
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Extract certain numbers from text placing them in columns

    Jindon, Thank you so much! Worked like a charm!!!!

+ 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