Calculating indexed columns.