Apple launches Apple Store app in India

The Apple Store app provides customers with the most personalized way to shop for Apple’s innovative lineup of products and services. Learn more >

You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

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




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

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.