+ Reply to Thread
Results 1 to 4 of 4

Return Multiple Instances of text

  1. #1
    Forum Contributor
    Join Date
    05-27-2012
    Location
    New Brunswick, Canada
    MS-Off Ver
    Excel 2016
    Posts
    327

    Return Multiple Instances of text

    I have a list of names, some of which have an underscore in them and what I would like is another column that extracts only the names with the underscore. As a secondary request, I'd also like to also pull the city said results are from.
    Columns E & F show what I'd like the results to pull.

    Any help would be appreciated.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,600

    Re: Return Multiple Instances of text

    E2:
    Please Login or Register  to view this content.
    F2:
    Please Login or Register  to view this content.


    To enter array formulas ensure the cursor is in the formula bar: Simultaneously press Ctrl+Shift+Enter. Excel will automatically enclose the formula in braces "{}".
    Last edited by protonLeah; 05-24-2020 at 09:39 PM. Reason: replaced unauthorized "array" instruction with personal
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    05-27-2012
    Location
    New Brunswick, Canada
    MS-Off Ver
    Excel 2016
    Posts
    327

    Re: Return Multiple Instances of text

    Thank you protonLeah as usual! Been to the forum before and you've answered my questions in the past

    Would there be a way to combine 2 formulas now that I have 2 working for 2 difference sheets? The criteria would still be the same, just looking on both sheets.

    Formula 1
    Please Login or Register  to view this content.
    Formula 2
    Please Login or Register  to view this content.
    I tried an OR but probably ended up writing it horribly wrong
    Last edited by Wheelie686; 05-23-2020 at 12:58 PM.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,600

    Re: Return Multiple Instances of text

    What you have as: INDEX('Comm MTL'!$B$2:'Comm MTL'!$E$500...
    is correctly written as: INDEX('Comm MTL'!$B$2:$E$500...

    But the original problem involved only two columns: find a name with "_" and return the name and city to another location on the sheet.
    The new formula has four columns B - E. So, are the names in column B and the locations in column E?

+ 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. [SOLVED] Look for multiple instances and return sum of adjacent cells
    By buzzbee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2016, 11:22 AM
  2. Return values for multiple instances
    By diva666 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-12-2016, 09:08 AM
  3. [SOLVED] Return multiple instances from a lsit
    By SKirkaldy in forum Excel General
    Replies: 5
    Last Post: 11-24-2015, 05:02 AM
  4. [SOLVED] Complex VLOOKUP, multiple instances vertical, return subsequent instances horizontally
    By Miles_2804 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-12-2013, 11:54 AM
  5. [SOLVED] Lookup multiple instances of value in ws2 and return data to WS1
    By anymount in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-12-2013, 09:19 AM
  6. Need to return multiple instances using lookup
    By fugee7 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-01-2011, 02:11 PM
  7. Search for instances of text and return ending position
    By ksp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-31-2006, 05:14 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