How do you autofit text in columns?
Double-click on the right boundary of the column heading or go to Home > Cells > Format > AutoFit Column Width to adjust the column width based on the content.