Never mind about the summing... I learned that you can do this: sumhi = 0 sumhi += hi Cool! Thanks again.