I have a data set that has multiple record per customer. Each row has a model number. I want to turn all model numbers in the set into columns to calculate the number of models each customer has along with a total. I can do this now by hard coding the model numbers.But I would rather this be a dynamic and grow as camera models added or dropped. Any help or insight would be greatly appreciated
Starting Table:
Customer # Model# Mac #
123 Cam320 1234bbfgdv
123 Cam320 12567fkrl4
453 Cam110 574446nng3
453 Cam880 578455mmh3
453 Cam320 445445rtsy
Output
Customer # Cam110 Cam320 Cam880 Total
123 0 2 0 2
453 1 1 1 3