Results 1 to 26 of 26

Loop through two filters and copy a cell to another sheet

Threaded View

  1. #1
    Registered User
    Join Date
    10-18-2011
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    14

    Question Loop through two filters and copy a cell to another sheet

    Hi,

    I'm trying to create a table that shows a certain value between two states.
    I have 50 States, so that's 2500 values I need to input and update frequently.

    How do I use the macro to loop through two filters (states 1 and 2), extract the value (cell B1), and paste that into the appropriate table cell in sheet1?

    For example, if I were to get a value for MI and OH from sheet2, I'd filter column C to 'MI' and column D to 'OH'. This returns 5 results and the resulting B1 value is 2.20. I need to copy and paste this value into sheet1's cell AI22.

    I hope this works out.
    Thank you.
    Attached Files Attached Files
    Last edited by kvnpark; 10-20-2011 at 03:24 PM.

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