Repeated Column Report

I need to make this type of Repeated Column Report. And It need to go for a new collumn set if the Grade Changes. What is the possible methods for this. Can someone provide the codes/scripts/etc for this.