At first glance it looks like a Pivot Table would do the job.
Perhaps use code to create a PT in sheet1?
EDIT http://contextures.com/CreatePivotTable.html
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
|