Using the Extend Selection by one Cell Up Shortcut
Windows keyboard shortcut
Mac keyboard shortcut
Use this Excel shortcut to extend the top edge of the current selection when multiple cells are selected.
Other useful Extending Selection keyboard shortcuts