Structured reference turning into array after re-opining file - Can't use INDIRECT?

dpnab

New Member
Joined
Apr 12, 2022
Messages
35
Office Version
  1. 365
Platform
  1. Windows
I'm trying to link a cell in Sheet1 to a table in Sheet2.

So Basically formula in A2 is =Table1[Column1] and it "spills" however many rows there are in the table. This is perfect because it's a daily report and it will always be changing, this is what I want (to only return the amount of rows that are in the table).

The problem is once I save it and re-open the file, it turns into an array and changes the formula to include the original amount of rows for the table, ie (Sheet2!A2:A10). Sheet2 is also the name of the table.

So I figured I can use INDIRECT in the original formula, ie = INDIRECT(Table1[Column1]) but that just gives a #REF error.

What am I missing?

Thank you!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
INDIRECT returns a reference specified by a text string. So you'll need to wrap your reference within double quotes...

Excel Formula:
=INDIRECT("Table1[Column1]")

Hope this helps!
 
Upvote 0
INDIRECT returns a reference specified by a text string. So you'll need to wrap your reference within double quotes...

Excel Formula:
=INDIRECT("Table1[Column1]")

Hope this helps!
This works but it no longer spills the formula. If I put that formula in A3, it would just return the same result, ie only the first row. So what else can I do?
 
Upvote 0
I'm using Office 365, as I see you are, and it seems to work fine...

2023-02-02_12-52-11.png


And , when I add new data to table, the spilled array automatically adjusts...

2023-02-02_12-59-21.png
 

Attachments

  • 2023-02-02_12-56-50.png
    2023-02-02_12-56-50.png
    13.3 KB · Views: 4
  • 2023-02-02_12-58-11.png
    2023-02-02_12-58-11.png
    10.8 KB · Views: 3
Upvote 0

Forum statistics

Threads
1,215,514
Messages
6,125,269
Members
449,219
Latest member
daynle

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top