@dave_
When I have an expanding set of rows, I include a blank buffer row after the last one, and I
include that row in any ranges. If there is a row that will always be outside the range, before
the beginning and after the end, and have no data, I will anchor my ranges on that spread.
Then when adding rows, I always use the insert rows feature so that even for new rows on the end of
the data, an Insert Row with the buffer row selected will make a new one above the buffer and
automatically included in the range. (Of course, inserting at other internal rows of the
selection also works just fine to expand the range of the selection.)
But that is for data that I build up incrementally. I don't know what your use case is. More
complex cases involving special cells with unique flag values take more involved work and I've
never needed to do that.
- Dennis
-----Original Message-----
From: Simon Cropper [mailto:simoncropper@fossworkflowguides.com]
Sent: Wednesday, July 04, 2012 16:46
To: users@global.libreoffice.org
Subject: Re: [libreoffice-users] Re: CALC - How to count blank cells?
On 05/07/12 05:22, dave_ wrote:
Thanks to both Simon and Miguel for their solution (they both works).
One more question and this problem is solved for good.
I notice I give a range larger than the actual data (rows) needed.
How can I limit the range based on the last row that has data?
This will give me an actual count of blanks cells within the rows being
added.
Again, thanks for the help or should I say "for the support".
--
View this message in context:
http://nabble.documentfoundation.org/CALC-How-to-count-blank-cells-tp3993572p3993714.html
Sent from the Users mailing list archive at Nabble.com.
It is a bit unclear what you are trying to do. It appears you are trying
to establish the number of rows with data in them for some sort of
import/reiteration routine.
Maybe what you should be doing is counting how many values in your range
using COUNTA(), DCOUNT() or DCOUNTA() rather than looking for the number
of blanks, the last cell used and presumably the difference between
these two values.
--
Cheers Simon
[ ... ]
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: 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.