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

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
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,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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