|the autosum will not add up the new line|
It's dependent on where in your sum range you insert the new row.
If it is above the first line in your range, then it will not sum correctly
If it is below the last line in your range, then it will not sum correctly
You must insert somewhere below the 1st row and above the last row.