Format - AutoFit Selection

From the spreadsheet shortcut menu (accessed by right-clicking on the spreadsheet), from the Format submenu, select AutoFit Selection to change the height and width of the row(s) and column(s) of the selected cell(s). Performing this action changes the height of the cells in each selected row to accommodate the tallest entry in the selected row(s), and it also changes the width of the cells in each selected column to accommodate the longest entry in the selected column(s).