Please check the below table. Here I have sum total of code1, code2 and code3. I need a formula that returns total sum of tax of each code. For example, if manufally, code1 total is 9400, at the same time CODE1's total tax is, if manually calculated, 940. I need suitable formula that return total tax ( mentioned in column B ) of CODE1, CODE2 AND CODE3 just below the sum total of each codes. thanks in advance
A | B | C | D | E | |
1 | AV | TAX | CODE1 | CODE2 | CODE3 |
2 | 1000 | 100 | 1000 | 0 | 0 |
3 | 5000 | 500 | 0 | 5000 | 0 |
4 | 3000 | 300 | 0 | 0 | 1000 |
5 | 7000 | 700 | 7000 | 0 | 0 |
6 | 2000 | 200 | 0 | 2000 | 0 |
7 | 1500 | 150 | 0 | 0 | 1500 |
8 | 1400 | 140 | 1400 | 0 | 0 |
9 | 1200 | 120 | 0 | 1200 | 0 |
10 | 700 | 70 | 0 | 0 | 700 |
Total | 22800 | 2280 | 9400 | 8200 | 3200 |