+ Reply to Thread
Results 1 to 21 of 21

Macro to Match Items in Col C

Hybrid View

  1. #1
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Try this Excel basics …


    According to your last attachment just using the Excel basics like any beginner can yet operates manually :

    PHP Code: 
    Sub Demo0()
         
    Dim V
             Application
    .ScreenUpdating False
        With Range
    ("A2", [A1].End(xlDown)).Resize(, 7).Columns
            
    .Item(7).Formula "=ROUND(SUMIF(" & .Item(6).Address ",F2," & .Item(5).Address "),2)=0"
            
    .Sort .Cells(7), xlAscendingHeader:=xlNo
             V 
    Application.Match(True, .Item(7), 0)
             If 
    IsNumeric(VThen .Rows(":" & .Rows.Count).Clear
            
    .Item(7).Clear
        End With
             Application
    .ScreenUpdating True
    End Sub 
    ► Do you like it ? ► ► So thanks to click on bottom left star icon « Add Reputation » ! ◄ ◄

  2. #2
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,873

    Re: Try this Excel basics …

    hi Marc

    You helped me while back with code see your post # 17

    Where there is a partial match in the narrative in Col F and the value in Col E is opposite & equal then the rows are to be deleted. I have highlighted the rows to be deleted in yellow


    Kindly amend your code
    Attached Files Attached Files

+ 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 delete certain items then count remaining items #2
    By elgato74 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-21-2019, 02:26 PM
  2. [SOLVED] Macro to delete certain items then count remaining items
    By elgato74 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-14-2019, 03:20 PM
  3. Replies: 2
    Last Post: 11-17-2016, 06:37 AM
  4. [SOLVED] Need to count items in column that match multiple data items
    By bclucas55 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-27-2014, 10:03 AM
  5. macro to filter all items in Autofilter except 2+ items
    By DanRiverBrew in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-09-2013, 09:15 PM
  6. [SOLVED] One to many items match
    By Pavan_Jack in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-30-2012, 01:16 PM
  7. [SOLVED] Match Items
    By vharjani3 in forum Excel General
    Replies: 17
    Last Post: 06-04-2012, 09: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