chrisguk
Board Regular
- Joined
- Jan 10, 2011
- Messages
- 135
I have two sheets:
Main Balance Sheet
Transaction Sheet
The formula should go in The "Main Balance Sheet" Column C It should add all transactions that match the code in the main balance sheet with the code against the transactions in the Transaction sheet. For example; On the main balance sheet table The code "SE" is seen twice in the transaction sheet so it adds both corresponding values in column B on the transaction sheet which is then visible as a total in the Main balance sheet.
Problem is I dont know how to do this and I have tried many ways including SUMIF and VLOOKUP
Can someone help?
Main Balance Sheet
A | B | C | |
---|---|---|---|
1 | Code | ITEM | Total Transactions Based on Code |
2 | RO | Something | |
3 | BA | Another | |
4 | DE | Extra | |
5 | SE | More | 66 |
Transaction Sheet
A | B | |
---|---|---|
1 | Code | Amount |
2 | RO | 10 |
3 | RO | 24 |
4 | SE | 44 |
5 | DE | 22 |
6 | SE | 12 |
The formula should go in The "Main Balance Sheet" Column C It should add all transactions that match the code in the main balance sheet with the code against the transactions in the Transaction sheet. For example; On the main balance sheet table The code "SE" is seen twice in the transaction sheet so it adds both corresponding values in column B on the transaction sheet which is then visible as a total in the Main balance sheet.
Problem is I dont know how to do this and I have tried many ways including SUMIF and VLOOKUP
Can someone help?