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]Which Function to use MAX and????

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


Joined: 06 Aug 2011
Posts: 12

PostPosted: Wed Feb 15, 2012 7:09 pm    Post subject: [SOLVED]Which Function to use MAX and???? Reply with quote

Hello and Thanks:

In cells A1-A10 and C1-C10 are numbers. in cells B1-B10 and D1-D10 are times. In cell E10 I need a formula to find the max number in cells A1:A10 and C1:C10. In cell F10 I need the adjacent cell that has the max number. Say if A2 has the max number 21 and the cell next to it B2 has "0:12:23" then 21 should be returned in cell E10 and "0:12:23" should be returned in cell F10. Confused

Thank You
_________________
open office 3.2 on Ubuntu 10.10


Last edited by rjshen43 on Thu Feb 16, 2012 7:47 am; edited 1 time in total
Back to top
View user's profile Send private message
ken johnson
Super User
Super User


Joined: 23 Apr 2009
Posts: 2032
Location: Sydney, Australia

PostPosted: Wed Feb 15, 2012 7:21 pm    Post subject: Reply with quote

Try...
Code:
=MAX(A1:A10;C1:C10)
in E10, and...
Code:
=IF(ISNUMBER(MATCH(E10;A1:A10;0));INDEX(B1:B10;MATCH(E10;A1:A10;0));INDEX(D1:D10;MATCH(E10;C1:C10;0)))
in F10.

Ken Johnson
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
rjshen43
General User
General User


Joined: 06 Aug 2011
Posts: 12

PostPosted: Thu Feb 16, 2012 7:48 am    Post subject: Reply with quote

Thanks works great!!!
_________________
open office 3.2 on Ubuntu 10.10
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