{"id":2500,"date":"2020-12-11T21:29:29","date_gmt":"2020-12-11T21:29:29","guid":{"rendered":"https:\/\/linuxways.net\/?p=2500"},"modified":"2020-12-11T21:29:32","modified_gmt":"2020-12-11T21:29:32","slug":"how-to-remove-duplicates-in-libreoffice","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/centos\/how-to-remove-duplicates-in-libreoffice\/","title":{"rendered":"How to Remove Duplicates in LibreOffice"},"content":{"rendered":"<h2><strong><strong>Introduction<\/strong><\/strong><\/h2>\n<p>LibreOffice Calc is a powerful spreadsheet program that can be used to store, analyze, and manage datasets for any particular project. Further, you can also manipulate the data and perform various operations and calculations. However, sometimes while dealing with large datasets, you often come across a common issue which is the duplication of values. Duplication can occur in various ways as it can occur in a single column or multiple columns or even in an entire row.<\/p>\n<p>Duplicate values can make your calculations inaccurate, can cost you a considerable amount of money, can result in sending multiple emails to a single person, etc. Luckily, with LibreOffice advanced filter tool, you can easily remove these duplicate values from your data.<\/p>\n<p><strong>In this post, we are going to show you how to remove the duplicates in LibreOffice using <\/strong>the <strong>Advanced Filter<\/strong> tool. The advanced filter tool in LibreOffice Calc basically hides the data instead of removing it. Let&#8217;s see how it works!<\/p>\n<h2><strong>Remove Duplicates in LibreOffice from a Single Column<\/strong><\/h2>\n<p>Here is the sample data having duplicate values. We will remove the duplicate values from its first column.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"422\" class=\"wp-image-2501\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-176.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-176.png 489w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-176-300x259.png 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/strong><\/p>\n<p>1. Open LibreOffice Calc program. Press the super key and type <em>libreoffice calc <\/em>in the search box. From the search results, click <strong>LibreOffice<\/strong> Calc to open it.<\/p>\n<p>2. Load the file or copy-paste the data from which you want to remove the duplicates.<\/p>\n<p>3. Then select the data range which in our case is the first column.<\/p>\n<p>4. Now, from the top menu bar, go to <strong>Data &gt; More Filters &gt; Advanced Filter<\/strong>.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"911\" height=\"540\" class=\"wp-image-2502\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-177.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-177.png 911w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-177-300x178.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-177-768x455.png 768w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/strong><\/p>\n<p>5. The following <strong>Advanced Filter<\/strong> dialog will appear. Click the icon in front of <strong>Read Filter Criteria From<\/strong> (also highlighted by arrow) and then using the mouse select the range of cells you want to apply filter. You can also enter the cell values to select the desired range. In our example, to select the cell range from <strong>A2<\/strong> to <strong>A14<\/strong> in <strong>sheet1<\/strong>, you can type <strong>$Sheet1.$A$2:$A$14<\/strong> in the <strong>Read Filter Criteria From<\/strong> field.<\/p>\n<p>After selecting the desired range, press <strong>Enter<\/strong>.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"914\" height=\"543\" class=\"wp-image-2503\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-178.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-178.png 914w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-178-300x178.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-178-768x456.png 768w\" sizes=\"auto, (max-width: 914px) 100vw, 914px\" \/><\/strong><\/p>\n<p>Now in the <strong>Advanced Filter<\/strong> dialog, click <strong>Options<\/strong> to expand the menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"517\" class=\"wp-image-2504\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-179.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-179.png 909w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-179-300x171.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-179-768x437.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/p>\n<p>Then under the <strong>Options<\/strong>, check the <strong>No duplications<\/strong> checkbox. Then click <strong>OK<\/strong> to apply the filter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"902\" height=\"596\" class=\"wp-image-2505\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-180.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-180.png 902w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-180-300x198.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-180-768x507.png 768w\" sizes=\"auto, (max-width: 902px) 100vw, 902px\" \/><\/p>\n<p>Now all the duplicates within the defined range (first column) will be removed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"457\" class=\"wp-image-2506\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-181.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-181.png 905w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-181-300x151.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-181-768x388.png 768w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/p>\n<h2>Remove Duplicates in LibreOffice <strong><strong>from Multiple Columns<\/strong><\/strong><\/h2>\n<p>Now, we will remove duplicates from multiple columns or you can say from an entire row. Following is our sample data set with duplicate values.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"508\" height=\"455\" class=\"wp-image-2507\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-182.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-182.png 508w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-182-300x269.png 300w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/p>\n<p>1. Open LibreOffice Calc program. Press the super key and type <em>libreoffice calc <\/em>in the search box. From the search results, click <strong>LibreOffice<\/strong> Calc to open it.<\/p>\n<p>2. Load the file or copy-paste the data from which you want the duplicates to be removed.<\/p>\n<p>3. Then select the data range which in our case is the whole data.<\/p>\n<p>4. Now, from the top menu bar, go to <strong>Data &gt; More Filters &gt; Advanced Filter<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"912\" height=\"630\" class=\"wp-image-2508\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-183.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-183.png 912w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-183-300x207.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-183-768x531.png 768w\" sizes=\"auto, (max-width: 912px) 100vw, 912px\" \/><\/p>\n<p>5. The following <strong>Advanced Filter<\/strong> dialog will appear. Click the icon in front of <strong>Read Filter Criteria From<\/strong> (also highlighted by arrow) and then using the mouse, select the range of cells you want to apply filter. You can also enter the cell values to select the desired range. In our example, to select the cell range from A2 to C15 in sheet1, you can type $Sheet1.$A$2:$C$15 in the <strong>Read Filter Criteria From<\/strong> field.<\/p>\n<p>After selecting the desired range, press <strong>Enter<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"625\" class=\"wp-image-2509\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-184.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-184.png 906w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-184-300x207.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-184-768x530.png 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/p>\n<p>Click <strong>Options<\/strong> to expand the menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"567\" class=\"wp-image-2510\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-185.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-185.png 904w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-185-300x188.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-185-768x482.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/p>\n<p>Now under the <strong>Options<\/strong>, check the <strong>No duplications<\/strong> checkbox. Then click <strong>OK<\/strong> to apply the filter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"625\" class=\"wp-image-2511\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-186.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-186.png 909w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-186-300x206.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-186-768x528.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/p>\n<p>Now all the duplicates within the defined range will be removed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"909\" height=\"567\" class=\"wp-image-2512\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-187.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-187.png 909w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-187-300x187.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-187-768x479.png 768w\" sizes=\"auto, (max-width: 909px) 100vw, 909px\" \/><\/p>\n<p>As already discussed in the Introduction that <strong>Advanced Filter<\/strong> in LibreOffice calc does not remove the duplicates but only hides them. For this reason, you can also copy the filter data to some other cells while leaving the original data as default. To do so, check the <strong>Copy results<\/strong> <strong>to <\/strong>checkbox<strong>, <\/strong>and in the corresponding field, enter the location of the new cell where you want to copy the filtered data (data with duplicates removed).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"475\" height=\"341\" class=\"wp-image-2513\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-188.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-188.png 475w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-188-300x215.png 300w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/p>\n<p>The filtered data will be copied to other cells in the same sheet as shown below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1128\" height=\"648\" class=\"wp-image-2514\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-189.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-189.png 1128w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-189-300x172.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-189-1024x588.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-189-768x441.png 768w\" sizes=\"auto, (max-width: 1128px) 100vw, 1128px\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>Removing duplicate entries is necessary to clean up the data. By following the above procedure, you can easily get rid of duplicates from either the single column or from the multiple columns in LibreOffice.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction LibreOffice Calc is a powerful spreadsheet program that can be used to store, analyze, and manage datasets for any particular project. Further, you can also manipulate the&hellip;<\/p>","protected":false},"author":4,"featured_media":2515,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,4,5,83,2],"tags":[106,20],"class_list":["post-2500","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-debian","category-mint","category-opensuse","category-ubuntu","tag-duplicates","tag-libreoffice"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=2500"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2500\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/2515"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=2500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=2500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=2500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}