If you want to hide a row in Excel, you can select the row by clicking on the row header (the number 1, 2, 3 etc. to the left), right-click and choose Hide.
Or you can select any cell in the row you want to hide and use this shortcut:
Work faster in Excel with shortcuts!