Results 1 to 12 of 12

Loop through Auto Filter Criteria and Copy Formula Results Into New Sheet

Threaded View

  1. #1
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2007
    Posts
    113

    Loop through Auto Filter Criteria and Copy Formula Results Into New Sheet

    I have a worksheet that contains 3 columns, A, B, C, that I need to run through auto-filter and copy the results from a cell, F2, into another sheet each time the filter criteria changes.


    As an example, here is how I would envision this working for Col C:
    1. Starting on the 1st Sheet (named "FW15"), I auto-filter Col C on criteria/value 1
    2. I copy the resulting value from Cell F2 of sheet FW15 and paste it into the first empty cell of Col C in Sheet 2 (named "CopiedResults")
    3. I return to my first sheet, FW15, turn off the enabled filter for criteria/value (1), and turn on the next autofilter Criteria/Value (of 2)
    4. Repeat Step 2
    .
    .
    Keep looping through Autofilter criteria in Col C, and copy each resulting value contained in Cell F2 over to the second sheet.

    Likewise, I would need to run through the auto-filter criteria in Col A and Col B, and copy their resulting values (from cell F2) into Sheet2 Col A and Col B.

    Really stuck on how to loop and copy the resulting values, and would greatly appreciate some help on this.
    Attached Files Attached Files
    Last edited by hamidxa; 05-21-2014 at 09:40 AM. Reason: For Clarity

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Run a loop to slected data then filter on another sheet and copy to another sheet
    By af_lel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2013, 07:10 AM
  2. [SOLVED] Filter a sheet and copy results to another sheet
    By dixiV in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-04-2012, 10:21 AM
  3. Filter a sheet and copy results to another sheet
    By dixiV in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2012, 06:35 AM
  4. Auto filter data and copy results to another worksheet?
    By thisiscrazy in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-24-2012, 07:46 AM
  5. Replies: 2
    Last Post: 06-28-2011, 10:19 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