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.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Help re how tho reference the 'next filled in row below'...

Hi


I am hoping for some help to find a way to reference the last filled in row in one column of figures in a single static cell elsewhere (another tab / table), but to have that update when ever a new row is completed with a new value.


So, I will have a column that once a day I add (fill in) a new row below with an updated figure and I want that column to have the full history of updates each day. In the other table I just want to show in a static cell the 'most recent / updated figure' from the column with the history when a new value is added in the next row down as and when it is filled in. In cease it makes a difference the data I will be dealing with is a 'percentage'.


Eg.


TABLE 1:

COLUMN HEADINGS: 'DATE' 'VALUE' 'VALUE CHANGE' 'PERCENTAGE CHANGE'

ROW 1 06/04/21 1000 0 0%

ROW 2 07/04/21 2000 1000 100%

ROW 3 08/04/21 2500 500 25%


TABLE 2:

CELL A1: [always the last value from the 'PERCENTAGE CHANGE column in Table 1 - updating when ever a new row is competed in that column].


Many thanks for any help offered in advance...




Posted on Apr 6, 2021 7:49 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 6, 2021 12:28 PM

Assuming that there are no empty cells above thee last entry in column D of Table 1, you could use INDEX and COUNT.

COUNT counts only cells containing numerical or quasi numerical values. The +1 is needed to include the cell in row 1, which contains text, not a number.


Regards,

Barry


3 replies
Question marked as Top-ranking reply

Apr 6, 2021 12:28 PM in response to SteveOppo

Assuming that there are no empty cells above thee last entry in column D of Table 1, you could use INDEX and COUNT.

COUNT counts only cells containing numerical or quasi numerical values. The +1 is needed to include the cell in row 1, which contains text, not a number.


Regards,

Barry


Apr 6, 2021 10:07 PM in response to SteveOppo

The modern function XLOOKUP can search from the bottom up. Here it finds the last non-blank value, whether or not there are blanks in the sells above the last entry.




=XLOOKUP(REGEX("."),Table 1::D,Table 1::D,"",2,-1)


The REGEX simply means match any character. So here it will match any non-blank cell.


More on XLOOKUP here.


SG

Help re how tho reference the 'next filled in row below'...

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