+ Reply to Thread
Results 1 to 6 of 6

Extract the number from the left cell to matching word

  1. #1
    Registered User
    Join Date
    12-11-2020
    Location
    USA
    MS-Off Ver
    Professional
    Posts
    18

    Question Extract the number from the left cell to matching word

    Extract the number from the left cell to matching word
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Extract the number from the left cell to matching word

    In B5 copied to the right
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    12-11-2020
    Location
    USA
    MS-Off Ver
    Professional
    Posts
    18

    Re: Extract the number from the left cell to matching word

    Thank you for the response. Since there are more results for matching, how to extend the answers ?

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Extract the number from the left cell to matching word

    I have slightly modified the formula of ChemistB
    Please Login or Register  to view this content.
    Since column A is free, search range is A5:A6. it can be changed.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    12-11-2020
    Location
    USA
    MS-Off Ver
    Professional
    Posts
    18

    Re: Extract the number from the left cell to matching word

    Thank you. Please edit the formula without referencing row 5 data.
    Row 5 is the result.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Extract the number from the left cell to matching word

    Changed formula.

    =IFERROR(INDEX($B$2:$U$2, AGGREGATE(15, 6,(COLUMN($B$2:$U$2)-COLUMN($B$1))/SEARCH("*"&$A$5:$A$6&"*",$B$2:$U$2),COLUMNS($B7:B7))),"")
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to extract certain number LEFT from the criteria if it's found in the cell
    By bartalosmoni in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-29-2019, 01:10 PM
  2. Replies: 14
    Last Post: 09-03-2018, 01:45 PM
  3. Replies: 13
    Last Post: 12-11-2014, 04:02 PM
  4. Extract text to left of number of bracket
    By cmb80 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2014, 06:57 PM
  5. Replies: 2
    Last Post: 01-27-2013, 12:20 AM
  6. [SOLVED] Extract number that comes before a certain word in an alphanumeric cell
    By Pearla in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-27-2012, 07:13 PM
  7. Replies: 1
    Last Post: 01-16-2012, 04:03 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