Thank you, Rémy.
This is the solution I was hoping for. It works without requiring a prior data 
sort.

I have previously used conditional formatting for other reasons but hadn't 
noticed the 'duplicate' option therein. Strange that it wasn't mentioned in the 
Calc online help.

Philip

On 12/11/2020 17:06, Remy Gauthier wrote:
Hello.
You can highlight the column and select Format > Conditional >
Condition > [Cell Value] [is duplicate] (from the drop downs) and
select a style to apply (Warning is probably a good one). This will set
all duplicate entries in that style (if you selected Warning, the text
will be red).

You can also remove duplicates with Data > More Filters > Standard
Filters; if your data is in column A, for example, then you go [Column
A] [=] [Not Empty] (from the drop downs), and then in the options: No
duplications, Copy results to [A cell address].

I hope this helps.
Rémy.

Le jeudi 12 novembre 2020 à 14:55 +0100, Philip Jackson a écrit :
I sometimes import a load of data into a column and am looking for a way to 
detect duplicates. The data is mostly alpha but could contain some digits.

At present, I sort the data in the column alphabetically and then manually 
inspect for duplicates. But with some data, I don't want to do an alpha sort.

I don't find any way in Calc's menus to do this and the online help gives 
nothing for 'duplicates'. Maybe someone has an idea of a regex that could be 
used ?

--
To unsubscribe e-mail to: users+unsubscr...@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

Reply via email to