Ask Your Question
0

How do I find the bottom value in a column?

asked 2012-07-08 06:43:04 +0200

Asday gravatar image Asday
1 1

updated 2013-02-19 23:04:28 +0200

qubit gravatar image qubit flag of United States
5693 3 48 41

Simply using a spreadsheet to manage my finances, and I'd like to be able to use my latest balance in formulae. It's always going to be the lowest (position within the sheet) populated cell, in a certain column.

So far, I've got as far as

=CELL("SHEET", CELL("ADDRESS", CONCATENATE("E", 3+MATCH(".+",SheetName.E3:E99999, -1))))

With "SheetName" being whatever the sheet is called, and "E" being the column. It simply returns "#REF!".

The 3 being added to the match is to account for the headers (column names, etc.)

delete close flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-07-09 08:52:39 +0200

JohnSUN gravatar image JohnSUN flag of Ukraine
2338 2 23 36
http://wmstrong.ru/

Another variant of the same formula (without "array"):

=SUMPRODUCT(MAX(ROW(E1:E99999)*(E1:E99999<>"")))

(The function SUMPRODUCT() takes an array as a parameter and returns a single value)

link delete flag offensive edit

Comments

Confirmed. This function will return the row number of last row in column 'E' that contains data.

qubit ( 2013-03-13 10:09:15 +0200 )edit
0

answered 2012-07-08 12:54:04 +0200

mariosv gravatar image mariosv flag of Spain
4629 20 46

An array formula, like next, find the last no blank row, in the column A:

{=MAX(IF(ISBLANK(A2:A10);0;ROW(A2:A10)))}

Ctrl+Shift+Enter to enter the formula, not only Enter.

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: 2012-07-08 06:43:04 +0200

Seen: 282 times

Last updated: Jul 09 '12