Hi guys,

I have a scenario. Consider I have a excel sheet and in column p there is any number e.g 1,2,3 etc. Number 1 is occurring 5 times (i.e 5 rows have value 1 in excel sheet), number 2 is occurring 3 times like that. Now I have to create group of rows for these numbers. For group no 1 , will have 5 rows . similarly there will be groups for all these numbers.

Any approach or ideas how to do this?