+ Reply to Thread
Results 1 to 3 of 3

Match Criteria In Column And Delete Different

  1. #1
    Forum Contributor
    Join Date
    06-15-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    213

    Match Criteria In Column And Delete Different

    Hello,

    I have a sheet that has the Master Information highlighted in yellow. I'm looking for a way to take the first Cell located in Yellow in Column C and make that the Primary Key for the beginning of this macro. What it will do is check all the non-colored cells located below it to see if it has any variations of the first 3 Characters "Joh". So for the first example on Sheet2 it shows that only two of the 3 rows are left. Once the program gets to another yellow cell in Column C it will then restart the program and make the new yellow cell the Primary Key. Does anybody know how to do this or have any ideas.
    Test-Yellow Cell.xlsx

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Match Criteria In Column And Delete Different

    I think something like:
    Please Login or Register  to view this content.
    would return the results you have in your example.

  3. #3
    Forum Contributor
    Join Date
    06-15-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    213

    Re: Match Criteria In Column And Delete Different

    Thank You.

+ 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. VBA - Find criteria and if match then delete other sheet
    By polki in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-23-2014, 03:16 AM
  2. [SOLVED] Delete rows that do not match criteria
    By johnny_p in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-11-2013, 06:23 AM
  3. Delete multiple columns by column name no criteria need, just delete them
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-24-2009, 10:40 AM
  4. Formula to delete column if it doesn't match criteria
    By stekng1fan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-02-2009, 02:39 PM
  5. Delete rows that match criteria
    By PhilSM in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-02-2009, 11:07 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