Reference Footer Cell in Dynamic Table

Hi y'all, thanks for the help in advance!


Is there a way to always reference a footer cell in a dynamic table?


I'm working on a simple table to collect summary data by month from tables that are dynamic (I'll be adding rows as the data grows). I could just point to each cell, but I'll be doing this across multiple columns for multiple months across multiple files: it's really clumsy and time consuming. There must be a better way to always reference footers, right?


I'd like to write one formula that references a table name by month (Column A) and then pull this down for every month in the column. I've tried "indirect", but this only works if no additional rows are added.


Any ideas on how I could ask numbers to always reference the footer cell of another table?


MacBook Pro (2017 – 2020)

Posted on Jan 9, 2025 5:14 PM

Reply
4 replies
Sort By: 

Jan 9, 2025 10:32 PM in response to Steve727

One way to always reference the last row of an expanding table is to use the INDEX and ROWS functions, something like this:


=INDEX(B,ROWS(B))


So in your example you could do something like this:



In B2 you could put:


=INDEX(INDIRECT("Event Log::"&$A2&"::B"),ROWS(INDIRECT("Event Log::"&$A2&"::B")))


That works. HOWEVER:


  • It's difficult to debug and maintain.
  • It uses "volatile" functions that may make your document sluggish.
  • Formulas cannot reference "multiple files."


Rather than have your event log data scattered across multiple tables, consider that there are HUGE advantages to keeping your data together in one table and using powerful features built into Numbers pull out summary data for you.


A simplified example:




You can easily change this to make it look more presentable. It took a minute or so to generate. Click in the table with the data, choose Organize > Create Pivot Table > On Current Sheet (or separate sheet if you want) in the menu and just drag the "fields" in the right panel to the boxes below.


Intro to pivot tables in Numbers on Mac - Apple Support


SG




Reply

Jan 10, 2025 12:06 PM in response to SGIII

Thanks for the help and time, this is really great. I don't know that multiple tables and pivots are possible for this project, but will take a look for sure. However, INDEX may be the solution!


Thanks again and really appreciate the help!

Reply

Jan 13, 2025 1:43 AM in response to Steve727

Steve727 wrote:

I don't know that multiple tables and pivots are possible for this project


Not suggesting "multiple tables and pivots."


Am suggesting ONE table for like data and multiple filters and pivots that draw from that data.


I think you will find that MUCH simpler and easier and far less error-prone. It's generally a "best practices" approach, applicable to most projects where you have to wrangle a lot of data.


SG

Reply

Jan 17, 2025 4:51 PM in response to SGIII

Hi SG,


Yes, I'm so sorry my mistake, I got ahead of myself: I'm not able to avoid multiple tables for this project for now, unfortunately, but it's something I'll consider for future iterations of these logs. Thanks so much for your time, it has been incredibly helpful!

Reply

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 Footer Cell in Dynamic Table

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