Agree totally with the mvf thing. The constant summing works because the totals represent unique combinations of separate constants. If you don't have numbers such that it is not possible to arrive at a sum in more than one way, then you cannot. If you do, a table of values and their unique sums would be easier to deal with than mapping them out in code. There is a way, using csv in one field, but I think 99.9% of the time it would reflect a poor table design. Why can you not store each numeric value from a list of choices as a separate record, related by some common key field? I think your reasoning would help here, as there might be an easier approach, or an indication that all is not well in the db design.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.