+ Reply to Thread
Results 1 to 5 of 5

After filtering a table, extract filtered data to another worksheet, erase and repeat

  1. #1
    Registered User
    Join Date
    06-17-2012
    Location
    Riga
    MS-Off Ver
    Excel 2010
    Posts
    11

    After filtering a table, extract filtered data to another worksheet, erase and repeat

    Hello,

    I'm looking for a macro (with a button) to extract filtered data (from criteria sheet) to another worksheet (output sheet). Also, if the data on the criteria sheet is then re-filtered and the macro button is then re-clicked, the output sheet's data will delete and then recompute with the newly filtered data from the criteria sheet.

    I have these column headers and sample data rows on my "criteria sheet":

    Property Portfolio Company City
    Prop1 Port1 Comp1 City1
    Prop2 Port1 Comp1 City2
    Prop3 Port2 Comp1 City3

    I have a hundred or so rows of data on my "criteria sheet". So the process would be essentially two-fold for the user:
    1) Filter the data using Excel's standard filtering function on the criteria sheet (meaning I could filter first by Portfolio for example, and then select only certain properties in that portfolio and filter those).
    2) Once the data is filtered as desired, the user clicks a macro button to extract only the filtered data to a similar table on another worksheet.

    Another key would be as described above--if the user decides to re-filter the data and then re-clicks the macro button, the data on the output sheet will automatically delete and recompute with the latest/newest filtered data on the criteria sheet.

    If someone can provide a macro for this process I would be much obliged!!

    Thank you very much in advance.

    Matt

  2. #2
    Registered User
    Join Date
    06-17-2012
    Location
    Riga
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: After filtering a table, extract filtered data to another worksheet, erase and repeat

    Hello again,
    If this may help, this macro does similar things for what I'm looking to do: http://www.excelforum.com/excel-prog...19#post2827719

    However, I don't need the filtered data to be copied to another workbook file - Just to another worksheet in the same workbook. It can be the same output sheet every time, so if the macro button is re-clicked on the criteria sheet, then the filtered (or newly filtered) data from the criteria sheet is recomputed and extracted there every time.

    Any help is greatly appreciated. Not very good at building macros.

    Thank you!

  3. #3
    Registered User
    Join Date
    11-12-2012
    Location
    ny
    MS-Off Ver
    2007
    Posts
    1

    Re: After filtering a table, extract filtered data to another worksheet, erase and repeat

    Matt has anyone answered your request privately with filtering to new sheets i have the same questions?

  4. #4
    Registered User
    Join Date
    04-25-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    1

    After filtering a table, extract filtered data to another worksheet, erase and repeat

    Hi Friends,

    I have same problem.

    I have table with fields - Name, designation, Salary etc.

    I have to filter on designation and extract rest of the fields into another sheet.

    Can you help me with the macro code relevant to this?

    Thanks in advance

    Hima

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: After filtering a table, extract filtered data to another worksheet, erase and repeat

    Hima,

    Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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