At 00:03 19/09/2012 -0500, Paul Anderson wrote:
I have a LibreCalc spreadsheet containing binomial data for which I
would like to create a final summed "score" (in Column T) based upon
a manually specified score index.
Columns F, G, H, J, K, M, N, O, P, O, and R contain pure binomial
information (0 or 1)
Columns I, L, and S contain multiple numbered responses:
I = 0,1,3
L = 0,1,2,3
S = 0,1,2
I want to create a final score (Column T) based upon numerical
responses (in Columns F-S)
Generally, scoring should happen like this for binomial answers,
though some responses are weighted more than others:
if F*=0 then T*=T*+0; else if F*=1 then T*=T*+1;
Those formulae are recursive, the second suggesting that T* should
increase without limit. Whatever it is, you apparently want it to be
one more. Oh, but now that it's increased you want it to be larger
again, and so on. Perhaps you mean that T* should be something else
- let's call it "X" - plus whatever. In that case, your two
requirements reduce to T*=X+F*.
Generally, scoring should happen like this for the columns
containing multiple answers, though again, some responses are
weighted more than others:
if I*=0 then T*=T*+0; if I*=3 then T*=T*+2;
You can do this in a number of ways:
o Using the IF() function: T*=IF(I*=3;X+2;X)
o You could construct a two-column table mapping the possible values
in I* to the values you wanted incorporated to the T* value. Against
0 for I* would be the value 0, against 3 the value 2, together with
whatever other values you needed. You could refer to these mapped
values in your T* formula, possibly using VLOOKUP().
o You could interpolate an additional column, with a suitable formula
to calculate from your I* values those you need to add in the formula
in T*. Such a column could be hidden if you prefer.
I trust this helps.
Brian Barker
--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted