Results 1 to 10 of 18

Thread: Extract numbers from text into multiple columns

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Forum Guru Rick Rothstein's Avatar
    Join Date
    Feb 2012
    Posts
    662
    Rep Power
    15
    [QUOTE=Giraffe;9547]Thanks Rick for trying but assuming I have entered it correctly and run it correctly it came out as attached. At the momen
    Quote Originally Posted by Giraffe View Post
    Thanks Rick for trying but assuming I have entered it correctly and run it correctly it came out as attached.
    The reason the code did not work for you is because I designed it for this (which came from the workbook you attached to Message #4)...


    A B C D E F
    1 100mic Gloss Film 1000mm x 100m on 78mm core FP22GLO100001003K 22 1000 100 3
    2 100mic Gloss Film 1400mm x 1400m x 78mm core FP22GLO140014003F 22 1400 1400 3
    3 125mic Gloss Film 230mm x 60m on 58mm core FP23GLO023000602 23 230 60 2
    4 125mic Gloss Film 230mm x 100m on 58mm core FP23GLO023001002OUT 23 230 100 2
    5 75mic Ultra Matt Film 110mm x 1000m on 78mm core FR12MAT011010003 12 110 1000 3


    but this is from the workbook you attached to Message #9 which you say my code did not work for...


    A B C D E F
    1
    UBG315X500X77 ULTRABOND GLOSS 315mm 500m 77mm core 315 77 77 7
    2
    UBG315X500X77 ULTRABOND GLOSS 315mm 500m 77mm core 315 77 77 7
    3 UBM315X500X77 ULTRABOND MATT 315mm 500m 77mm core 315 77 77 7


    Does anything look different about those two layouts to you? Because they sure look different to me!

    Now, what does your data layout actually look like... the first or second table above?

  2. #2
    Junior Member
    Join Date
    Sep 2015
    Posts
    10
    Rep Power
    0
    It looks like both the first and the second spreadsheet unfortunately. but the second spreadsheet is a full example of the data which should include the data from the first list? The codes (column A) should be consistent but the descriptions (column B) can be changed by the staff, even though they are not supposed to! In spreadsheet 1 I swapped the description and code columns around and forgot i had done so! Sorry!!

  3. #3
    Forum Guru Rick Rothstein's Avatar
    Join Date
    Feb 2012
    Posts
    662
    Rep Power
    15
    Quote Originally Posted by Giraffe View Post
    It looks like both the first and the second spreadsheet unfortunately. but the second spreadsheet is a full example of the data which should include the data from the first list? The codes (column A) should be consistent but the descriptions (column B) can be changed by the staff, even though they are not supposed to! In spreadsheet 1 I swapped the description and code columns around and forgot i had done so! Sorry!!
    So are you saying the bottom table in Message #10 is your actual layout? If so, where do the numbers in Column F come from? If you say the last digit (which is how it is in the top table), then where did the number in Column E come from?

Similar Threads

  1. Extract Only Numbers & TEXT From Text String
    By mahmoud-lee in forum Excel Help
    Replies: 9
    Last Post: 11-02-2013, 02:49 PM
  2. Replies: 4
    Last Post: 05-01-2013, 09:49 PM
  3. Replies: 2
    Last Post: 09-24-2012, 09:20 PM
  4. Extract numbers from alphanumeric values
    By tushar.tarafdar in forum Excel Help
    Replies: 3
    Last Post: 09-20-2012, 10:16 PM
  5. VBA Function To Extract Decimal Numbers
    By PcMax in forum Excel Help
    Replies: 7
    Last Post: 11-19-2011, 09:42 PM

Tags for this Thread

Posting Permissions

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