Once you figure out if there are text values or nulls involved (and deal with them if there are) you might want to use the DSum function over the query or table records that the form contains. Look here for info on using that function (see Domain Aggregate Functions). You'd put the function in your calculated control - unless you're stuck with a bunch of messy IIF's.
https://www.techonthenet.com/access/functions/
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.