Dates And Amounts ..

her is what i am trying to do ...
i want to be able to see total amounts for card payments and cash payments (coloum H and I.)
The totals need to be seperate and monthly ..
they will then be sent to a monthly totals sheet ..
i have added a screen shot of the 2 sheets

dates and amounts