Macro to shift range cof cells down

captainexcel

New Member
Joined
Mar 10, 2012
Messages
3
I've got to change the format of this report so each new category gets its own row and the children entities appear on the next row down. It's hierarchial.
Take a look at the before/after for what I'm trying to do. I'd appriciate a macro but if theres some other solution I'm missing let me know.

Before:
before.jpg


After:

after.jpg
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
What is the logic that determines the difference between just one word constituting a category, and more than one word occupying more than one cell. Example, I see a break at Innovation Strategy (2 words 2 cells) but also for Knowledge (1 cell). How would anyone not familiar with this operation know where to draw the line at the proper wording or phrase, in order to push down for a new row.
 
Upvote 0
I see what you mean. I screwed it up a bit when I did it manually so the after picture is a little off. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
It's not about words or phrases, it's more about the relationship of the data. In the before photo you can infer that each column is a subset of its parent (the column to its left), save for the first column (Perspective) which has no parent. <o:p></o:p>
Objective is the parent of Area_Objective which is the parent of Initiative_Description which is the parent of Goal Name.<o:p></o:p>
I'm trying to create a 1-M relationsip across multiple columns with each parent being the sole occupier of its row and children appearing on the subsequent rows, again, each value lies in it's own row and no row contains more than one value.
 
Upvote 0

Forum statistics

Threads
1,215,616
Messages
6,125,865
Members
449,266
Latest member
davinroach

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