A cross check of totals is achieved by
total the rows, then adding the row totals
total the columns, then adding the column totals
For example:
Note that I have used simple numbers in the sheet. This makes it heaps easier to check that the formulae are actually working.