+ Reply to Thread
Results 1 to 12 of 12

Delete row of SELLER items

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Delete row of SELLER items

    I want the macro to delete rows where last column is not pink , this will give me a list of what is slow moving

    Find attached
    Attached Files Attached Files

  2. #2
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2402-17328.20068
    Posts
    1,361

    Re: Delete row of SELLER items

    Does the data usually have headers or just as it is?
    If things don't change they stay the same

  3. #3
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Delete row of SELLER items

    The percentages below 10% have been made pink with a Conditional Formatting rule.

    This gives two other possibilities to delete the desired rows without a macro.

    Possibility 1: Sort the table by column F in deceding order and delete the top rows, where the percentage is not pink.
    OR
    Possibility 2: Filter the table in column F on percentages from 10% and delete the rows you see. (That can then be done in one go, the filtered rows remain).

    If you have any questions about this, please let me know.

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,525

    Re: Delete row of SELLER items

    Hi makinmomb,

    Try this (initially on a copy of your data as the results cannot be undone if the results are not as expected):

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  5. #5
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Delete row of SELLER items

    I know how to sort , i don't need added steps that is why i ask for a macro

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Delete row of SELLER items

    Thank you Trebor76

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Delete row of SELLER items

    I know how to sort , i don't need added steps that is why i ask for a macro
    Thank you for your feedback. That's totally fine. I only mentioned it as a possibility.

  8. #8
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Delete row of SELLER items

    Cheese I have deleted headers for the macro not to do additional steps

  9. #9
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2402-17328.20068
    Posts
    1,361

    Re: Delete row of SELLER items

    Quote Originally Posted by makinmomb View Post
    Cheese I have deleted headers for the macro not to do additional steps
    I see, I only asked as I would imagine that using filter would have been the fastest option but it works better with headers.

  10. #10
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: Delete row of SELLER items

    The fastest is clicking a to z but i have too many items , so macro suits me

  11. #11
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2402-17328.20068
    Posts
    1,361

    Re: Delete row of SELLER items

    I was talking about VBA

    VBA to:
    Filter data to anything greater than 0.1, then delete all the visible rows, then remove filter.

    It will always be slower to delete one row at a time in a loop.

  12. #12
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,428

    Re: Delete row of SELLER items

    Quote Originally Posted by makinmomb View Post
    The fastest is clicking a to z but i have too many items , so macro suits me
    If you try the filter-functionality in your panel, and delete the visible rows is also fast for many items.

+ 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. [SOLVED] Sales summary by Seller
    By makinmomb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-21-2019, 06:59 AM
  4. [SOLVED] Seller totals SUMIF
    By makinmomb in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-08-2016, 12:42 AM
  5. [SOLVED] Win summary of products per seller
    By makinmomb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2015, 07:57 AM
  6. [SOLVED] display results by seller 1 seller 2 and so on
    By makinmomb in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 04-26-2014, 12:50 PM
  7. [SOLVED] Find the best seller??
    By Ben1985 in forum Excel General
    Replies: 16
    Last Post: 08-20-2012, 11:56 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