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

[solved] a function like MODE for text

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
robertkraus
Newbie
Newbie


Joined: 13 May 2010
Posts: 4

PostPosted: Sat May 29, 2010 11:11 am    Post subject: [solved] a function like MODE for text Reply with quote

I am searching for a function in calc that checks the contents of cells in a range and returns me the most abundant entry. I searched for a while until I hit MODE. But this only works with numbers. What is a function like that for text?

What I have looks like this

Code:

A A G G T G A
A A A C C T -
- A T C C T -
A A A C C T -


Now I'd like to get a row that returns me the msot abundant character per column. A row like so as result:

Code:

A A A C C T -


Last edited by robertkraus on Sat May 29, 2010 2:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Sat May 29, 2010 1:11 pm    Post subject: Reply with quote

Try =CHAR(MODE(CODE(A1:A3)))
Back to top
View user's profile Send private message
robertkraus
Newbie
Newbie


Joined: 13 May 2010
Posts: 4

PostPosted: Sat May 29, 2010 2:40 pm    Post subject: Reply with quote

That's a cool trick! I am lucky that I only count over single letters Cool
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 Calc 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