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.

how to find a last value in a column in numbers even when there are empty columns in

In Numbers file, need to find a last value in the column even when there are empty columns in between

Posted on Nov 1, 2024 10:13 AM

Reply
2 replies

Nov 1, 2024 11:06 AM in response to PrakashKarnam

It's non-obvious, but to find the last value in column B you can use the formula:


=LOOKUP(REGEX(".*"),B)


(substitute the 'B' for any other column or range to search)


REGEX() uses regular expressions to find values, in this case ".*" represents 'any value', i.e. non-blank cells.

This is passed as a parameter to lookup which creates a reference to a cell and returns the last cell in the range.

how to find a last value in a column in numbers even when there are empty columns in

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