Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

Just as another option, you can also use "Data | Subtotals", although I
think a pivot table is probably nicer looking.

Let's say you have a simple list of song names in column A. For
some reason this operation seems to expect a header row, and I
didn't see an option not to use one, so make sure you have a
header row above the song names (create a blank row if needed).
Then simply select from the header cell all the way down the column
to include all the songs. Now go to "Data | Subtotals". The first tab
("1st Group") should have "Column A" (or the header name) in the "Group
by" dropdown. Click on "Count" under "Use function", and "Column A" (or
the header name) should become ticked in the "Calculate subtotals for"
list. Check that the checkbox for "Pre-sort area according to
groups" on the "Options" tab is checked. Click "OK", and you should see
the list of song names grouped by each song, with a subtotal and a
grand total.


On Sun, 29 Dec 2013 23:51:52 +0100
Regina Henschel <> wrote:

Hi Keith,

Keith Bates schrieb:
Hi everyone,

I've used Libre Office for years, but I am an absolute newbie as
far as Calc is concerned for anything but the very basics. :)

Here is my problem.

My church has to report to the copyright licence holders the names
of the songs it uses and the number of times each song is used in a
given time period.

The software we use for projecting the words for songs (OpenLP) will
produce the name of each song used in each service. It will
generate a CSV

Obviously it is easy enough to import that into a spreadsheet.

How can I then count the number of times each song is used? I could
sort the table by song title and then count them manually, but I am
guessing there would be some sort of function that automates the

Thanks for any help on this.

Import the csv data into the spreadsheet.
Define a data range for this data including the field names.
Generate a pivot table from it this way:
- drag the field name of the song title to the "Row Fields"
- drag the same field name to the "Data Fields".
- Double click the field name button in the "Data Fields" area and 
change the function from "sum" to "count".

Using a pivot table has the advantage, that you do not need to know 
beforehand, which song titles are contained in the list.

Kind regards

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.