EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tips Excel Autofit
Secondary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Basic Excel Formulas
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Excel Drop Down List
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup Reference Functions in Excel (35+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course

Excel Autofit

By Madhuri ThakurMadhuri Thakur

Autofit in Excel

Autofit in Excel (Table of Contents)

  • Introduction to Autofit in Excel
  • How to Use Autofit in Excel?
    • #1- Using double-click to AutoFit column width and row height
    • #2 – Using Ribbon to AutoFit column width and row height
    • #3 – Using the keyboard shortcut to AutoFit column width and row height

Introduction to Autofit in Excel

AutoFIt in Excel is used to adjust and fix the column and row height to till maximum limit until it has the text in it. If a cell or column contains content that is not seen to its full length like some of the characters are being overlapped with other cell’s content or it is going out from the cell limit, then we can use AutoFit by pressing short cut keys ALT + H + O + I simultaneously which will make the cell fit to it maximum length or we can select any suitable option from Format option’s drop-down menu which is available in Home menu ribbon. We can also double click on the Column edge for autofit.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

AutoFit option can be used by using 3 different methods, which are mentioned below:

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,452 ratings)
  • Using double-click to AutoFit columns and rows.
  • By using ribbon to AutoFit columns and rows.
  • Using the keyboard shortcut to AutoFit columns and rows.

Consider the below example as shown in figure1

Autofit in excel step1

Now let us use the above 3 methods, for the example shown in figure 1 and also compare the efficiency of these three methods.

How to Use Autofit in Excel?

Autofit in excel is very simple and easy. Let’s understand Autofit in Excel by three different methods which are as below.

You can download this Autofit Excel Template here – Autofit Excel Template

Method 1 – Using double-click to AutoFit column width and row height

This method is one of the easiest and quicker ways to adjust the column width and row height. The steps to implement this method are as follows:

  • In order to autofit the column width, drag the mouse pointer to the right border of the column header. When the double-headed arrow appears, double click that border.
  • To autofit the height of the row, drag the mouse pointer to the lower border of the row header. After the double-headed arrow appears, double click that border.
  • To autofit multiple columns or rows, select them all by clicking and dragging over them, and then double-click between any two-column or row headers.

The figures below will explain the above steps in detail.

Step 1: Double-click on the header option as shown in the below image. By doing this the width of the column is adjusted. And the changed width can be seen in Step 2.

Autofit in excel step 1..1

Step 2: Double-click the header as shown in the below image.

Autofit in excel step 1..2

Step 3: In the below image, the value is not displayed in cell B2 as the size of the column is small. Therefore, to display the value, the column width should be increased.

Step 1.3

Step 4: Double-click in between the columns as shown in the below image. This will autofit the width of the columns.

Step 1-4

Step 5: The autofit implemented to the column width and row heights by using the double-click option is shown below.

Step 1-5

Method 2 – Using Ribbon to AutoFit column width and row height

This is also one of the methods to autofit the column width and row height of cells in the excel sheet. The ribbon method used for the autofit is a bit longer when compared with other methods. This method is a long process to implement the autofit feature when compared with the other two methods. Consider the above example as shown in figure 1, and follow the steps as discussed below:

  • For adjusting the width of one or several columns, select the columns. After selecting all the columns go to the ‘Home’ tab, after that under the ‘Cells’ option select the ‘Format’ option. From the list of options under the format, select ‘AutoFit Column Width’.
  • Similarly, for adjusting the height of one or several rows, select the rows. After selecting all the rows go to the ‘Home’ tab, after that under the ‘Cells’ option select the ‘Format’ option. From the list of options under the format, select ‘AutoFit Row Height’.

The figures below will explain the above steps in detail.

Step 1: In this step, after selecting the columns for which you need to adjust your column width, Click on Home->Format->AutoFit Column Width.

Autofit in excel step 2-1

Step 2: In this step, after selecting the rows for which you need to adjust your row height, Click on Home->Format->AutoFit Row Height.

Autofit in excel step 2-2

Method 3 – Using the keyboard shortcut to AutoFit column width and row height

This method is used by users who are familiar with using the keyboard for most of their operations in excel. Consider the below steps to implement this method to autofit the column width and row height.

  • To AutoFit the Column Width: Select the number of columns according to your choice, then press ‘Alt+H’ then press ‘O’, and then ‘I’.
  • To AutoFit the Row Height: Select the number of rows according to your choice, then press ‘Alt+H’, then press ‘O’, and then ‘A’.
  • If in case you need to autofit the entire sheet, press ‘Ctrl+A’.

The ‘Alt+H’ opens the home tab; ‘O’ opens the format menu; ‘I’ selects the autofit column width option; ‘A’ selects the autofit row height option.

Advantages of Autofit in Excel

  • The option AutoFit in Excel is a real time-saver, wherein it helps readers to read clearly what is being written in the cell.
  • Using the shortcut key option for the autofit of column width and row height is useful as it is the fastest way to implement the autofit feature.
  • The ribbon method is useful in cases where you have a large number of cells filled with data. As using the double click option, will be a tedious job.

Disadvantages of Autofit in Excel

  • A new user won’t be comfortable with using the keyboard shortcut options, as the user won’t be able to remember the keys and for which function, which keys are used.
  • In cases, if you authorize the row height to the text entered in the cell, it will take that row height and then you cannot set a standard row height. Also, changing the font size or style changes the size of the row height.

Things to Remember

  • The maximum width of the column is 255 i.e. it can accommodate a maximum of 255 characters, but by increasing its font size or changing the font style can reduce that number.
  • The rows have a maximum height of 409 points, where 1 point is equivalent to 0.035cm.
  • In case the text entered by you is a text wrap in the cell, make sure to click ‘Wrap Text’ or else the height of the cell will be the height of the font.
  • In case, when the column width or row height is set to 0, usually that particular row or column is not visible, i.e. it is hidden.

Recommended Articles

This has been a guide to Autofit in Excel. AutoFit in Excel is a feature that automatically adjusts the width or height of a cell. The easiest way to adjust a column is to use AutoFit in excel. Here we discuss how to use autofit in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles-

  1. Advanced Filter in Excel
  2. Basic Excel Formulas
  3. Divide Cell in Excel
  4. Formatting Text in Excel
Popular Course in this category
Excel Training (23 Courses, 9+ Projects)
  23 Online Courses |  9 Hands-on Projects |  110+ Hours |  Verifiable Certificate of Completion
4.9
Price

View Course

Related Courses

Excel Data Analysis Training (17 Courses, 8+ Projects)4.9
Excel for Finance Training (18 Courses, 7+ Projects)4.8
1 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download Autofit Excel Template

EDUCBA

Download Autofit Excel Template

EDUCBA

डाउनलोड Autofit Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more