Merge First Column of Data to Create a Grouping of Subdata

Jordan Ansley

New Member
Joined
Aug 26, 2015
Messages
1
I have a set of data in a column consisting of a material listed with a corresponding subset of data listed in the next column.



These subsets vary in dimension and I would like to merge the values in the first column so that there will be one preceding cell for each matching subset of corresponding data.



The VBA script that I am working on is already confusing and this is confusing me even more. I cannot figure out how to obtain an automatic loop that will find where the next row has a value, then merge and so forth.... Please Help. Thanks.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Jordan Ansley,

Welcome to the MrExcel forum.

1. What version of Excel, and, Windows are you using?

2. Are you using a PC or a Mac?


Screenshots will probably not work correctly because of the merged cells.

The following is a free site:

You can upload your workbook to (the BLUE link-->) Box Net ,
sensitive data changed


mark the workbook for sharing

and provide us with a link to your workbook.


3. And, can we see your present macro code?

When posting VBA code, please use Code Tags - like this:

[code=rich]

'Paste your code here.

[/code]
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,935
Members
449,195
Latest member
Stevenciu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top