this post was submitted on 27 Oct 2023
4 points (100.0% liked)
LibreOffice
460 readers
7 users here now
LibreOffice is a powerful free and open source office suite, used by millions around the world.
- Ask and Answer
- LibreOffice
- LibreOffice Community, get involved
- The Document Foundation, TDF
- Matrix LibreOffice Space
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Add a helper column concatenating cell contents (in the following example of column A and B, multiple cells or ranges are possible, see TEXTJOIN() online help) with a delimiter that does not occur in data, here the
|
vertical line or pipe symbol:C1:
=TEXTJOIN("|";0;A1:B1)
Copy-paste or pull down formula C1 to the desired range of rows.
For each row count the number of occurrences, assuming data in rows 1:99 here:
D1:
=COUNTIF(C$1:C$99;C1)
Copy-paste or pull down formula D1 to the desired range of rows.
Filter on column D >1, or sort data in columns A:D on column D descending and at the bottom delete rows with value 1 in column D.