If cell B9 contains the function
@SUM(B7..B8) ,
then the spreadsheet will automatically add the two values in B7 and B8. You don't need to write out the formula.