how to create a formula for balancing any account code summed up automatically on a work sheet work sheet?

PEMBUKUAN ONLINEdotNET.ods
how to create a formula for balancing any account code summed up automatically on a work sheet work sheet?

it turns out I just need to use sumif or sumifs formula, like this HITUNG TOTAL AKUN.ods