+ Reply to Thread
Results 1 to 2 of 2

find word starts with specific text in range

  1. #1
    Registered User
    Join Date
    12-02-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    74

    find word starts with specific text in range

    Hello All,

    I have below range:

    AATest1 ABC AA
    AATest1 ABC AA
    BBTest1 ABC AA
    BBTest2 XYZ BB
    BBTest3 XYZ BB
    CCTest1 ABC AA
    CCTest2 ABC AA
    CCTest3 ABC AA
    DDTest1 ABC AA
    DDTest2 XYZ BB

    I want to find out below result using VBA(filter on 3 columns)

    BBTest2
    BBTest3
    DDTest2

    what is the easiest way of doing this?
    Last edited by linok; 12-19-2014 at 02:26 AM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: find word starts with specific text in range

    Hi linok,

    This looks like an Advanced Filter problem to me. If you learn a little about Advanced Filters using the "Starts With" criteria the VBA code would make more sense.

    Read this site http://www.contextures.com/xladvfilter01.html and look at the wildcard criteria for the "Starts With" part.

    I hope this helps you get started. If you want total VBA then Advanced Filters aren't needed. BUT you may not need VBA to get your answer if you learn the above.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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. Replies: 12
    Last Post: 01-13-2014, 09:34 PM
  2. [SOLVED] Formula to find a specific text within a range and return the value in the next cell
    By 00pumpkin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-19-2013, 02:11 PM
  3. Replies: 2
    Last Post: 08-05-2013, 07:32 PM
  4. Search function, for specific text, but need to match if it starts with
    By andy.k in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-05-2013, 06:45 PM
  5. Replies: 16
    Last Post: 04-25-2013, 03:12 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