Thread:SlyCooperFan1/@comment-26183061-20151216021837/@comment-26183061-20151224225508

Not sure if the templates are based on Excel tables or not, but in Excel the formula wouldn't be too complicated. A "Calculate Cost" button would simply take the totals from, say, cell "P1" (where P would be the column for Price, and 1 would be the row for Level 1) to "P[x]", where X represents the level chosen by the user. So if you click the Calculate Cost button and enter "17" for the level, you'd get a cumulative total of the prices from Lv1 thru Lv17.

That said, I have no idea how the templates and tables (or the formulas) are comprised in a Wiki page, so this might all be moot. It might be simpler to simply make the data exportable as Excel data tables.