+ Reply to Thread
Results 1 to 5 of 5

Clear Content if criteria and move it up the column

  1. #1
    Registered User
    Join Date
    06-24-2021
    Location
    Luxembourg
    MS-Off Ver
    Microsoft 365 / 2008
    Posts
    2

    Clear Content if criteria and move it up the column

    Hi,

    I'm not so used to the whole excel macro's so I hope somebody here could help me out as I didn't find something accurate in the forum.

    I attached a small picture to make it understandable.

    So the outcome should be:

    If D:4 is "YES'', the content in B:4 to D:4 should be content cleared.
    If D:4 is "NO", it should remain and be moved to he top.

    Thanks already to the person who will help me out.

    Thanks and best regards.
    Eric
    Attached Images Attached Images

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

    Re: Clear Content if criteria and move it up the column


    Hi,

    follow the top page yellow banner …

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,498

    Re: Clear Content if criteria and move it up the column

    Try this. Works on your example.
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-24-2021
    Location
    Luxembourg
    MS-Off Ver
    Microsoft 365 / 2008
    Posts
    2

    Re: Clear Content if criteria and move it up the column

    Thanks a lot jolivanes!

  5. #5
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,498

    Re: Clear Content if criteria and move it up the column

    Thanks for letting us know.
    Good Luck

+ 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. Clear content of all table but one column
    By simonplus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-17-2017, 12:12 PM
  2. [SOLVED] Block deleting row and column but still can add or clear content
    By pratheepkh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-02-2017, 02:19 PM
  3. Clear Content from Column
    By h.noor in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2015, 02:58 AM
  4. Replies: 3
    Last Post: 03-21-2015, 02:05 AM
  5. Clear Column Content
    By zit1343 in forum Excel General
    Replies: 3
    Last Post: 07-01-2011, 03:37 AM
  6. Macro To Clear All Content in a Column Except a List
    By princesakthi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2011, 10:41 AM
  7. clear column content
    By owl527 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-29-2006, 08:20 AM

Tags for this Thread

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