Hi All!
I am new to this forum and I am also rather new at Excel!
I am trying to use a formula that will calculate the below:
If in column A, a date in December appears, tell me the total amount of column C, if the amount is greater than 0
This should then calculate the total expense for December. I then need to calculate the total 'Paid in' - where I would use the same formula, but change the last criteria to IF the amount is less than zero
The table below is the area where my formula will be, and I will be doing this for all months (This formula obviously makes no sense and would not work in excel, but this is just to show the kind of track that I was on)
Any help at all would be greatly appreciated! Thank you all in advance
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Detail[/TD]
[TD] Amount[/TD]
[/TR]
[TR]
[TD="align: right"]01-Dec[/TD]
[TD]Balance brought forward[/TD]
[TD] £ 1,417.00[/TD]
[/TR]
[TR]
[TD="align: right"]06-Dec[/TD]
[TD]Council Tax[/TD]
[TD] £ 47.50[/TD]
[/TR]
[TR]
[TD="align: right"]08-Dec[/TD]
[TD]Direct Debit[/TD]
[TD] £ 62.00[/TD]
[/TR]
[TR]
[TD="align: right"]09-Dec[/TD]
[TD]Water[/TD]
[TD] £ 12.82[/TD]
[/TR]
[TR]
[TD="align: right"]12-Dec[/TD]
[TD]Electricity[/TD]
[TD] £ 13.50[/TD]
[/TR]
[TR]
[TD="align: right"]28-Dec[/TD]
[TD]Gas[/TD]
[TD] £ 15.00[/TD]
[/TR]
[TR]
[TD="align: right"]01-Jan[/TD]
[TD]Trip[/TD]
[TD] £ 250.00[/TD]
[/TR]
[TR]
[TD="align: right"]10-Dec[/TD]
[TD]Payment[/TD]
[TD]-£ 944.67[/TD]
[/TR]
[TR]
[TD="align: right"]11-Jan[/TD]
[TD]Essential expense[/TD]
[TD] £ 10.00[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Paid in[/TD]
[TD]Balance[/TD]
[/TR]
[TR]
[TD]=sumsifs(A2:A9="*Dec*", "Dec","",C2:C9>0)[/TD]
[TD]=sumsifs(A2:A9="*Dec*", "Dec","",C2:C9<0)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am new to this forum and I am also rather new at Excel!
I am trying to use a formula that will calculate the below:
If in column A, a date in December appears, tell me the total amount of column C, if the amount is greater than 0
This should then calculate the total expense for December. I then need to calculate the total 'Paid in' - where I would use the same formula, but change the last criteria to IF the amount is less than zero
The table below is the area where my formula will be, and I will be doing this for all months (This formula obviously makes no sense and would not work in excel, but this is just to show the kind of track that I was on)
Any help at all would be greatly appreciated! Thank you all in advance
[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Detail[/TD]
[TD] Amount[/TD]
[/TR]
[TR]
[TD="align: right"]01-Dec[/TD]
[TD]Balance brought forward[/TD]
[TD] £ 1,417.00[/TD]
[/TR]
[TR]
[TD="align: right"]06-Dec[/TD]
[TD]Council Tax[/TD]
[TD] £ 47.50[/TD]
[/TR]
[TR]
[TD="align: right"]08-Dec[/TD]
[TD]Direct Debit[/TD]
[TD] £ 62.00[/TD]
[/TR]
[TR]
[TD="align: right"]09-Dec[/TD]
[TD]Water[/TD]
[TD] £ 12.82[/TD]
[/TR]
[TR]
[TD="align: right"]12-Dec[/TD]
[TD]Electricity[/TD]
[TD] £ 13.50[/TD]
[/TR]
[TR]
[TD="align: right"]28-Dec[/TD]
[TD]Gas[/TD]
[TD] £ 15.00[/TD]
[/TR]
[TR]
[TD="align: right"]01-Jan[/TD]
[TD]Trip[/TD]
[TD] £ 250.00[/TD]
[/TR]
[TR]
[TD="align: right"]10-Dec[/TD]
[TD]Payment[/TD]
[TD]-£ 944.67[/TD]
[/TR]
[TR]
[TD="align: right"]11-Jan[/TD]
[TD]Essential expense[/TD]
[TD] £ 10.00[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Paid in[/TD]
[TD]Balance[/TD]
[/TR]
[TR]
[TD]=sumsifs(A2:A9="*Dec*", "Dec","",C2:C9>0)[/TD]
[TD]=sumsifs(A2:A9="*Dec*", "Dec","",C2:C9<0)[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: