Table A:
| Exp | Inc | Cat |
|---|---|---|
| $10 | Car Repair | |
| $300 | Salary | |
| $5 | Car Repair | |
| $300 | Salary |
Table B:
| Cat | Sum |
|---|---|
| Car Repair | $15 |
| Salary | $600 |
I have been searching query, sumif and other commands to generate Table B from Table A, but I'm not getting anywhere without some very long and complicated equations. Can anyone offer a simple solution?
Additional: When more information is added later and I need to append a column onto Table B (say a future time period, how would I include the numbers in Column C of Updated Table B? I notice that there were no Car Repair entries in the month of APR. Therefore, that row would not have an entry in the Sum_APR column.
Table APR|Exp|Inc|Cat||:---|:---|:---|||$300|Salary|
Updated Table B|Cat|Sum|Sum_APR||:---|:---|:---||Car Repair|$15|||Salary|$600|$300|