OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

FIND ANY TWO EQUAL CELLS, HOW?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
sevalav
OOo Enthusiast
OOo Enthusiast


Joined: 19 Sep 2009
Posts: 119

PostPosted: Mon Nov 22, 2010 4:10 pm    Post subject: FIND ANY TWO EQUAL CELLS, HOW? Reply with quote

Hello,
I need that macro can check column "A" are there any two cells with any equal content.
Any suggestion will be helpful. Thanks in advance.
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Mon Nov 22, 2010 4:28 pm    Post subject: Reply with quote

This is a spreadsheet trivial. No macro needed.
B1 =COUNTIF($A$1:$A$999;$A1)
Copy down
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
sevalav
OOo Enthusiast
OOo Enthusiast


Joined: 19 Sep 2009
Posts: 119

PostPosted: Tue Nov 23, 2010 3:48 pm    Post subject: Reply with quote

I am sorry, but it must be a part of code.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group