+ Reply to Thread
Results 1 to 3 of 3

Delete if no match in 3 cells

  1. #1
    Forum Contributor
    Join Date
    11-08-2017
    Location
    London
    MS-Off Ver
    Office 2007
    Posts
    122

    Delete if no match in 3 cells

    Looking for a simple macro to check 3 cells o4-q4 against a range H17-J45 for a match.04-q4 will change daily.If ONE number match then don't delete.If the 3 cells don't contain 1 match on o4-q4 then it must be deleted. Rep given for solution. See macro attached.In the workbook the red lines dont have 1 match and must be deleted.It can move up after delete to prevent spaces.

    Thanks for any help
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,190

    Re: Delete if no match in 3 cells

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-08-2017
    Location
    London
    MS-Off Ver
    Office 2007
    Posts
    122

    Re: Delete if no match in 3 cells

    Quote Originally Posted by ranman256 View Post
    Please Login or Register  to view this content.
    Works flawlessly thank you ranman256 -Rep given 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. Compare 2 columns, delete cells with no match
    By cmd in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-22-2019, 04:52 AM
  2. [SOLVED] VBA to MATCH cells and Delete contents!
    By Keibri in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-23-2016, 09:59 AM
  3. [SOLVED] delete rows if all cells match all cell of another row
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-27-2015, 08:13 AM
  4. delete row if two cells match text.
    By lisa laroche in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-28-2013, 07:49 PM
  5. delete cells if value doesen't match, values in mixed oreder
    By orimpila in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2013, 11:39 AM
  6. Delete rows that don't match cells...
    By synses in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-31-2013, 01:11 PM
  7. Delete rows if values match in a block of cells
    By Premangshu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-21-2012, 05:47 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