+ Reply to Thread
Results 1 to 4 of 4

Macro for Removing Rows?

  1. #1
    Registered User
    Join Date
    07-17-2007
    Posts
    18

    Question Macro for Removing Rows?

    Hi Guys

    I have a spread sheet, containing around 3000 rows which i have conditional formatted so that cells are highlighted that contain certain values, i.e values over a certain amount
    (red for above $50, orange for $20-49.99 and yellow for $10-19.99 etc)

    Is there anyway that i can then quickly remove any rows which do not contain any prices that fall into the above categories, or export the rows into a seperate sheet that DO contain the required values?

    Sorry if this sounds backwards - bit of an Excel noob!

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Why duplicate the data, use AutoFilter with a Custom Filter to match your CF criteria, or AdvancedFilter.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,485
    Hi,
    have you experimented with the auto filter?

    http://office.microsoft.com/en-us/ex...CL100570551033

  4. #4
    Registered User
    Join Date
    07-17-2007
    Posts
    18
    Thanks for the quick reply guys! That was so easy i had overlooked it lol!

    Appreciated

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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