REFERENCE.NAME Table Name

I'm trying to pull the name of another table on the same sheet into a cell.


Table 1 lists the totals of several other tables: Table 2, Table 3, Table 4, etc.. I could just type the subordinate table names in columns A, but I find it more interesting to use a function call to display the name. That way if I change the a subordinate table name, the summary table reflects that.


NAME.REFERENCE only seems to reference the same table. Any solution?

Posted on Aug 4, 2020 8:22 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 4, 2020 1:28 PM

iCloud says the link is no longer good, the user stopped sharing. The screenshot does not show any formulas. Is it the error triangle? What do you want there and what is the formula you have there now?


REFERENCE.NAME(Table 1::B1,1) will give you the string "Table 1::B1", if that is the like what you were looking for. With FIND and LEFT you can extract just the table name.

=LEFT(REFERENCE.NAME(Table 1::B1,1),FIND("::",REFERENCE.NAME(Table 1::B1,1))−1)


7 replies
Question marked as Top-ranking reply

Aug 4, 2020 1:28 PM in response to RCarignan

iCloud says the link is no longer good, the user stopped sharing. The screenshot does not show any formulas. Is it the error triangle? What do you want there and what is the formula you have there now?


REFERENCE.NAME(Table 1::B1,1) will give you the string "Table 1::B1", if that is the like what you were looking for. With FIND and LEFT you can extract just the table name.

=LEFT(REFERENCE.NAME(Table 1::B1,1),FIND("::",REFERENCE.NAME(Table 1::B1,1))−1)


Aug 4, 2020 3:43 PM in response to RCarignan

I am confused.


Your first post said "I'm trying to pull the name of another table on the same sheet into a cell". If you use REFERENCE.NAME to reference a cell in another table and you have the second parameter set to "table" (or 1), it returns the table name and the cell address. You can strip off the cell address and have just the table name remaining, as shown in my prior post. Is this not the answer to that question?


In your most recent post it now sounds like you want to change the table name using REFERENCE.NAME. That cannot be done, the titles have to be typed in.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

REFERENCE.NAME Table Name

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.