I came across this problema (i thought it was really simple when I started) and after a few days I realize I can't solve it myself.
Of course the actual spreadsheet is larger both in columns and in lines, but the problem remains the same:
Having a list of employees, whose salary is divided in different Credit and Debit accounts, I need to know for a specific individual, the ammounts that add up for certain account types.
In the example below, There are two Credit accounts named "Discount" I need a formula to add those up matching the Account type (Credit in this case) and the Employee Name, Employee 2 in this example.
Bear in mind that the actual sheet has hundreds of accounts and hundreds of employees.
If there isn't a simple way to address this problem, please suggest alternatives.
Thank you in advance!!
Of course the actual spreadsheet is larger both in columns and in lines, but the problem remains the same:
Having a list of employees, whose salary is divided in different Credit and Debit accounts, I need to know for a specific individual, the ammounts that add up for certain account types.
In the example below, There are two Credit accounts named "Discount" I need a formula to add those up matching the Account type (Credit in this case) and the Employee Name, Employee 2 in this example.
Bear in mind that the actual sheet has hundreds of accounts and hundreds of employees.
If there isn't a simple way to address this problem, please suggest alternatives.
Thank you in advance!!
Salary Problem.xlsx | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Credit | Discount | Discount | |||
2 | Debit | Account 1: Salary | ||||
3 | Employee 1 | 50 | 80 | 32 | ||
4 | Employee 2 | 20 | 30 | 48 | ||
5 | ||||||
6 | ||||||
7 | Input Acct Type: | Credit | ||||
8 | Input Acct Name | Discount | ||||
9 | Employee 2 | 78 | ||||
Sheet1 |