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

Generate value based on various inputs

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


Joined: 18 May 2012
Posts: 1

PostPosted: Fri May 18, 2012 3:15 am    Post subject: Generate value based on various inputs Reply with quote

Hey guys,

I want to create a spreadsheet for a football game based on teamtalks. Below is a typical example output of what needs to happen:

Overall Teamtalk Squad Mood Match Odds Squad Morale Give talk

Pre-Match Complacent Favorite Good I expect a win


In the first two cells of the second row are values that are selected from a drop down list by the user. So when the user selects pre-match then complacent, then favorite, then good.....the value in the give talk cell should automatically produce I expect a win.

Basically I just want a template formula so that I can return a value based on a number of conditions selectable by the user through list box values. I've worked out how to create list boxes but have no clue about what formula to use.

Below is more detailed set of conditions with the give talk cell being generated by using the various values/strings combinations in the columns. In essence I'm guessing some sort of array needs to be set up so that when a certain combination
of options are selected, a specific string is produced for give talk based purely on what the user has selected for each list box:

Individual Teamtalk Score Half-time overall talk Morale Mood Player Rating Substitute? Squad Status Give talk

Half-Time Drawing Disappointing Good Normal 7.0-7.4 No Senior None

Any ideas peeps?

Cheers!

Mcbgun
Back to top
View user's profile Send private message
ozzie
OOo Advocate
OOo Advocate


Joined: 29 Jul 2010
Posts: 316
Location: victoria

PostPosted: Fri May 18, 2012 4:52 pm    Post subject: Reply with quote

something like
Code:
=IF(SUMPRODUCT((A2=4)*(B2="good")*(C2=8));"win";"lose")

_________________
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
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