A pivot table would work. Is that possible to use?