Consulting

Results 1 to 3 of 3

Thread: Module to Calculate from Two Tables

  1. #1

    Module to Calculate from Two Tables

    Dear Experts,

    I have a workbook with two sheet with two different tables.

    Table 1 has Invoice Numbers, Invoice Values and LC Numbers (Table Name is "Inv_21")
    Table 2 has the LC Numbers and LC Values (Table Name is "LC_21"


    Can I request for a script / module to bring up all the Invoice Numbers and Invoice Values from Table "Inv_21" with an automatic populated Drop Down List of any particular LC Number from Table: "LC_21" which matches the LC Number in both Tables. Then total invoice values of collected invoices and deduct those values from the LC Value?

    I have deleted / sanitized as much data as I can. Sample workbook can be downloaded from below link:
    https://we.tl/t-yJqNUDGdgC



    Much Appreciated.

    Thanks.

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    VBA to calculate from two tables | Chandoo.org Excel Forums - Become Awesome in Excel
    https://chandoo.org/forum/threads/vb...-tables.47498/
    VBA module to Calculate from two tables
    https://www.msofficeforums.com/excel...wo-tables.html
    VBA Script To Calculate the Balance | MrExcel Message Board
    https://www.mrexcel.com/board/thread...lance.1194222/
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  3. #3
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    shah0101: Please read VBA Express' policy on Cross-Posting in Rule 3: http://www.vbaexpress.com/forum/faq...._new_faq_item3
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •