If you select empty cells to the right and Excel will place SUM to the right and SUM horizontally.

The videos below demonstrate this shortcut.

Why pivot tables?

Video thumbnail for Why pivot tables?

Don’t hard code values that may change

Shortcuts for functions

Video thumbnail for Don’t hard code values that may change

Video thumbnail for Shortcuts for functions