excel auto fit row height

To auto fit the row height in Excel, select the row or rows you want to adjust, then go to the "Home" tab, click on "Format" in the "Cells" group, and choose "AutoFit Row Height" from the dropdown menu.