What is the row limit in excel

Worksheet and workbook specifications and limits

Feature

Maximum limit

Open workbooks

Limited by available memory and system resources

Total number of rows and columns on a worksheet

1,048,576 rows by 16,384 columns

Column width

255 characters

Row height

409 points

Page breaks

1,026 horizontal and vertical

Total number of characters that a cell can contain

32,767 characters

Characters in a header or footer

255

Maximum number of line feeds per cell

253

Sheets in a workbook

Limited by available memory (default is 1 sheet)

Colors in a workbook

16 million colors (32 bit with full access to 24 bit color spectrum)

Named views in a workbook

Limited by available memory

Unique cell formats/cell styles

65,490

Fill styles

256

Line weight and styles

256

Unique font types

1,024 global fonts available for use; 512 per workbook

Number formats in a workbook

Between 200 and 250, depending on the language version of Excel that you have installed

Names in a workbook

Limited by available memory

Windows in a workbook

Limited by available memory

Hyperlinks in a worksheet

65,530

Panes in a window

4

Linked sheets

Limited by available memory

Scenarios

Limited by available memory; a summary report shows only the first 251 scenarios

Changing cells in a scenario

32

Adjustable cells in Solver

200

Custom functions

Limited by available memory

Zoom range

10 percent to 400 percent

Reports

Limited by available memory

Sort references

64 in a single sort; unlimited when using sequential sorts

Undo levels

100

Fields in a data form

32

Workbook parameters

255 parameters per workbook

Items displayed in filter drop-down lists

10,000

Noncontiguous cells that can be selected

2,147,483,648 cells

Maximum limits of memory storage and file size for Data Model workbooks

32-bit environment is subject to 2 gigabytes (GB) of virtual address space, shared by Excel, the workbook, and add-ins that run in the same process. A data model’s share of the address space might run up to 500 – 700 megabytes (MB), but could be less if other data models and add-ins are loaded.

64-bit environment imposes no hard limits on file size. Workbook size is limited only by available memory and system resources.

Beginning with Excel 2016, Large Address Aware functionality lets 32-bit Excel consume twice the memory when users work on a 64-bit Windows operating system. For more information, see Large Address Aware capability change for Excel.

Note: Adding tables to the Data Model increases the file size. If you don’t plan to create complex Data Model relationships using many data sources and data types in your workbook, uncheck the Add this data to the Data Model box when you import or create tables, pivot tables, or data connections.

For more information, see Data Model specification and limits.

Processor Cores

64

File name length

218 characters — This includes the file path. For example, C:UsernameDocumentsFileName.xlsx.

Calculation specifications and limits

Feature

Maximum limit

Number precision

15 digits

Smallest allowed negative number

-2.2251E-308

Smallest allowed positive number

2.2251E-308

Largest allowed positive number

9.99999999999999E+307

Largest allowed negative number

-9.99999999999999E+307

Largest allowed positive number via formula

1.7976931348623158e+308

Largest allowed negative number via formula

-1.7976931348623158e+308

Length of formula contents

8,192 characters

Internal length of formula

16,384 bytes

Iterations

32,767

Worksheet arrays

Limited by available memory

Selected ranges

2,048

Arguments in a function

255

Nested levels of functions

64

User defined function categories

255

Number of available worksheet functions

341

Size of the operand stack

1,024

Cross-worksheet dependency

64,000 worksheets that can refer to other sheets

Cross-worksheet array formula dependency

Limited by available memory

Area dependency

Limited by available memory

Area dependency per worksheet

Limited by available memory

Dependency on a single cell

4 billion formulas that can depend on a single cell

Linked cell content length from closed workbooks

32,767

Earliest date allowed for calculation

January 1, 1900 (January 1, 1904, if 1904 date system is used)

Latest date allowed for calculation

December 31, 9999

Largest amount of time that can be entered

9999:59:59

Charting specifications and limits

Feature

Maximum limit

Charts linked to a worksheet

Limited by available memory

Worksheets referred to by a chart

255

Data series in one chart

255

Data points in a data series for 2-D charts

Limited by available memory

Data points in a data series for 3-D charts

Limited by available memory

Data points for all data series in one chart

Limited by available memory

PivotTable and PivotChart report specifications and limits

Feature

Maximum limit

PivotTable reports on a sheet

Limited by available memory

Unique items per field

1,048,576

Row or column fields in a PivotTable report

Limited by available memory

Report filters in a PivotTable report

256 (may be limited by available memory)

Value fields in a PivotTable report

256

Calculated item formulas in a PivotTable report

Limited by available memory

Report filters in a PivotChart report

256 (may be limited by available memory)

Value fields in a PivotChart report

256

Calculated item formulas in a PivotChart report

Limited by available memory

Length of the MDX name for a PivotTable item

32,767

Length for a relational PivotTable string

32,767

Items displayed in filter drop-down lists

10,000

Workbooks with the «Allow changes by more than one user…» setting enabled

If the Allow changes by more than one user… setting is on for a workbook, then the following information applies. This setting is accessible by clicking the Review tab > Share Workbook. Note that in newer versions of Excel, the Share Workbook button has been hidden. To unhide it, click File > Options > Quick Access Toolbar. Open the list under Choose commands from and select All Commands. Scroll down that list until you see Share Workbook (Legacy). Select that item and click Add. Click OK. The Share Workbook button is now at the top of the Excel window.

Feature

Maximum limit

Users who can open the file at the same time

256

Personal views in the workbook

Limited by available memory

Days that change history is maintained

32,767 (default is 30 days)

Workbooks that can be merged at one time

Limited by available memory

Cells that can be highlighted

32,767

Colors used to identify changes made by different users when change highlighting is turned on

32 (each user is identified by a separate color; changes made by the current user are highlighted with navy blue)

Excel tables in the workbook

0 (zero)

Note: A workbook that contains one or more Excel tables cannot have the Allow changes by more than one user… setting enabled.

Worksheet and workbook specifications and limits

Feature

Maximum limit

Open workbooks

Limited by available memory and system resources

Total number of rows and columns on a worksheet

1,048,576 rows by 16,384 columns

Column width

255 characters

Row height

409 points

Page breaks

1,026 horizontal and vertical

Total number of characters that a cell can contain

32,767 characters

Characters in a header or footer

255

Maximum number of line feeds per cell

253

Sheets in a workbook

Limited by available memory (default is 3 sheets)

Colors in a workbook

16 million colors (32 bit with full access to 24 bit color spectrum)

Named views in a workbook

Limited by available memory

Unique cell formats/cell styles

65,490

Fill styles

256

Line weight and styles

256

Unique font types

1,024 global fonts available for use; 512 per workbook

Number formats in a workbook

Between 200 and 250, depending on the language version of Excel that you have installed

Names in a workbook

Limited by available memory

Windows in a workbook

Limited by available memory

Hyperlinks in a worksheet

65,530 hyperlinks

Panes in a window

4

Linked sheets

Limited by available memory

Scenarios

Limited by available memory; a summary report shows only the first 251 scenarios

Changing cells in a scenario

32

Adjustable cells in Solver

200

Custom functions

Limited by available memory

Zoom range

10 percent to 400 percent

Reports

Limited by available memory

Sort references

64 in a single sort; unlimited when using sequential sorts

Undo levels

100

Fields in a data form

32

Workbook parameters

255 parameters per workbook

Items displayed in filter drop-down lists

10,000

Noncontiguous cells that can be selected

2,147,483,648 cells

Processor Cores

64

Calculation specifications and limits

Feature

Maximum limit

Number precision

15 digits

Smallest allowed negative number

-2.2251E-308

Smallest allowed positive number

2.2251E-308

Largest allowed positive number

9.99999999999999E+307

Largest allowed negative number

-9.99999999999999E+307

Largest allowed positive number via formula

1.7976931348623158e+308

Largest allowed negative number via formula

-1.7976931348623158e+308

Length of formula contents

8,192 characters

Internal length of formula

16,384 bytes

Iterations

32,767

Worksheet arrays

Limited by available memory

Selected ranges

2,048

Arguments in a function

255

Nested levels of functions

64

User defined function categories

255

Number of available worksheet functions

341

Size of the operand stack

1,024

Cross-worksheet dependency

64,000 worksheets that can refer to other sheets

Cross-worksheet array formula dependency

Limited by available memory

Area dependency

Limited by available memory

Area dependency per worksheet

Limited by available memory

Dependency on a single cell

4 billion formulas that can depend on a single cell

Linked cell content length from closed workbooks

32,767

Earliest date allowed for calculation

January 1, 1900 (January 1, 1904, if 1904 date system is used)

Latest date allowed for calculation

December 31, 9999

Largest amount of time that can be entered

9999:59:59

Charting specifications and limits

Feature

Maximum limit

Charts linked to a worksheet

Limited by available memory

Worksheets referred to by a chart

255

Data series in one chart

255

Data points in a data series for 2-D charts

Limited by available memory

Data points in a data series for 3-D charts

Limited by available memory

Data points for all data series in one chart

Limited by available memory

PivotTable and PivotChart report specifications and limits

Feature

Maximum limit

PivotTable reports on a sheet

Limited by available memory

Unique items per field

1,048,576

Row or column fields in a PivotTable report

Limited by available memory

Report filters in a PivotTable report

256 (may be limited by available memory)

Value fields in a PivotTable report

256

Calculated item formulas in a PivotTable report

Limited by available memory

Report filters in a PivotChart report

256 (may be limited by available memory)

Value fields in a PivotChart report

256

Calculated item formulas in a PivotChart report

Limited by available memory

Length of the MDX name for a PivotTable item

32,767

Length for a relational PivotTable string

32,767

Items displayed in filter drop-down lists

10,000

Workbooks with the «Allow changes by more than one user…» setting enabled

If the Allow changes by more than one user… setting is on for a workbook, then the following information applies. This setting is accessible by clicking the Review tab > Share Workbook.

Feature

Maximum limit

Users who can open and share the file at the same time

256

Personal views in the workbook

Limited by available memory

Days that change history is maintained

32,767 (default is 30 days)

Workbooks that can be merged at one time

Limited by available memory

Cells that can be highlighted in the workbook

32,767

Colors used to identify changes made by different users when change highlighting is turned on

32 (each user is identified by a separate color; changes made by the current user are highlighted with navy blue)

Excel tables in the workbook

0 (zero)

Note: A workbook that contains one or more Excel tables cannot have the Allow changes by more than one user… setting enabled.

Worksheet and workbook specifications and limits

Feature

Maximum limit

Open workbooks

Limited by available memory and system resources

Total number of rows and columns on a worksheet

1,048,576 rows by 16,384 columns

Column width

255 characters

Row height

409 points

Page breaks

1,026 horizontal and vertical

Total number of characters that a cell can contain

32,767 characters

Characters in a header or footer

255

Maximum number of line feeds per cell

253

Sheets in a workbook

Limited by available memory (default is 3 sheets)

Colors in a workbook

16 million colors (32 bit with full access to 24 bit color spectrum)

Named views in a workbook

Limited by available memory

Unique cell formats/cell styles

65,490

Fill styles

256

Line weight and styles

256

Unique font types

1,024 global fonts available for use; 512 per workbook

Number formats in a workbook

Between 200 and 250, depending on the language version of Excel that you have installed

Names in a workbook

Limited by available memory

Windows in a workbook

Limited by available memory

Hyperlinks in a worksheet

65,530 hyperlinks

Panes in a window

4

Linked sheets

Limited by available memory

Scenarios

Limited by available memory; a summary report shows only the first 251 scenarios

Changing cells in a scenario

32

Adjustable cells in Solver

200

Custom functions

Limited by available memory

Zoom range

10 percent to 400 percent

Reports

Limited by available memory

Sort references

64 in a single sort; unlimited when using sequential sorts

Undo levels

100

Fields in a data form

32

Workbook parameters

255 parameters per workbook

Filter drop-down lists

10,000

Calculation specifications and limits

Feature

Maximum limit

Number precision

15 digits

Smallest allowed negative number

-2.2251E-308

Smallest allowed positive number

2.2251E-308

Largest allowed positive number

9.99999999999999E+307

Largest allowed negative number

-9.99999999999999E+307

Largest allowed positive number via formula

1.7976931348623158e+308

Largest allowed negative number via formula

-1.7976931348623158e+308

Length of formula contents

8,192 characters

Internal length of formula

16,384 bytes

Iterations

32,767

Worksheet arrays

Limited by available memory

Selected ranges

2,048

Arguments in a function

255

Nested levels of functions

64

User defined function categories

255

Number of available worksheet functions

341

Size of the operand stack

1,024

Cross-worksheet dependency

64,000 worksheets that can refer to other sheets

Cross-worksheet array formula dependency

Limited by available memory

Area dependency

Limited by available memory

Area dependency per worksheet

Limited by available memory

Dependency on a single cell

4 billion formulas that can depend on a single cell

Linked cell content length from closed workbooks

32,767

Earliest date allowed for calculation

January 1, 1900 (January 1, 1904, if 1904 date system is used)

Latest date allowed for calculation

December 31, 9999

Largest amount of time that can be entered

9999:59:59

Charting specifications and limits

Feature

Maximum limit

Charts linked to a worksheet

Limited by available memory

Worksheets referred to by a chart

255

Data series in one chart

255

Data points in a data series for 2-D charts

32,000

Data points in a data series for 3-D charts

4,000

Data points for all data series in one chart

256,000

PivotTable and PivotChart report specifications and limits

Feature

Maximum limit

PivotTable reports on a sheet

Limited by available memory

Unique items per field

1,048,576

Row or column fields in a PivotTable report

Limited by available memory

Report filters in a PivotTable report

256 (may be limited by available memory)

Value fields in a PivotTable report

256

Calculated item formulas in a PivotTable report

Limited by available memory

Report filters in a PivotChart report

256 (may be limited by available memory)

Value fields in a PivotChart report

256

Calculated item formulas in a PivotChart report

Limited by available memory

Length of the MDX name for a PivotTable item

32,767

Length for a relational PivotTable string

32,767

Workbooks with the «Allow changes by more than one user…» setting enabled

If the Allow changes by more than one user… setting is on for a workbook, then the following information applies. This setting is enabled when using Shared Workbooks.

Feature

Maximum limit

Users who can open and share the workbook at the same time

256

Personal views in the workbook

Limited by available memory

Days that change history is maintained

32,767 (default is 30 days)

Workbooks that can be merged at one time

Limited by available memory

Cells that can be highlighted

32,767

Colors used to identify changes made by different users when change highlighting is turned on

32 (each user is identified by a separate color; changes made by the current user are highlighted with navy blue)

Excel tables in the workbook

0 (zero)

Note: A workbook that contains one or more Excel tables cannot have the Allow changes by more than one user… setting enabled.

Top of Page

Limit of Rows in Excel Worksheet

Limiting rows in Excel is a great tool to add more protection to the spreadsheet as this restricts the other users from changing or modifying the spreadsheet to a great limit. For example, while working on a shared spreadsheet, a user must limit the other user from changing the data that the primary user has inserted. The Excel row limit can do this.

Table of contents
  • Limit of Rows in Excel Worksheet
    • How to Limit Number of Rows in Excel? (with Examples)
      • Example #1 – Limit of Rows by Using Excel Hide Function.
      • Example #2 – Restrict Accessing Rows by Protecting the Worksheet
      • Example #3 – Limit Worksheet Rows in Excel with VBA (Scroll Lock)
    • Things to Remember
    • Recommended Articles

How to Limit the Number of Rows in Excel? (with Examples)

We can limit rows in Excel in multiple ways, as below.

  1. Hiding the rows
  2. Protecting the rows
  3. Scrolling limits

Example #1 – Limit of Rows by Using Excel Hide Function.

It is the easiest function that we can use to limit the rows that are in Excel. Using this method, we physically make the unwanted rows disappear from the workspace.

Below are the steps for limiting rows using the Excel hide function:

  1. First, select the rows that are not wanted and need to be restricted. In this case, we chose the rows from A10 to the last.

    Excel Row Limit Example 1

  2. Now, right-click on the mouse after the rows are selected and choose the option that will hide the rows.

    Excel Row Limit Example 2

  3. After the rows are selected to be hidden, the user will only see those not set as hidden. In this way, the rows are limited in Excel.

    Excel Row Limit Example 3

Example #2 – Restrict Accessing Rows by Protecting the Worksheet

Another simple way of restricting the rows in excel is by protecting the sheet and disabling the feature of allowing the user to select locked cells in excelIn Excel, cells are locked to protect them from unwanted editing, deleting, and overwriting. Locking cells is specifically beneficial in cases where an excel worksheet needs to be shared with several colleagues.read more. This way, we can restrict the user from accessing the restricted rows.

In this method, the user is only restricted from accessing the rows. However, all the rows are still visible to the users.

  • Step 1: Select the complete workbook.

Excel Row Limit Example 2

  • Step 2: Now, go to the “Review” tab.

Excel Row Limit Example 2-1

  • Step 3: Now, select the option of “Protect Sheet.”

Excel Row Limit Example 2-2

  • Step 4: From the options of protecting the sheet, Untick the option “Select locked cells.” By not checking this option, Excel will now not allow the users to select the locked cells.

Excel Row Limit Example 2-3

  • Step 5: The complete worksheet is locked and cannot be accessed since we have protected the complete worksheet.
  • Step 6: Now, we must unprotect the rows or fields that we want the users to have access to. Select the rows that are to be made available.

Excel Row Limit Example 2-4

  • Step 7: Now, right-click and choose the option of “Format Cells.”

Excel Row Limit Example 2-5

  • Step 8: Choose the option to unprotect the range from the “Format CellsFormatting cells is an important technique to master because it makes any data presentable, crisp, and in the user’s preferred format. The formatting of the cell depends upon the nature of the data present.read more” option.

Excel Row Limit Example 2-6

  • Step 9: Now, the rows are limited, as only the selected rows are accessible by the user.

Excel Row Limit Example 2-7

Example #3 – Limit Worksheet Rows in Excel with VBA (Scroll Lock)

In this method, the rows are blocked from accessing.

Step 1: Right-click on the sheet name and click “View Code.”

Step1 - Right click on sheet name

  • Step 2: Go to the “View” tab and select the “Properties Window.” You can also use the shortcut key F4 to choose the properties window.

step 2

  • Step 3: Now, go to the “ScrollArea” and insert the rows to be made available to the user.

Step 3

  • Step 4: The user can only access the first 10 rows in Excel.

Step 4

Things to Remember

  • By doing the limit of rows in Excel, we only choose to hide the rows that are not yet required.
  • When rows are inactive, they are only not available in the current worksheet and can be accessed in a new worksheet.
  • Only the current worksheet will be affected if we use the scroll lock option to inactivate some of the rows. Other sheets will not get impacted as the property is only changed for that worksheet, whose code is viewed and then changed.
  • The rows number will not get affected, and the rows will not get a reassigned number if any of the rows are hidden. If we have hidden the first 10 rows, this does not mean that the 11th row will get first. The 11th row will remain the 11th row since Excel wants the user to notify that some rows are hidden.
  • If we are using the “ScrollArea” option to limit the rows, then this can be changed by the other user as this option to change the scroll option is available to all users as this option does not make the changes protected.
  • If we do not want other users to change any of the rules we have created related to the available rows, then we must use the option of “Protect sheet in excelWhen we don’t want any other user to make changes to our worksheet, we can use the Protect worksheet feature in Excel. It can be found in Excel’s Review tab. read more” and then continue with a password.

Recommended Articles

This article is a guide to Excel Rows Limit. Here, we discuss how to limit the rows in Excel using the hide feature, protect the worksheet, and VBA scroll lock, along with practical examples and downloadable templates. You may learn more about Excel from the following articles: –

  • Count Rows in ExcelThere are numerous ways to count rows in Excel using the appropriate formula, whether they are data rows, empty rows, or rows containing numerical/text values. Depending on the circumstance, you can use the COUNTA, COUNT, COUNTBLANK, or COUNTIF functions.read more
  • VBA Last Row FunctionThe End(XLDown) method is the most commonly used method in VBA to find the last row, but there are other methods, such as finding the last value in VBA using the find function (XLDown).read more
  • Remove Blank Rows in Excel
  • Row Function Excel Example

Reader Interactions

Display only what you want to see

Updated on September 26, 2022

What to Know

  • To hide certain rows: Select or highlight the rows you want to hide. Right-click a row heading and choose Hide. Repeat for columns.
  • To unhide: Right-click the header for the last visible row or column and choose Unhide.
  • To temporarily limit range of cells: Right-click sheet tab > View Code > Properties. For ScrollArea, type A1:Z30. Save, close, and reopen Excel.

To help control the size of an Excel worksheet, you can limit the number of columns and rows that a worksheet displays. In this guide, we show you how to hide (and unhide) rows and columns in Excel 2019, Excel 2016, Excel 2013, and Excel for Microsoft 365, as well as how to limit access to rows and columns using Microsoft Visual Basic for Applications (VBA).

Hide Rows and Columns in Excel

An alternative method for restricting the work area of a worksheet is to hide sections of unused rows and columns; they’ll stay hidden even after you close the document. Follow the steps below to hide the rows and columns outside the range A1:Z30.

  1. Open your workbook and select the worksheet you want to hide rows and columns in. Click the header for row 31 to select the entire row.

  2. Press and hold the Shift and Ctrl keys on the keyboard. At the same time, press the down arrow key on the keyboard to select all rows from row 31 to the bottom of the worksheet. Release all the keys.

  3. Right-click one of the row headings to open the contextual menu. Select Hide.

  4. The worksheet now shows only the data in rows 1 through 30.

  5. Click the header for column AA and repeat steps 2 and 3 (using the right arrow key instead of the down arrow key) to hide all columns after column Z.

  6. Save the workbook; the columns and rows outside the range A1 to Z30 will remain hidden until you unhide them.

    You can use the same process to hide any rows or columns you want. Just select the header or headers for the row or column, right-click the header, and select Hide.

Hilary Allison / Lifewire 

Unhide Rows and Columns in Excel

When you want to view the data you hid, you can unhide the rows and columns at any time. Follow these steps to unhide the rows and columns you hid in the previous example.

  1. Open the worksheet you used to hide row 31 and higher and column AA and higher. Click the headers for row 30 (or the last visible row in the worksheet) and the row below it. Right-click the row headers and, from the menu, select Unhide.

  2. The hidden rows are restored.

  3. Now click the headers for column Z (or the last visible column) and the column to the right of it. Right-click the selected column headers and, from the menu, choose Unhide. The hidden columns are restored.

Limit Access to Rows and Columns With VBA

You can use Microsoft Visual Basic for Applications (VBA) to temporarily limit the range of usable rows and columns in a worksheet. In this example, you’ll change the properties of a worksheet to limit the number of available rows to 30 and the number of columns to 26.

Changing the scroll area is a temporary measure; it resets each time the workbook is closed and reopened.

  1. Open a blank Excel file. At the bottom of the screen, right-click the Sheet1 sheet tab. From the menu, choose View Code.

  2. The Visual Basic for Applications (VBA) editor window opens. In the left rail, locate the Properties section.

  3. Under Properties,in the right column of the ScrollArea row, click the empty box and type A1:Z30.

  4. Select File > Save and save your workbook as you normally would. Select File > Close and Return to Microsoft Excel.

  5. To make sure your change is applied, perform this test. In your worksheet, try to scroll past row 30 or column Z. If the change has been applied, Excel bounces you back to the selected range and you’re unable to edit cells outside that range.

  6. To remove the restrictions, access VBA again and delete the ScrollArea range.

FAQ

  • What is the maximum limit of rows in Excel?

    Microsoft says that the maximum size of a single Excel spreadsheet is 1,048,576 rows by 16,384 columns. The maximum row height is 409 points, and the maximum column width is 255 characters.

  • How do I permanently set row and column limits in Excel?

    If you want to set a hard limit to columns or rows in an Excel spreadsheet (i.e. set it up so no additional rows or columns can be added past that set limit), unfortunately you can’t. There’s currently no menu option to prevent yourself or other users from adding more rows or columns you may not want. However, you can manually delete unwanted rows and columns by right-clicking the selected row(s) or column(s) and selecting Delete.

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Have a look at this link** and this one (and this for 2013). A quick summary:

+-----------------+-----------+--------------+---------------------+
|                 | Max. Rows | Max. Columns | Max. Cols by letter |
+-----------------+-----------+--------------+---------------------+
| Excel 365*      | 1,048,576 | 16,384       | XFD                 |
| Excel 2013      | 1,048,576 | 16,384       | XFD                 |
| Excel 2010      | 1,048,576 | 16,384       | XFD                 |
| Excel 2007      | 1,048,576 | 16,384       | XFD                 |
| Excel 2003      | 65,536    | 256          | IV                  |
| Excel 2002 (XP) | 65,536    | 256          | IV                  |
| Excel 2000      | 65,536    | 256          | IV                  |
| Excel 97        | 65,536    | 256          | IV                  |
| Excel 95        | 16,384    | 256          | IV                  |
| Excel 5         | 16,384    | 256          | IV                  |
+-----------------+-----------+--------------+---------------------+

*Excel 365 unverified.

**This (web archive) link probably will not work with your browser, but the information is in the page source.

Row Limit in Excel

Row Limit in Excel (Table of Contents)

  • Row Limit in Excel
  • Hide Rows Which You Don’t Want to Show
  • Limit the Scrolling Area

Row Limit in Excel

Although we have a sufficient number of rows, count in excel to handle ample data, but still, we have some limitation of the number of rows in excel, which is limited to 1048576 rows in Excel 2019 Office 365. Every workbook has limited memory allowed so that Excel can function properly without any crash. If we still have data that exceeds the 1048576-row count, then we can insert multiple sheets.

Hide Rows Which You Don’t Want to Show

If you are old to excel in hiding and unhiding, this is not strange for you. A similar technique we can apply here as well. It is very rare we use more than 1 lakh rows of data set. I often don’t want to show unnecessary rows to the users. We can hide both rows and columns in excel. Follow the below steps to learn this technique.

You can download this Row Limit Excel Template here – Row Limit Excel Template

Step 1: Select the one row below where you want to display the number of rows. For example, if I want to display 1 lakh rows, I will select the row after 1 lakh row. Reaching after the row of 1 lakh is not that easy. Scrolling till the 1 lakh row is not that easy. Place a cursor on the Name Box.

row excel limit 2

Now type A100001in the Name Box and Hit Enter; it will take you to the row after 1 lakh row.

row excel limit 3

Select this entire row by pressing the shortcut key Shift Space.

row excel limit 4

Step 2: Now hold the Keys Shift & Ctrl > Press down Arrow; it will take you till the end of the last row.

row excel limit step 1

Step 3: Right-click on the column header and select the hide option.

row excel limit step 2

Pro Tip: We can also press Ctrl + 9, which is the shortcut key to hide selected rows.

press Ctrl + 9 step 3.1

Step 4: It will hide all the selected rows and display only 1 lakh rows.

row excel limit step 4

Limit the Scrolling Area

In a general spreadsheet, the user can move around anywhere in the worksheet. However, sometimes we need to restrict the access of the user to specific areas.

We can do this by using the VBA coding technique

Step 1: Open the Workbook you want to restrict.

Step 2: Press ALT + F11, which is the shortcut key to open the VBA editor. It will show the VBA Editor window.

row excel limit step 4

Step 3: Right-click on the worksheet where you want to restrict the user access. In my case, I am selecting Sheet 1. Right-click and select View Code; it will enable the VBA code space.

View Code step 5

Step 4: Select Sheet1 and press F4, which will open the Sheet Properties window.

row excel limit step 6

Step 5: Find the ScrollArea in this toolbox.

ScrollArea step 7

Type the area (range) in the worksheet you want to give them access to. I have mentioned A1 to G20 in the below image.

row excel limit step 8

Step 6: Close the VBA Editor window and Save the workbook. Now the user cannot move beyond the selected cells. We have limited the access of rows to the users.

VBA Editor Window

Now test your worksheet. You cannot place your cursor other than the yellow colored area.

row excel limit step 9

Things to remember about Row Limit in Excel

  • The shortcut key to hide rows is Ctrl + 9. Use horizontal number keypad.
  • We can specify any type of range in the scroll area to limit access.
  • Once the rows are hidden, we can unhide at any point in time.
  • In the latest version of excel, a maximum of 1,048,576 rows by 16,384 columns are available.

Recommended Articles

This has been a guide to Row Limit in Excel. Here we discuss the Row Limit in Excel and how to use the Row Limit in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –

  1. Add Rows in Excel Shortcut
  2. Autofit Row Height in Excel
  3. ROWS Function in Excel
  4. Excel Freeze Rows

Open your workbook and select the worksheet you want to hide rows and columns in. Click the header for row 31 to select the entire row. Press and hold the Shift and Ctrl keys on the keyboard. At the same time, press the down arrow key on the keyboard to select all rows from row 31 to the bottom of the worksheet.

Contents

  • 1 How do I limit the number of rows and columns in Excel?
  • 2 How do you set a row limit in Excel?
  • 3 How do I get rid of infinite columns in Excel?
  • 4 How do I get rid of unnecessary rows and columns in Excel?
  • 5 How do I restrict the number of columns in Excel?
  • 6 How do I restrict columns in Excel?
  • 7 Does Excel have a limit in rows?
  • 8 What is the max column in Excel?
  • 9 Is there a limit to how many rows Excel can filter?
  • 10 How do I get rid of thousands of extra rows in Excel?
  • 11 How do you stop Excel columns from going on forever?
  • 12 How do I GREY out unused cells in Excel?
  • 13 How do I lock hidden columns in Excel?
  • 14 How do you lock individual cells in Excel?
  • 15 How do you use the MAX function in Excel?
  • 16 Does Excel have cell limit?

How do I limit the number of rows and columns in Excel?

How to Limit Number of Rows

  1. Click on the row number below the last row we want to make it visible to others and press Ctrl+Shift+Down Arrow keys to select all the remaining rows of the worksheet.
  2. In the Cells group on Home tab, click on Format down arrow > From Hide $ Unhide section select the Hide Rows.

How do you set a row limit in Excel?

Excel Row Limit

  1. Row Limit in Excel (Table of Contents)
  2. Step 1: Select the one row below where you want to display the number of rows.
  3. Step 2: Now hold the Keys Shift & Ctrl > Press down Arrow; it will take you till the end of the last row.
  4. Step 3: Right-click on the column header and select the hide option.

How do I get rid of infinite columns in Excel?

Press Ctrl + Shift keys and press down arrow and select all rows beneath. Now do a similar thing with columns. After selecting all, go to Format >> column >> Hide. All the useful cells will be surrounded by the gray moat beyond which you can’t scroll.

How do I get rid of unnecessary rows and columns in Excel?

In the “Cells” section of the “Home” tab, click “Delete” and then select “Delete Sheet Rows” from the drop-down menu. All the blank rows are removed and the remaining rows are now contiguous. You can also delete blank columns using this feature. To do so, select the area containing the blank columns to be deleted.

How do I restrict the number of columns in Excel?

Select the first column right to the shared range, and then press the Ctrl + Shift + Rightward arrow keys simultaneously to select all right columns. Step 2: Right click selected columns, and select the Hide from right-clicking menu.

How do I restrict columns in Excel?

Press the Keyboard Shortcut Ctrl + A to select all the cells of the sheet. Right click and choose Format cells. Go to the Protection tab and uncheck Locked option and click Ok. Now select only the cells or columns, rows that you want to protect.

Does Excel have a limit in rows?

Yes, Excel has maximum row limits! According to Microsoft Support (2021): Excel’s maximum row limit is 1,048,576. Columns are limited to 16,384. This applies to Excel for Microsoft 365, Excel 2019, Excel 2016, Excel 2013, Excel 2010, and Excel 2007.

What is the max column in Excel?

16,384 columns
Worksheet and workbook specifications and limits

Feature Maximum limit
Total number of rows and columns on a worksheet 1,048,576 rows by 16,384 columns
Column width 255 characters
Row height 409 points
Page breaks 1,026 horizontal and vertical

Is there a limit to how many rows Excel can filter?

Excel Filtering Limit of 10,000 Rows.

How do I get rid of thousands of extra rows in Excel?

You can remove blank rows in Excel by first doing a “Find & Select” of blank rows in the document. You can then delete them all at once using the “Delete” button on the Home tab.

How do you stop Excel columns from going on forever?

Select Format » Row » Hide to hide them all. Do the same thing for unused columns; find the last-used column, select the entire column to the right of it, press the Ctrl and Shift keys while pressing the right arrow, and select Format » Column » Hide.

How do I GREY out unused cells in Excel?

How to quickly grey out all unused area in Excel?

  1. Enable the sheet in which you want to display working area only, and click View > Page Break Preview.
  2. Select a range you want to display only, and click Kutools > Show & Hide > Set Scroll Area.
  3. If you want to display all, click Kutools > Show & Hide > Unhide All Ranges.

How do I lock hidden columns in Excel?

These are the steps you should follow:

  1. Select the column you want to protect.
  2. Choose Cells from the Format menu.
  3. Make sure the Protection tab is displayed.
  4. Make sure both the Locked and Hidden check boxes are selected.
  5. Click OK to dismiss the dialog box.
  6. With the column still selected, choose Format | Column | Hide.

How do you lock individual cells in Excel?

Lock cells to protect them

  1. Select the cells you want to lock.
  2. On the Home tab, in the Alignment group, click the small arrow to open the Format Cells popup window.
  3. On the Protection tab, select the Locked check box, and then click OK to close the popup.

How do you use the MAX function in Excel?

Formula

  1. =MAX(number1, [number2], …)
  2. Number1 and number2 are the arguments used for the function, where Number1 is required and the subsequent values are optional.

Does Excel have cell limit?

In most cases, the limit on what can be entered in a cell is not a real issue; Excel allows you to enter up to 32,767 characters in each cell. All of these characters will show up in the Formula bar just fine.

This post will guide you how to limit rows and columns in an Excel Worksheet. How do I limit the number of rows and columns in an Excel Spreadsheet.

  • Limit Rows and Columns with VBA
  • Limit Rows and Columns with Hiding Rows and Columns
  • Video: Limit Rows and Columns

Limit Rows and Columns with VBA


Assuming that you have a worksheet, and you want to allow other people to edit your worksheet only, but you do not want them to add more rows or columns. So you need to limit the number of rows and columns in your worksheet. You can temporarily prevent other people from scrolling below a certain row and column. And how to disable scrolling below a specific row and column, you can use the Scroll Area property of the worksheet to limit the range of usable rows and columns. Just do the following steps:

#1 right click on your worksheet tab at the bottom of your worksheet.  And click View Code menu from the popup menu list. And the Visual Basic for Applications window will open.

limit rows and columns1

#2 click View Menu in the Visual Basic for Applications window, and then click Properties Window menu from the drop down menu list. And the Properties window will be shown.

limit rows and columns2

#3 Find the Scroll Area property in the list of worksheet properties.

#4 click in the empty box to the right of the Scroll Area label. And type the range of cells that you want to display.

limit rows and columns3

#5 press Ctrl + S keys and save the worksheet. And then close the Visual Basic for Applications window and return the worksheet.

#6 you will be unable to scroll past the row number you typed into the scroll Area text box. And all other rows are also be locked.


You can also try to hide all other rows and columns to achieve the same result of limiting rows and columns in your worksheet. For example, If you need to hide the rows and columns outside the range A1:C4, just do the following steps:

#1 click the row 5 to select the entire row.

limit rows and columns4

#2 press Shift + Ctrl + Down Arrow keys in your keyboard, to select all rows from row 5 to the bottom of the worksheet.

limit rows and columns5

#3 right click on the selected rows and choose Hide from the popup menu list.

limit rows and columns6

#4 click on the Column D to select the entire column. And press Shift + Ctrl + right Arrow keys in your keyboard, to select all rows from row 5 to the bottom of the worksheet. Then repeat step 3 to hide all columns after column C.

limit rows and columns8

#5 You will see that all rows and columns outside the range A1:C4 will be hidden.

limit rows and columns7

Video: Limit Rows and Columns

The maximum number of possible columns and rows in Microsoft Excel is not unlimited. Instead, the limit differs from program version to program version and is moreover depending on whether the file format is XLSX or XLS.

Here is a table of previous versions and formats of Excel as well as the maximum number of rows and columns allowed for the corresponding version and format.

Version Format Max. Rows Max. Columns
Excel 365 XLSX 1.048.576 16.384 (XFD)
Excel 2021 XLSX 1.048.576 16.384 (XFD)
Excel 2019 XLSX 1.048.576 16.384 (XFD)
Excel 2016 (16.0) XLSX 1.048.576 16.384 (XFD)
Excel 2013 (15.0) XLSX 1.048.576 16.384 (XFD)
Excel 2010 (14.0) XLSX 1.048.576 16.384 (XFD)
Excel 2007 (12.0) XLSX 1.048.576 16.384 (XFD)
Excel 2003 (11.0) XLS 65.536 256 (IV)
Excel 2002 (10.0) XLS 65.536 256 (IV)
Excel 2000 (9.0) XLS 65.536 256 (IV)
Excel 97 (8.0) XLS 65.536 256 (IV)
Excel 95 (7.0) XLS 16.384 256 (IV)
Excel 5.0 (1993) XLS 16.384 256 (IV)
Excel 4.0 (1992) XLS 16.384 256 (IV)
Excel 3.0 (1990) XLS 16.384 256 (IV)
Excel 2.0 (1987) XLS 16.384 256 (IV)
Excel 1.0 (1985) XLS 16.384 256 (IV)

In the first versions of Excel from 1985 on, only 16,384 lines and 256 columns were allowed. This made it possible to use the columns from column A to column IV. The last usable field in the lower right corner was accordingly the field IV16384. With this, a maximum of 4,341,760 cells of the XLS sheet could be used in the Excel versions from 1.0 to 7.0.

Starting with Excel 97 (version 8.0), the maximum number of lines for the XLS format was increased to 65,536, the maximum number of columns remained unchanged. So, a maximum of 16,777,216 cells are usable in an XLS sheet.

First ten years later with Excel 2007 (version 12.0) and the introduction of the XLSX format, there was a further increase in the number of permitted fields. From this time on, 1,048,576 rows and 16,384 columns (that is from column A to the XFD column) were possible. Til today, this number has not been increased again. Overall, a current Excel spreadsheet can therefore comprise 17,179,869,184 cells. Incidentally, this increase only applies to the XLSX format. If you use a current version of Excel to store a sheet in the old XLS format, the limit of 65,536 lines and 256 columns introduced with Excel 97 is there still today. If you nevertheless try to save a spreadsheet that exceeds this range in XLS format, Excel will issue an error message and not save the corresponding field(s).

Since Excel 2016 up to the current Excel 365 offered in a subscription model, Microsoft has not only kept the same number of permitted rows and columns, but has also frozen the version number on 16, since instead of discrete versions, there should be continuously new features rolled out via the Windows update in future. It remains to be seen whether Microsoft someday will give us more columns or more rows via this update again.

Like this post? Please share to your friends:
  • What is the root prefix and suffix of a word
  • What is the root of the word dictionary
  • What is the root of a word examples
  • What is the roman word for london
  • What is the role of fixed word order in the english language