I have a list of Cities where my customers come from. how to display only unique values and count numbers of customers from those cities?
example:
Washington
New York
New York
New York
Washington
I need:
New York | 3
Washington | 2
[Solved] Counting duplicates
-
dentopolis
- Posts: 19
- Joined: Mon Sep 23, 2013 2:44 pm
[Solved] Counting duplicates
Last edited by Hagar Delest on Tue Dec 10, 2013 11:10 pm, edited 1 time in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
LibreOffice 7.4
Re: counting duplicates
Add a column header on top, say "Cities"
Select the list including that header cell.
Data>PivotTables>Start...
[X] Pivot table from current selection, [OK]
Drag "Cities" to "Row Fields"
Drag "Cities" to "Data Fields", double-click, choose "Count" as function.
Select the list including that header cell.
Data>PivotTables>Start...
[X] Pivot table from current selection, [OK]
Drag "Cities" to "Row Fields"
Drag "Cities" to "Data Fields", double-click, choose "Count" as function.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
dentopolis
- Posts: 19
- Joined: Mon Sep 23, 2013 2:44 pm
Re: counting duplicates
| Edit: Well, a little late but whatever; |
3.4.1 & 4.1.5 on MS Windows 7 Pro x64