On 09/07/12 11:01, Michael Reich wrote:
On 7/4/12 11:00 AM, firstname.lastname@example.org wrote:
Re: [libreoffice-users] CALC - How to count blank cells?
7/4/12 3:44 AM
El 04/07/12 5:16, dave wagner escribió:
I have a small range of cells (less than 100) in which I need to
cells that are blank.
What is the best way to do this?
I was trying something like "=COUNTIF(C11:C103,(CELL("Type",b)))".But
just did not work.
Thanks to all who helps me with this simple problem.
In a related (I think) question, what formula could be used to identify
the last row in a spreadsheet with data in it? It's a similar
situation as the OP, in which new data is inserted as a new row at the
bottom of the sheet. I want another worksheet to be able to pick up
certain fields from the last row of data, but haven't been able to
figure out how to locate which row is last (with data).
What I'm looking for is a formula that would tell me, in the above data,
that row 4 is the last one with data.
Thanks for any help!
I know that this is not what you asked for exactly, but coupled with
CELL() or COUNTBLANK() function, might allow you to establish the row
number in your situation.
The following allows me to get the last value of the column (F) in
sheet1 (used in my case in a summary table that lists the final value in
a column that lists the running balance of my bank account)...
Assumes the range $F$6: to $F$9633 has continuous data - essentially it
returns the number of rows/cells with data, so will not work if your
array or range has blanks (unless the number is static or can be predicted).
So in your example... COUNTA(A1:A1000) will return 4, knowing that you
start from A1 allows you to extrapolate that the last row is A4.
Simon Cropper - Open Content Creator
Free and Open Source Software Workflow Guides
GIS Packages http://www.fossworkflowguides.com/gis
bash / Python http://www.fossworkflowguides.com/scripting
For unsubscribe instructions e-mail to: email@example.com
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy