How can I find the amount of change in a range of numbers?

I am trying to find the change in scores from the beginning of a range to the end. I have an example of it in Google Sheets, but I don't know how to show the change in Apple Numbers (since I want to switch to Apple Numbers).


Apple Numbers - no scores in some years, but I want to find growth from the first score to the last score.


Google Sheets example:


Thanks!

MacBook Air, macOS 15.1

Posted on Nov 21, 2024 8:31 AM

Reply
5 replies
Sort By: 

Nov 21, 2024 9:59 PM in response to dchandler95

Hi dchandler95,


First, let's use another table to find the column numbers containing scores (non-blank columns). You can hide the extra table (cut and paste to another Sheet) when all is working.



Formula in "Non blank column numbers" B2 is IF(ISBLANK(Table 1::B2),"",COLUMN())

Fill down and fill right.


In Table 1, formulas are


L2 is ROW()

M2 is MIN(Non blank column numbers::2:2)

N2 is MAX(Non blank column numbers::2:2)

O2 is INDIRECT(ADDRESS(L2,M2,4)

P2 is INDIRECT(ADDRESS(L2,N2,4)

Q2 is P2−O2



The red error triangles are due to no scores in those rows.

Hide columns L to P


Regards,

Ian .



Reply

Nov 22, 2024 7:43 AM in response to dchandler95



N2 =XLOOKUP(O2,B$1:M$1,B2:M2)−XLOOKUP(P2,B$1:M$1,B2:M2)

O2 =MAX(B$1,MAXIFS(B$1:M$1,B2:M2,"<>"))

P2 =MAX(B$1,MAXIFS(B$1:M$1,B2:M2,"",B$1:M$1,"<"&O2)+1)

fill down


The years in row 1 cannot be text. Number or date format will work.


Formula in O is looking for the max year that has an entry. If no columns have an entry then it defaults to the earliest year (column B, 2014). (MAXIFS will be 0 when it finds no match)


Formula in P is looking for the max year that is less than the year in O and has no entry in it (is blank). The cell to the right is the one we want so it adds 1 to the result. If there are no blank cells to the left of O's year, it defaults to the earliest year (column B, 2014).


Formula in N looks up the data for the two years and subtracts.


Hide columns O and P.


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.

How can I find the amount of change in a range of numbers?

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