A for loop would work...
$total = 0;
for ($i=0; $i < sizeof($array); $i++) {
$total = $total + $array[$i][10];
}
Don't quote me on that, I just wrote it while eating lunch. Of course replace $array[$i][10] with the element you want. That of course assumes you are using a 2D array already. If not, just throw in an explode for each of your rows and grab the last value.
$columns = explode(",", $array[$i]);
$total = $total + $columns[10];
Hope that helps, sorry if I misunderstood.
Tim Frank