How to Autofit in Google Sheets: A Step-by-Step Guide

Autofitting in Google Sheets is a super handy trick that lets you adjust the width or height of a column or row to fit the content within it. This way, you won’t have any text spilling over into the next cell or any wasted space. It’s a quick and easy process that will make your spreadsheets look cleaner and more professional in no time.

Step by Step Tutorial to Autofit in Google Sheets

Before we dive into the steps, let’s understand what autofitting does. It automatically resizes the column or row so that all the content fits perfectly. This is great for when you have varying lengths of text and want everything to be visible without manually adjusting the size. Let’s get started!

Step 1: Open Your Google Sheet

Open the Google Sheet you want to autofit.

Once you have your Google Sheet open, look for the column or row that needs adjusting. Maybe you’ve got a bunch of names that are too long for the current column width, or perhaps some numbers are getting cut off. Whatever the case, we’ll fix it up in the next steps.

Step 2: Select the Column(s) or Row(s)

Click on the letter at the top of the column or the number at the side of the row you want to autofit.

To select multiple columns or rows, click and drag across the letters or numbers. You can also hold down the "Ctrl" (or "Cmd" on a Mac) key while clicking to select non-adjacent columns or rows.

Step 3: Autofit the Selection

Double-click the line between the selected column headers or row numbers.

When you double-click, Google Sheets will automatically resize the column or row based on the longest piece of content within it. Say goodbye to cut-off text and hello to perfectly sized cells!

After completing these steps, your selected columns or rows will be resized to fit the content. This means no more annoying ‘#VALUE!’ errors because a cell wasn’t big enough, and no more squinting to read half-visible text. Everything will be visible, tidy, and just the way it should be.

Tips for Autofitting in Google Sheets

  • Make sure you’ve selected the entire column or row before autofitting. If you only select a cell, the autofit won’t work.
  • If you’re working with merged cells, autofit will adjust the size based on the merged cell’s content.
  • Use the keyboard shortcut "Ctrl + Space" to select an entire column and "Shift + Space" for an entire row.
  • Autofitting will not work if the column or row is already at the minimum size required to display the content.
  • Remember that autofitting could make your rows very tall or your columns very wide if there’s a lot of content in a cell, so use it judently.

Frequently Asked Questions

What if autofit doesn’t work?

If the autofit feature doesn’t seem to work, make sure you’re double-clicking on the line between two column headers or two row numbers. Also, check that your columns or rows aren’t already at the smallest size possible to fit the content.

Can I autofit multiple columns or rows at once?

Absolutely! Just select all the columns or rows you want to autofit by clicking and dragging across their headers or numbers, then double-click on any of the lines between them.

Will autofit work with merged cells?

Yes, autofitting takes into account merged cells. It will adjust the size based on the largest piece of content within the merged cell.

How do I undo autofit?

If you’re not happy with how the autofit turned out, you can manually adjust the column or row size or press "Ctrl + Z" (or "Cmd + Z" on a Mac) to undo the action.

Is there a way to autofit all columns or rows at once?

While there’s no direct feature to autofit all columns or rows simultaneously, you can select all columns or rows by clicking on the rectangle in the top-left corner of your sheet (where the row numbers and column letters meet) and then double-click any column or row line to autofit them all.


  1. Open your Google Sheet.
  2. Select the column(s) or row(s) you want to autofit.
  3. Double-click the line between the selected column headers or row numbers to autofit.


Autofitting in Google Sheets is like giving your spreadsheet a breath of fresh air. It’s all about making sure the content fits perfectly in its cell, making your data look clean and organized. Whether you’re crunching numbers, organizing a roster, or just keeping track of your daily tasks, knowing how to autofit is a skill that will save you time and frustration. Plus, with our handy tips and answers to frequently asked questions, you’ll be an autofitting pro in no time. So go ahead, give those columns and rows the stretch they need, and watch your spreadsheet transform before your eyes.