+ Reply to Thread
Results 1 to 6 of 6

List of all row numbers that contain a specific text string

  1. #1
    Registered User
    Join Date
    07-13-2009
    Location
    Bristol, England
    MS-Off Ver
    Excel 2010
    Posts
    81

    List of all row numbers that contain a specific text string

    Hi

    I have a list of text data in a58:a5000 which I have named 'List'. In that range there are some duplicate values. I want to be able to type a text string into cell c51 and then obtain a list of all of the rows in which the duplicates occur. Is this possible without the use of VBA?

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: List of all row numbers that contain a specific text string

    Attach sample sheet, with brief explanation and expected results
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    10-29-2014
    Location
    udaipur, rajasthan
    MS-Off Ver
    2013
    Posts
    365

    Re: List of all row numbers that contain a specific text string

    Hi,

    Something like this?
    Attached Files Attached Files
    If answer helped you say Thanks by Add Reputation

  4. #4
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: List of all row numbers that contain a specific text string

    HI,

    find the attached File with a array function .

    don't forget to use Ctrl+Shift+Enter after any modification in the file as this is a array function

    Punnam
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-13-2009
    Location
    Bristol, England
    MS-Off Ver
    Excel 2010
    Posts
    81

    Re: List of all row numbers that contain a specific text string

    Hi

    Ive attached a sample file which is different from the original as the original is huge and contains some confidential data. Ive changed the list location to A12:a20 and put the search text string in A2
    You will see that the list of rows where the search string is matched is shown in a3:a5

    Thanks for your swift response so far
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Office 365
    Posts
    1,899

    Re: List of all row numbers that contain a specific text string

    hi spoursy,

    Have you checked my post 4 ?

    Punnam

+ 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] Macro to create a new line within a text string if specific characters appear mid-string
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-29-2014, 11:32 AM
  2. Replies: 6
    Last Post: 02-27-2014, 07:04 PM
  3. [SOLVED] Macro to convert specific text and format specific text within a string
    By Mencae in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-06-2012, 12:13 AM
  4. Extract specific numbers from a string of text
    By Galwaygirl13 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-19-2012, 03:22 PM
  5. Convert numbers to a specific text string
    By francisobrien2007 in forum Excel General
    Replies: 2
    Last Post: 09-30-2011, 06:00 PM

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