Maybe 'cause I have not such good sight on your project but after reading your description
I believe it should be achieved without mergings cells in particular if a blank row is left between two of what you call groups
As a reminder there is a grouping feature within Excel.
For a clear sight then maybe later with a raw worksheet as it is before
and accordingly its result worksheet as it must be after using the VBA procedure
But first the question is what is exactlly the purpose of using Excel according to what it was designed for ?
As obviously all columns purpose must be known, Excel is not a guessing challenge product but just a spreadsheet application
where guessing as no place so if the worksheet design is well done with warming some neurons
so no need to over complicate its use neither the users work life.
And far above all the worst idea is to use Excel with big data as a database software, just a waste of time
Using Excel to just store data without needing its specific calculation and other features has no sense.
In particular in a pro context as Excel is inconstant, unsafe, not secure, 100 times slower than a database software,
the reason why it needs a serious backup strategy more than any other pro application.
In particular cases the entry can be reduced to a specific worksheet form, easy just protecting it.
Some prefers to use an UserForm which can be a mess, a source of issues
And if each column is well defined according to its content - easy with a clear enough header - there is an Excel / VBA feature
which manages the entry like a 'vertical' UserForm needing just a single codeline ! Excel basics making the life easier
Bookmarks