Bug Hunting Session
Bug 85976 - Feature Request - Add "Remove Duplicates" button to LibreOffice / filtering showing duplicates is too complicated
Summary: Feature Request - Add "Remove Duplicates" button to LibreOffice / filtering ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 109519 124758 (view as bug list)
Depends on:
Blocks: Calc-Enhancements Data-Filter
  Show dependency treegraph
 
Reported: 2014-11-06 17:31 UTC by Mr. Bugz
Modified: 2019-11-11 10:04 UTC (History)
14 users (show)

See Also:
Crash report or crash signature:


Attachments
Remove Duplicates button in Data Ribbon in Excel 2016 (171.06 KB, image/png)
2018-10-22 13:03 UTC, Pedro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mr. Bugz 2014-11-06 17:31:54 UTC
Excel has a feature where you can remove duplicates with a single click. This would be very helpful to have in LibreOffice as well.
Comment 2 libreoffice 2014-11-24 17:54:39 UTC
Yes, that is what I was looking for. But I still think it should be an optional button/dialog available on the main toolbar without having to go through all that.

Like this:
https://thinkandbegin.files.wordpress.com/2012/05/remove-dup-2.png
Comment 3 m.a.riosv 2015-07-29 22:02:51 UTC
*** Bug 92990 has been marked as a duplicate of this bug. ***
Comment 4 Erelyn Alves 2015-07-31 15:21:38 UTC
Below also another program that easily performs the procedure.

WPS Spreadsheets
http://pt-br.tinypic.com/r/2h663gj/8
Comment 5 Mike Kaganski 2018-09-07 08:20:10 UTC
Additional detail: in Excel, the function *removes* duplicates in-place, while filter in LO only allows hiding in-place, or removing by copying to a different location. So actually, LO lacks the functionality.
Comment 6 Roman Kuznetsov 2018-09-07 08:22:39 UTC
(In reply to Joel Madero from comment #1)
> Like this:
> http://milospjanic.blogspot.com/2011/10/how-to-remove-duplicates-in-
> libreoffice.html ?

IMHO, in Excel it made more clear for users. Different dialogue with very simple options. And in result in Excel we have only rows without any duplicates and without copying of result to another range...
Comment 7 Cor Nouws 2018-10-18 14:42:37 UTC
*** Bug 109519 has been marked as a duplicate of this bug. ***
Comment 8 Pedro 2018-10-22 13:01:28 UTC
I would also like to request that "Remove Duplicates" is added to Calc.
In Excel, removing duplicates from a column is a one click action. In Calc I have to go through multiple steps to obtain this. It's a waste of time if it's encessary to do it in multiple spreadsheets, it's a waste of time to make a macro and other spreadsheets offer this by default.

There is an extension that adds this function to Calc so I propose that this is added to the default installation, that a .uno command is created for this button to be integrated in the Notebookbars as well.

https://extensions.libreoffice.org/extensions/remove-duplicates
Comment 9 Pedro 2018-10-22 13:03:37 UTC
Created attachment 145904 [details]
Remove Duplicates button in Data Ribbon in Excel 2016
Comment 10 Pedro 2018-10-22 13:08:28 UTC
Well, that extension apparently does not work in 6.1
Comment 11 Pedro 2018-10-30 18:06:45 UTC
Dear Markus and Eike,

Would it be possible to use the code on the extension to provide this function by default on Calc?

It is a really useful data manipulation option that Calc should have by default like most Office suites have.
Comment 12 Thomas Lendo 2018-11-06 08:45:42 UTC
*** Bug 73712 has been marked as a duplicate of this bug. ***
Comment 13 Pedro 2018-12-18 12:25:57 UTC
Well, Muhammet Kara after checking the extension confirmed that it is written in Basic, meaning that it is a macro.

If someone would translate it to C++, it would be awesome.
Comment 14 V Stuart Foote 2019-04-15 19:37:25 UTC
*** Bug 124758 has been marked as a duplicate of this bug. ***
Comment 15 Roman Kuznetsov 2019-11-09 22:42:18 UTC
(In reply to Pedro from comment #13)
> Well, Muhammet Kara after checking the extension confirmed that it is
> written in Basic, meaning that it is a macro.
> 
> If someone would translate it to C++, it would be awesome.

Now there is faster extension https://extensions.libreoffice.org/extensions/remove-duplicates-fast for it
Comment 16 Pedro 2019-11-11 10:03:13 UTC
Couldn't this extension be added by default to LibreOffice?
Comment 17 Pedro 2019-11-11 10:04:29 UTC
(In reply to Roman Kuznetsov from comment #15)
> (In reply to Pedro from comment #13)
> > Well, Muhammet Kara after checking the extension confirmed that it is
> > written in Basic, meaning that it is a macro.
> > 
> > If someone would translate it to C++, it would be awesome.
> 
> Now there is faster extension
> https://extensions.libreoffice.org/extensions/remove-duplicates-fast for it

Couldn't your extension be added by default to LibreOffice?
Also, please consider adding support for it to create its own tab in the Tabbed Bar UI.