| Edit: Changed subject, was Compare values in one columns and output value into other columns Make your post understandable by others -- MrProgrammer, forum moderator |
[Solved] Split values in column into «uniques» and «duplicates»
[Solved] Split values in column into «uniques» and «duplicates»
Hello, so I have column A with a list of names, and need to output duplicates into column C and non-duplicates into column D
Last edited by MrProgrammer on Mon Jan 02, 2023 4:48 am, edited 2 times in total.
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
Reason: Tagged ✓ [Solved] -- MrProgrammer, forum moderator
Open Office 4.1.13 on Windows 10 Pro 64-bit
Re: Compare values in one columns and output value into other columns
The Filter feature has an option: "No duplications". You can filter your data such way: every existing value will be appeared once only in the result cell range.
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
- MrProgrammer
- Moderator
- Posts: 5468
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Compare values in one columns and output value into other columns
This attachment provides formulas to accomplish separation of data into two lists:
• Unique values
• Duplicate values
Cells marked in yellow contain formulas which do not match those in the remainder of the column. If you need any additional assistance attach a spreadsheet demonstrating the difficulty (remove confidential information then use Post Reply, not Quick Reply, and don't attach a picture instead of the spreadsheet itself). I will not help further unless you attach.
[Tutorial] The SUMPRODUCT function
[Tutorial] Ten concepts that every Calc user should know
If this solved your problem please go to your first post use the Edit ☐ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
Re: Compare values in one columns and output value into other columns
Apply filter Duplicate = True or False
Copy filtered range.
Paste filtered range.
Copy filtered range.
Paste filtered range.
- Attachments
-
- t109123.ods
- (18.11 KiB) Downloaded 97 times
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
Re: Compare values in one columns and output value into other columns
In this one, Mom, Dad don't show in the other columns Jo shows in both columns
Open Office 4.1.13 on Windows 10 Pro 64-bit
- MrProgrammer
- Moderator
- Posts: 5468
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Compare values in one columns and output value into other columns
You have two errors in 202212241005v2.ods.
• In column B your formulas reference range A$2:A$10 but your data extends to cell A13.
• In column C your formulas reference range B$2:B$10 but your data extends to cell B13.
Dad, Mom, and Jo are in rows 11, 12, and 13.
Fix those problems and see if the spreadsheet works better for you. Either set the end of the ranges to row 13 or, if you don't know how many rows you'll have, pick a number like 9999. Read the Ten Concepts tutorial if you don't understand why the formulas use $ in some places. It will difficult to use spreadsheets effectively until you understand the $ syntax.
If this solved your problem please go to your first post use the Edit ☐ button and add [Solved] to the start of the Subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).