Average on table's column values?

Hi, I ran into a problem and I can't find the solution to it anywhere.

So, I'm trying to get the average of my table's column values. So far, I've done it in the following way:

Change Attribute "average" to (tableCellValue( game.My_table ,1,1)+tableCellValue( game.My_Table ,2,1)+tableCellValue( game.My_Table ,3,1))/3

In this example I have three rows so it's easy to write the "code", but my concern is that I would like to have 10-20 rows so is there any simplier way to do this? And if not, can the Gamesalad handle that kind of long code without performance issues?

Thanks in advance! :)

Comments

Sign In or Register to comment.