Hi Guys,
I have worksheet1 that has data of 8 columns (A-H) and nearly 7000 rows. All data in are sorted according Column D which is also sorted alphabetically.
What I am after is a VBA script that will additionally sort data in Worksheet1 according to Column D, but in this time according to the first and second words of each cell in Column D.
As per uploaded example, all items in Column D that the same first word are moved and sorted in Worksheet2 with an empty row separating each group of data according to that first word.
The same is for Worksheet3 where all items in Column D of Worksheet1 that have the same first two words are moved and sorted with an empty row separating each group of data according to both first and second words.
Items in Column D of Worksheet1 with different first, and first and second words are just ignored to stay in Worksheet1.
Can someone generously help with this matter?
Thanks in advance.list_of_subjects_example.xlsx
Bookmarks