+ Reply to Thread
Results 1 to 5 of 5

Very very large worksheet. Need a kind of filtering macro

  1. #1
    Registered User
    Join Date
    03-21-2014
    Location
    utah, usa
    MS-Off Ver
    Excel 2007
    Posts
    6

    Very very large worksheet. Need a kind of filtering macro

    I am using 07 excel and here is what I am trying to achieve. I have a very very large worksheet (132,000 rows) and I need to have the worksheet check column CA of each row, and if column CA is >250, I want that entire row copied to another worksheet named buff.

    I then need the buff worksheet to check column BZ of every row. If that column of that row is >250, I need that entire row copied to another worksheet named draft.

    I then finally need that new worksheet to check column cb. If that row in that column is >150, I need that entire row copied to another worksheet named runout.

    So to summise, I need the same functions done on each worksheet, just on a different column with a different value. The final worksheet will have only rows that have buff >250, AND draft >250, AND runout >150...in other words all 3 conditions are met on the final worksheet. Thank you soooo much for all you guys do here.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Very very large worksheet. Need a kind of filtering macro

    Do you really need these intermediate steps ?
    If no, you can use Autofilter and set criteria in columns CA BZ etc.
    If yes - anyway you can do the sanme with step by step autofiltering.

    You can register the macro, while you do these steps, you will have one almost ready to use for next sets of data.
    Best Regards,

    Kaper

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Very very large worksheet. Need a kind of filtering macro

    Hi, tafoyavision,

    use the Advanced Filter starting from the target sheet with a criteria range to match your requests.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    03-21-2014
    Location
    utah, usa
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Very very large worksheet. Need a kind of filtering macro

    Kaper and Holger,

    Thank you for answering. I do not NEED the intermediate steps but I do need a worksheet only showing the rows with all 3 conditions met. Would I still use autofilter? If so, how would I do that? Thanks again for helping us noobies.

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Very very large worksheet. Need a kind of filtering macro

    See attachment - some 175 rows of generated numbers in several columns,
    autofilter and first set columns C to show >=250 (only visible only 82) - I used numbers filter above values list for filtering,
    then G the same limit - only 39 remains
    and finally L>=150 - just 21 remained.

    If you now select all (Ctrl+A) copy and paste into another sheet you will have unly this data (whole rows) no empty rows or not-selected data in between.
    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. Filtering Large Data
    By pphg in forum Excel General
    Replies: 2
    Last Post: 06-26-2012, 09:20 PM
  2. Excel 2007 : Filtering large amounts of data
    By as1508 in forum Excel General
    Replies: 9
    Last Post: 05-22-2012, 12:40 PM
  3. Filtering numbers with and without spaces in large SS
    By Ben Morton in forum Excel General
    Replies: 4
    Last Post: 10-20-2009, 09:54 AM
  4. Replies: 2
    Last Post: 01-23-2009, 04:18 PM
  5. Filtering a large list
    By shellideglman in forum Excel General
    Replies: 8
    Last Post: 05-12-2008, 02:42 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