Deleting duplicate records

Discuss the spreadsheet application
Post Reply
trinden
Posts: 3
Joined: Sat Feb 02, 2008 4:04 am

Deleting duplicate records

Post by trinden »

I cannot get this formula to work.What am i doing wrong?Could someone help me please?
=IF(J2=J3;"xxxx";" ")

Chris
 Edit: Hagar: changed the title (was just 'help' :evil:
User avatar
squenson
Volunteer
Posts: 1885
Joined: Wed Jan 30, 2008 9:21 pm
Location: Lausanne, Switzerland

Re: help

Post by squenson »

It works as expected on my PC. Could you be more precise:
- What result do you get (or error message)
- Which version of OOo, OS and language settings (both for OS and OOo)
- You could also attach a sample file (click on "upload attachment" below the submit button when you prepare your answer)
LibreOffice 4.2.3.3. on Ubuntu 14.04
User avatar
Hagar Delest
Moderator
Posts: 32658
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: help

Post by Hagar Delest »

Please read the Survival Guide for the forum. Change your title.

And we need more details of course as said by squenson.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
trinden
Posts: 3
Joined: Sat Feb 02, 2008 4:04 am

Re: help

Post by trinden »

I 'm getting xxxx when i enter the code.I'm not sure which version i have.What's the latest version and could you send me a link?The language setting i have is"Western Europe(windows-1252'winlatin1)I tried to upload the file but it said cvs extention is not allowed.
Thanks for all your help
Chris
User avatar
kingfisher
Volunteer
Posts: 2123
Joined: Tue Nov 20, 2007 10:53 am

Re: help

Post by kingfisher »

If you get that result, J2 and J3 are equal. What values do you see on the input line?
Apache OpenOffice 4.1.9 on Linux
trinden
Posts: 3
Joined: Sat Feb 02, 2008 4:04 am

Re: help

Post by trinden »

Ok,but what i'm trying to do is delete all the duplicate records i have in this particular file,which is very large.It would not let me copy and paste it.What should i do.

Chris
User avatar
kingfisher
Volunteer
Posts: 2123
Joined: Tue Nov 20, 2007 10:53 am

Re: help

Post by kingfisher »

Perhaps the COUNTIF function would help; for example: =COUNTIF($A$1:$A$1000;$A1)

The example assumes that your range is A1:A1000. You would insert that formula in, say, B1 and copy it down to B1000. Any result above 1 would indicate a duplicate entry.
Apache OpenOffice 4.1.9 on Linux
Post Reply