Deconvoluting a messy table

simontop

New Member
Joined
Jun 7, 2011
Messages
6
I have a sheet done by a coworker where each row looks like this (aa dd ee ff are all within the same cell):

A B C
aa bb cc
dd
ee
ff

The values in column A are a continuous string of expressions of identical length, alligned within the column by setting the column width.

I need to come up with something like this:
A B C
aa bb cc
dd bb cc
ee bb cc
ff bb cc

Essentially generate one separate row for each expression in column A and fill the rows with the various values of A together with the corresponding values in the other columns.

All my VBA achieved was generating the correct number of empty lines plus splitting the string of expressions into rows with one expression per cell.

Any ideas how to work on here?
Am I approaching this completely wrong?

I would highly appreciate an adaptable macro approach since there's a huge number of similar sheets in my company that need serious streamlining.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,224,585
Messages
6,179,702
Members
452,938
Latest member
babeneker

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