+ Reply to Thread
Results 1 to 2 of 2

extra all rows from one workbook to another based on a list of criteria

  1. #1
    Registered User
    Join Date
    08-22-2014
    Location
    Galway, Ireland
    MS-Off Ver
    Excel 2010
    Posts
    6

    extra all rows from one workbook to another based on a list of criteria

    Hello!

    I'm a novice to VBA and having issues in copying rows in one sheet to another based on certain criteria.

    I've got two Excel workbooks:
    1 - CSAT: the first one contains 3 tabs, on the “Data1” worksheet it has ATM nearly 100000 rows and new rows are added each week. This file is containing the data of all employees.
    2 - Stats: the second one is a reporting on only one team (5 to 10 agents), so just a portion of what’s in the “Data1” worksheet of the CSAT workbook. One sheet (“Agent_Stats”) with stats/graph/details about the team and its members and another sheet with the raw data (“Data_CSAT_FCR”).
    The list of agents can vary depending of the team I want to have a look at

    So I would like to have all rows from my list of agents copied from “Data1” and pasted on the workbook Stats (let’s call the worksheet “Data_CSAT_FCR”).

    The macro has to clear first the worksheet “Data_CSAT_FCR” on the workbook Stats, I’m guessing that should work:
    Please Login or Register  to view this content.
    Then, the macro should look at the list of names specified in the workbook Stats, sheet “Agent_Stats” in cell J2 to J20 (some cells might be blank as all teams don’t have the same number of agents), found all lines in workbook CSAT sheet “Data1” that contain in column T the same agents and paste them in the Stats workbook on worksheet “Data_CSAT_FCR”.

    Thank you so much for your help.
    Attached Files Attached Files
    Last edited by stouflette; 11-24-2014 at 06:07 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: extra all rows from one workbook to another based on a list of criteria

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

+ 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. Lookup based on several criteria plus a few extra requirements
    By whiteshadoz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-28-2012, 07:48 PM
  2. [SOLVED] Extract unique values out of list based on an extra criteria
    By sven1975 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2012, 05:02 AM
  3. Replies: 8
    Last Post: 08-27-2012, 04:37 PM
  4. Move rows from worksheet to a workbook based on criteria
    By pjlau in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-18-2012, 10:45 PM
  5. Replies: 2
    Last Post: 08-05-2009, 07:54 AM

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