+ Reply to Thread
Results 1 to 2 of 2

count matched value from multiple workbooks and input result in another workbook

  1. #1
    Registered User
    Join Date
    02-16-2020
    Location
    Tokyo
    MS-Off Ver
    365
    Posts
    1

    count matched value from multiple workbooks and input result in another workbook

    Hi, first let me apologize for my very low knowledge of VBA. If this is not the right place to ask for advices, please let me know.

    I am new to VBA and I’m really struggling to make this one. I have succeed to make a VBA to combine data from multiple worksheets, but this one is too difficult to my understanding.
    Here is what I need to do:
    I have 6 folders, each folder has multiple workbooks with different team names.
    Each workbook has a task list with Planned End Date and all workbooks are the same format. The task list vary between hundreds to thousands of tasks depending on the team.
    I have a Results workbook in which I need to bring the total of number of tasks planned for all workbooks in the same folder. The results should combine the number os all planned tasks of all workbooks by day. Example: workbook A have 30 tasks planned for Feb/1 and workbook B have 20, then in the results workbook it should input the result for Feb/1 as 50.
    I have attached an example of Task List workbook and an example of Results workbook.
    I am new to VBA and have no idea how to make this VBA. I was thinking to use countif but I have no idea how to use it on VBA to count in a range in another workbook and then add the result to the result workbook and then loop all workbooks on the same folder and add their results on the same result cell.
    Please, please any help, any advice, any examples, anything will be very very welcome and I would be very very grateful.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-14-2013
    Location
    Austria
    MS-Off Ver
    2016 / 2019
    Posts
    339

    Re: count matched value from multiple workbooks and input result in another workbook

    If your experience is low in VBA I think you will be faster with PowerQuery because PowerQuery is exactly prepared for looping through files in folders!

+ 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. Replies: 1
    Last Post: 09-04-2017, 02:11 PM
  2. 1 Criteria when matched to display multiple rows of result
    By Heena Suleman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-07-2017, 09:03 AM
  3. [SOLVED] Help on how to Compare five Excel workbooks and copying matched data to a new workbook
    By net1media in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 07-20-2017, 06:02 AM
  4. [SOLVED] Input result if a criteria is not matched from range
    By jamewoong in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2015, 02:15 AM
  5. [SOLVED] A count of cells (text) that end with in something where multiple criteria matched
    By steeler11111 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2015, 07:17 AM
  6. [SOLVED] Count Rows Based On User Input & Trigger Print Of Pages Out Of Count Result
    By wliang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2012, 02:45 AM
  7. Activate workbook using input box string result
    By Matso in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2011, 01:44 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