creates rows by market group, columns by system