Function Problems

How to Resize an Excel Table Based on Another Cell Without VBA

Chanuka GeekiyanageChanuka Geekiyanage Nov 2, 2026 868 views

Question details

The user wants to dynamically resize an official Excel table based on the value of another cell without relying on VBA macros.

How to Resize an Excel Table Based on Another Cell Without VBA
Product
Excel
Device & OS
not provided
Scenario
Attempting to use dynamic formulas like INDIRECT or OFFSET within the Excel Table Resize dialog to control the table's range.
Observed behavior
The table resize dialog only accepts fixed ranges. Any formulas entered are automatically removed, and the table reverts to its previous fixed size.
Before you start

Native Excel Tables strictly require hardcoded ranges and do not support formula-based dynamic resizing in their dialog box. If you cannot use VBA, you will need to rely on alternative data presentation methods like dynamic arrays or filtering.

Solution 1Recommended

Alternative 1: Use Dynamic Array Formulas Outside a Formal Table

Simulate a dynamic table using array formulas that automatically spill over based on your target cell value, bypassing the limitations of the formal Table feature.

Since official Excel Tables (ListObjects) cannot evaluate dynamic range formulas, you can replace the formal table with dynamic array functions. This method extracts data from a source range and dynamically sizes the output based on a cell value.

1
Define your sizing cell

Select a cell (for example, E1) where you will input the desired number of rows for your data view.

2
Enter the dynamic formula

In an empty area of your worksheet, enter a dynamic array formula such as =TAKE(A2:C100, E1) or =OFFSET(A2, 0, 0, E1, 3). This will pull the exact number of rows specified in E1.

3
Format the output range

Apply standard cell formatting, such as borders and fill colors, to the spill range to make it visually resemble a formal table.

Alternative 1: Use Dynamic Array Formulas Outside a Formal Table
Table Limitation: Dynamic arrays will spill automatically but cannot be placed inside an official Excel Table (Insert > Table). This approach acts as a visual replacement.
Free Microsoft Office alternative

Try WPS Office for Flexible Data Management

While native tables in Microsoft Excel require fixed ranges, WPS Office offers a free, lightweight, and highly compatible alternative. Enjoy seamless format compatibility, a familiar UI, and advanced array formulas for dynamic data manipulation without the high costs.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free suite.
  2. 2. Open WPS Spreadsheet: Launch the Spreadsheet application from the WPS Office dashboard.
  3. 3. Import your file: Click 'Open' to select your existing Excel (.xlsx) file and continue working seamlessly.
Fully compatible with Microsoft Excel (.xlsx, .xls) formats.Familiar, intuitive user interface for seamless and quick migration.Advanced support for dynamic arrays and complex data extraction functions.Lightweight installation that runs smoothly on older and newer devices.
microsoft office alternative - wps office

Frequently Asked Questions

Can I use the INDIRECT function to set an Excel table range?

No, the official Excel Table resize dialog only accepts hardcoded, static ranges (e.g., =$A$1:$D$10). It is not programmed to evaluate dynamic formulas like INDIRECT or OFFSET.

Why do formulas disappear when entered in the table resize dialog?

The Table Resize dialog is designed strictly for absolute cell references. When it detects an active formula instead of a static range, it rejects the input and automatically reverts back to the last known valid static range.

How can I automatically expand a table without VBA?

Excel tables automatically expand when you manually type or paste new data immediately below the last row or to the right of the last column. However, they will not dynamically shrink or expand based solely on a reference cell's value without VBA.

Are dynamic arrays a good substitute for Excel Tables?

Yes, if your primary goal is to have a range that expands or contracts based on dynamic cell values, dynamic array functions (like FILTER, SORT, or TAKE) are highly effective. Keep in mind they do not offer structured table references like Table1[Column1].