elsenorjose
Technical User
I am creating a Balance Sheet report and need to calculate the sum of a group of accounts based on multiple criteria. I've tried reading up on INDEX and MATCH, but I just can't extend what I've learned to accomplish my task.
I my worksheet, I have columns for Company (Col A), GL Account (Col B), Year (Col C), and Month (Col D to Col O). It's set up as a table from a SQL query and is 'pivoted' so the Month columns are Jan-Dec and have the monthly amounts. In a separate worksheet, a Classified Trial Balance, I have groupings by GL. For example, GLs 1, 3, 7, and 9 are Current Asset accounts, GLs 2, 4, 6, and 8 are Current Liabilities (show in the attached in Columns Q and R). What I need to do is:
Find a specific Company in Col A (Corporate, for example), find specific GL Accounts in Col B (that are matched to the accounts in the Classified TB), find a given year in Col C, sum the monthly values for the given range.
In the worksheet attached, you can see some sample data and expected outcome.
I'm using Excel 2013.
Thank you all in advance for your assistance.
Jose R.
I my worksheet, I have columns for Company (Col A), GL Account (Col B), Year (Col C), and Month (Col D to Col O). It's set up as a table from a SQL query and is 'pivoted' so the Month columns are Jan-Dec and have the monthly amounts. In a separate worksheet, a Classified Trial Balance, I have groupings by GL. For example, GLs 1, 3, 7, and 9 are Current Asset accounts, GLs 2, 4, 6, and 8 are Current Liabilities (show in the attached in Columns Q and R). What I need to do is:
Find a specific Company in Col A (Corporate, for example), find specific GL Accounts in Col B (that are matched to the accounts in the Classified TB), find a given year in Col C, sum the monthly values for the given range.
In the worksheet attached, you can see some sample data and expected outcome.
I'm using Excel 2013.
Thank you all in advance for your assistance.
Jose R.