[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [libreoffice-users] Re: CALC - How to count blank cells?
- Subject: RE: [libreoffice-users] Re: CALC - How to count blank cells?
- From: "Dennis E. Hamilton" <email@example.com>
- Date: Wed, 4 Jul 2012 19:52:04 -0700
- To: <firstname.lastname@example.org>
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.
From: Simon Cropper [mailto:email@example.com]
Sent: Wednesday, July 04, 2012 16:46
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
> 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
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.
[ ... ]
For unsubscribe instructions e-mail to: firstname.lastname@example.org
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
|RE: [libreoffice-users] Re: CALC - How to count blank cells?||Tom Davies <email@example.com>|
|[libreoffice-users] CALC - How to count blank cells?||dave wagner <firstname.lastname@example.org>|
|Re: [libreoffice-users] CALC - How to count blank cells?||MiguelAngel <email@example.com>|
|[libreoffice-users] Re: CALC - How to count blank cells?||dave_ <firstname.lastname@example.org>|
|Re: [libreoffice-users] Re: CALC - How to count blank cells?||Simon Cropper <email@example.com>|
- Prev by Date: [libreoffice-users] a little math problem with Calc
- Next by Date: [libreoffice-users] Specialty Dictionaries
- Previous by thread: Re: [libreoffice-users] Re: CALC - How to count blank cells?
- Next by thread: RE: [libreoffice-users] Re: CALC - How to count blank cells?