Please look up the SUM and division in Help.