+ Reply to Thread
Results 1 to 1 of 1

Macros & Formulas Across 4 Workbooks

  1. #1
    Registered User
    Join Date
    06-30-2014
    Location
    United STates
    MS-Off Ver
    Excel 2010
    Posts
    1

    Macros & Formulas Across 4 Workbooks

    I have a workbook with four primary worksheets that I need to merge data between. I am a novice at writing formulas and know nothing about macros. I need to do the following (mock spreadsheet attached):

    1. When I enter data onto the INVOICES workbook I would like columns C, D, & E to auto-fill using data from the BILLING CODES workbook.
    - I wrote VLOOKUP formulas, but Excel is not allowing me to drag them down to populate the cells below. I have to cut and paste in every single cell. There has to be an easier way. The INVOICES workbook could potentially grow to over 500 lines, so I’m thinking that a macro may work better. I want all cells to be empty if there is no data to pull from another workbook.

    2. I would also like cells K, L, & M to auto-fill using data from the CLIENT NAMES workbook.

    3. I have to track the US and Non-US Budget based on if it is a fee or cost that I’m billing. I have a formula in Column L on the INVOICES workbook that populates with the quarter. Column F on the same workbook indicates if I’m billing a fee (F) or cost (C).

    On the BUDGETS workbook, I need to have the “Billed Amt” updated with the amounts in Column G (“Billed Amount”) on the INVOICES workbook based on if it’s a US or Non-US client as noted in Column K. Not only that, but the formula/macro would need to put the amounts into the correct row on the BUDGETS workbook depending if it’s a fee or cost that I’m billing based on Column F on the INVOICES workbook.
    Example: Row 2 on the INVOICES workbook is a Fee for $100 on a US client in Quarter 2, so that should be added to cell D5 on the BUDGETS workbook.

    The same would need to be done for all Non-US matters with fees and costs on the Non-US Budget.

    I was hoping that there was a macro that would allow me to hit the “Update” button for each budget (US and Non-US) that would pull information from the INVOICES workbook based on the data in Columns E, F, K, & L.


    I am hoping that all of these things can be accomplished in one worksheet, but need a lot of assistance to get this working. I have reviewed several posts about formulas, but cannot locate detailed instructions on writing the macros that I am needing. Any advice that you can provide is greatly appreciated! I am having the most difficult time on step #3, tracking the individual budgets based on if I’m billing a cost or fee.

    Thanks!
    Attached Files Attached Files

+ 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] Macros available to several workbooks
    By StephanieH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2013, 03:29 PM
  2. Macros across workbooks ?
    By PeterF in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2012, 02:34 AM
  3. [SOLVED]:Opening workbooks and enabling user defined macros to run in those workbooks
    By vbarookie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-05-2012, 12:00 AM
  4. Macros across workbooks
    By JmeLeigh01 in forum Excel General
    Replies: 0
    Last Post: 09-29-2009, 11:52 AM
  5. [SOLVED] Display 2 formulas from source workbooks to destination workbooks
    By Excel_seek_help in forum Excel General
    Replies: 4
    Last Post: 04-27-2006, 03:20 PM

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