Hi all -
Looking for a starting point here. I have a workbook with a main Summary tab, and multiple other tabs containing named tables. I am looking for a VBA code to search through a mapped list of the named tables and return a value (based on a SumIF formula) from one of the named tables on a separate sheet. Here is some background and an example:
Summary tab - This consists of rows with various general ledger ("GL") account names, each of which has an associated GL Account Number, GL Tab Name, and Table Name in the cells to the right of the preceding item. Here is a table to visualize this Summary tab:
Goal:
Thanks!
Looking for a starting point here. I have a workbook with a main Summary tab, and multiple other tabs containing named tables. I am looking for a VBA code to search through a mapped list of the named tables and return a value (based on a SumIF formula) from one of the named tables on a separate sheet. Here is some background and an example:
Summary tab - This consists of rows with various general ledger ("GL") account names, each of which has an associated GL Account Number, GL Tab Name, and Table Name in the cells to the right of the preceding item. Here is a table to visualize this Summary tab:
GL Account Name | GL Account Number | GL Tab Name | Table Name | Balance, per supporting tab |
Cash | 100 | Cash Summary | Table_Cash_Summary | |
Dividend Income | 110 | Income | Table_Income | |
Bank Fees | 120 | Expenses | Table_Expenses |
Goal:
- To create a formula in the Balance, Per Supporting Tab column with the following logic:
- Using the GL Tab Name (and, if needed, the associated Table Name), sum all values within that table (which are located on each corresponding GL Tab Name sheet) related to that GL Account Number
Thanks!