JEHalm
This is a great case where Dynamic Ranges or Named Formulas can be used.
Setup a Named Formula
Formula, Name Manager, New
Name: Type
Refers to: =OFFSET(Sheet1!$A$1,1,,COUNTA(Sheet1!$A:$A)-1)
add a second Named Formula
Name: Amount
Refers To: =OFFSET(Sheet1!$G$1,1,,COUNTA(Sheet1!$G:$G)-1)
You can now put 2 formulas where ever you want, but not in Column A or G
Count =Counta(Type)
Amount: =Sum(Amount)
Adjust page name and ranges to suit