+ Reply to Thread
Results 1 to 5 of 5

List all instances where a specific digit is contained in text

  1. #1
    Registered User
    Join Date
    09-11-2022
    Location
    London, England
    MS-Off Ver
    365
    Posts
    12

    List all instances where a specific digit is contained in text

    Hi,

    I've never posted here before but wanted help with this problem. If you could help, I'd be very grateful.

    At work I have a list of text and digits that I need to separate into parts. It is a bit like a phonetic dictionary.
    Expanded Data.png

    What I am trying to do is to find every instance of the highest number.
    Highest Number and Data.png


    I have been able to find the first instance using INDEX MATCH. This is the specific formula I have used.
    INDEX MATCH.png

    The problem is that I need this to return every instance of the highest digit. For the word "absolutism". I would need this to return both "uw2" and "ih2"".
    absolutism specifically.png

    If you know how I could get the formula to give every instance of the highest digit (and return the attached letters), I would be so grateful.

    Thanks,

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: List all instances where a specific digit is contained in text

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    09-11-2022
    Location
    London, England
    MS-Off Ver
    365
    Posts
    12

    Re: List all instances where a specific digit is contained in text

    Here is a template workbook,

    Example.xlsx

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: List all instances where a specific digit is contained in text

    Try

    in H4 and copy down

    =IFERROR(INDEX($K4:$U4,AGGREGATE(15,6,(COLUMN($K$1:$U$1)-COLUMN($K$1)+1)/(--RIGHT($K4:$U4,1)=$G4),COLUMN(A$1))),"")
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Registered User
    Join Date
    09-11-2022
    Location
    London, England
    MS-Off Ver
    365
    Posts
    12

    Re: List all instances where a specific digit is contained in text

    Thanks John!

    That's absolutely worked, even for instances with 3+ results to return. Perfect.

    Thanks so much,

+ 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. Return a value if specific text is contained in range.
    By lilit2222 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-19-2021, 03:54 PM
  2. Replies: 2
    Last Post: 05-13-2021, 01:37 PM
  3. [SOLVED] Search for the first cell that contained a specific text
    By Dena in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2014, 01:46 PM
  4. [SOLVED] Return specific text if a different text is contained anywhere in a range of cells
    By ciayers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2013, 05:54 PM
  5. Replies: 2
    Last Post: 06-17-2010, 08:36 PM
  6. [SOLVED] Countif function for instances of text string contained
    By Garbunkel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2005, 03:09 AM
  7. [SOLVED] RE: Countif function for instances of text string contained
    By David Billigmeier in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-10-2005, 05:05 PM

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