Results 1 to 12 of 12

RE: Extracting Certain Numbers from a Text String Containing Several Numbers

Threaded View

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    Lincoln, UK
    MS-Off Ver
    2013
    Posts
    37

    RE: Extracting Certain Numbers from a Text String Containing Several Numbers

    Hi -

    I was wondering if anyone could help me on this.

    We have a list of products in a catalogue whereby we need to extract the pack sizes from the given description. At present using this formula:

    =MID(SUMPRODUCT(--MID("01"&REF!,SMALL((ROW($1:$300)-1)*ISNUMBER(-MID("01"&REF!,ROW($1:$300),1)),ROW($1:$300))+1,1),10^(300-ROW($1:$300))),2,300)

    ...we can successfully pull this through, BUT this is also bringing across and combining a lot of the product names as these also contain numbers, as they quote chemical names in the same description.

    EXAMPLE:

    Cell A1 = ORGANIC MIX 5-5-5 - 10 KG SACK
    (Product Name)

    We need Cell B1 to take the '10' from the 10 KG above (using the above formula, the cell B1 brings through '55510', not '10'.

    Does anyone know how to make the formula (we have tried various different LEFT/MID/RIGHT based formulas too) pull through the '10' by looking if it is followed by a 'KG', 'L', or 'LITRE' / 'LITRES' please?

    We have 220,000 product lines that's all!

    Thanks, any guidance appreciated

    Stuart
    Last edited by EduardStoo; 08-31-2018 at 11:04 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Extracting Numbers from text string
    By arekkusu03 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2015, 02:43 AM
  2. [SOLVED] extracting numbers from a string of text and numbers
    By ScottLor in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2013, 04:47 PM
  3. [SOLVED] Extracting numbers after a # in a text string
    By percyth1 in forum Excel General
    Replies: 6
    Last Post: 08-23-2012, 11:32 PM
  4. Extracting numbers from a text string
    By Cruncher1 in forum Excel General
    Replies: 2
    Last Post: 06-11-2012, 01:17 PM
  5. Extracting Numbers from text String and Sum?
    By FuzzyDove in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2008, 03:23 PM
  6. Extracting Numbers from text string
    By rlane23 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2007, 05:00 AM
  7. extracting numbers within text string!
    By via135 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-05-2006, 01:08 AM

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