KonigTibor
New Member
Imagine a table that contains issues (see the "Issue" column below) and the number of votes submitted in favor ("In favor"), against ("Against") of that issue, as well as the number of voters that were undecided ("Undecided"). I want to generate an array that represents the individual votes: a "For" means 1, an "Undecided" 0, an "Against" -1. I need this array to compute statistical values eg. median and standard deviation. So if "For" = 3, "Undecided" = 1, and "Against" = 2 then the array should be {1, 1, 1, 0, -1, -1}. What formula should I use in the "Vote Array" column of the table? No VBA please.
A sample table can be seen here:
A sample table can be seen here:
Issue | For | Undecided | Against | Vote Array |
Eternal life and free beer | 3 | 1 | 2 | ??? |
Last edited: