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.

Paul



On Sun, 29 Dec 2013 23:51:52 +0100
Regina Henschel <rb.hensc...@t-online.de> 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
> > counting.
> >
> > 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".
> OK
> 
> 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
> Regina
> 
> 


-- 
To unsubscribe e-mail to: users+unsubscr...@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

Reply via email to