+ Reply to Thread
Results 1 to 2 of 2

VBA to consolidate data based on criteria from several workbooks and sheets

  1. #1
    Registered User
    Join Date
    08-13-2015
    Location
    Texas
    MS-Off Ver
    2007
    Posts
    1

    VBA to consolidate data based on criteria from several workbooks and sheets

    Hi everyone,

    I am VERY new to VBA and need some assistance please.

    I am trying to consolidate data from multiple workbooks and multiple sheets based on certain criteria. What I need to do for example is if an employee listed within one workbook is a cook and his time was charged to a client for a specific day I need to get a total of all of those days based on the employee title and if they received a day rate (DRL) for that day, but I need to make sure that it is only counting the work order number one time per day, so if the employee had a bonus associated with the same work order number on that same day I need it not to be included in the total, however if they worked under 2 different work order numbers the same day I need it to count that day twice? Is this possible? Also the dates each employee has listed on their timesheet may not be listed on the same row as the next employee, and I need it for three different titles. Attached is an example.
    Attached Files Attached Files
    Last edited by CWiley15; 08-13-2015 at 09:56 AM. Reason: added titles

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: VBA to consolidate data based on criteria from several workbooks and sheets

    Hi CWiley,

    Welcome to the Forum!

    The sheet you posted is password protected.

    But you mentioned that there would be several books???
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. [SOLVED] Consolidate all sheets across multiple workbooks
    By AndrewSimpson87 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-10-2015, 12:01 PM
  2. [SOLVED] Needing a Macro Solution to Consolidate Several Data Sheets in various Workbooks into One
    By robbfamily in forum Excel Programming / VBA / Macros
    Replies: 36
    Last Post: 08-01-2014, 10:57 AM
  3. [SOLVED] macro to consolidate data from worksheets within workbook based on criteria
    By jw01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2013, 05:58 PM
  4. Replies: 1
    Last Post: 01-08-2013, 03:47 AM
  5. [SOLVED] Consolidate data in 2 rows into 1 row, based on column criteria
    By PeS in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-22-2012, 11:41 AM
  6. [SOLVED] How to split and consolidate sheets into new workbooks
    By Xluser@work in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2006, 05:17 AM
  7. Consolidate different sheets to different workbooks
    By markx in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-26-2005, 11:06 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