orgCol = x; newCol = x + 1; InsertCol(newCol); currentOrgValue = ""; currentNewValue = 0; for (y = 1; y <= Bottom; y++){ if ([orgCol,y] != currentOrgValue) { currentOrgValue = str([orgCol,y]); currentNewValue++; } [newCol,y] = currentNewValue; }