When using Numbers I would encourage thinking not in terms of "moving" a row from one table to another (note that a "sheet" in Numbers has a blank canvas with tables on it, and it is the tables that have the grids of cells) but in terms of keeping like data together and using filters to view subsets when you need that.
"Moving" data is possible but involves complicated formulas. It's not really natural to spreadsheets, and is prone to error. Applying filters, on the other hand, is simple, powerful, and flexible, and gets you a similar result.
Filter data in Numbers on Mac - Apple Support
Also I'd take advantage of Footer Rows in Numbers for your sums. That will simplify your formulas. You could use, for example, =SUM(C) and =SUM(E).
Add or remove rows and columns in Numbers on Mac - Apple Support
SG