[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libreoffice-users] remove duplicate rows in calc?


Is the data a CSV or text file.
Could you pre-process it, i.e.
with awk '!seen[$0]++' file.txt (from
https://stackoverflow.com/questions/1444406/how-to-delete-duplicate-lines-in-a-file-without-sorting-it-in-unix)
or awk '!_[$0]++' file (from
https://www.unix.com/shell-programming-and-scripting/146404-command-remove-duplicate-lines-perl-sed-awk.html)

steve

On 30/06/2020 06:40, Johnny Rosenberg wrote:
> Here's one suggestion that I found:
> https://ask.libreoffice.org/en/question/53569/delete-duplicates-in-calc/
>
> Otherwise I guess you have to write a macro.
>
>
> Kind regards
>
> Johnny Rosenberg
>
> Den mån 29 juni 2020 kl 19:20 skrev Dave Stevens <geek@uniserve.com>:
>
>> There's a bug in the storage layout of some data I'm getting from an
>> archive that results in duplicate rows in Calc 6.4, adjacent in all the
>> cases I've seen. Is there a simple way to remove duplicates in this
>> case? Not all rows are duplicates but as high as 40%.
>>
>> Dave
>>
>> --
>> Affectionate tactile stimulation is a primary need, a need which must
>> be satisfied if the infant is to develop as a healthy human being.
>>
>> And what is a healthy human being? One who is able to love, to work, to
>> play, and to think critically and unprejudicially.
>>
>> -- Ashley Montagu – Touching, The human significance of the skin. 2e
>> 1978
>>
>> --
>> To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
>> Problems?
>> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
>> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
>> List archive: https://listarchives.libreoffice.org/global/users/
>> Privacy Policy: https://www.documentfoundation.org/privacy
>>



--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

References:
[libreoffice-users] remove duplicate rows in calc?Dave Stevens <geek@uniserve.com>
Re: [libreoffice-users] remove duplicate rows in calc?Johnny Rosenberg <gurus.knugum@gmail.com>
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.