+ Reply to Thread
Results 1 to 4 of 4

delete row if column D plus from lower to top >100

  1. #1
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    delete row if column D plus from lower to top >100

    Dear all,

    Please help
    Column A with 1,2,.......
    Column D with numbers
    Then plus from lower D number ,if >100 Delete row

    For example
    For Column A , Number 1 form the Low Column D plus to top , that is D14+D13+D12+D11 =80
    If plus D10= 101 , then row D10,D9,D8,D7,D6,D5,D4,D3,D2
    But Attached file code don’t work, pls help
    After code sheet 1 should become sheet 2

    Thanks for your great help
    Tom
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,107

    Re: delete row if column D plus from lower to top >100

    Place a header name in cell A1 so that it is not blank. This is necessary for the macro to filter data properly. Then try this macro:
    Please Login or Register  to view this content.
    Last edited by Mumps1; 03-05-2019 at 02:49 PM.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    02-23-2015
    Location
    hk
    MS-Off Ver
    window7
    Posts
    240

    Re: delete row if column D plus from lower to top >100

    Thanks the vba code work perferct!!! ....Many thanks to Mumps1

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,107

    Re: delete row if column D plus from lower to top >100

    You are very welcome.

+ 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: 3
    Last Post: 12-30-2015, 06:51 PM
  2. Delete row if value of column X is lower than value
    By nzo12 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-10-2015, 11:52 AM
  3. Replies: 6
    Last Post: 05-01-2014, 12:03 PM
  4. [SOLVED] Delete rows based on cell number value lower than certain Value
    By LadyNicole in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-02-2013, 10:07 AM
  5. [SOLVED] VBA to delete lower cells on a range
    By dualaudio454252 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-19-2013, 04:20 PM
  6. Delete rows based on lower value than number specified , positive or negative values
    By LadyNicole in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 06-11-2013, 03:33 AM
  7. Delete all rows with formulas from row 6000 and lower
    By timmyjc18 in forum Excel General
    Replies: 0
    Last Post: 06-27-2012, 08:18 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