table transpose help

josh_m

Board Regular
Joined
Mar 26, 2009
Messages
81
i have a report that is getting to wide in excel to be manageable. it is a "punch-list" of sorts that lists known issues with various stores. it lists 10 issues per location, and each issue has 4 columns associated with it, so I am now 40+ columns wide.
if anyone could help with a macro that could rearrange this report, it would save me a lot of copy/paste time.

additional notes: when the report is exported to excel, it is the only active sheet in the workbook. i guess the code would need to insert sheet 2 and paste the data there

thanks a lot for any help you can give

It basically looks like this:
HTML:
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}


storeCityStatetypedateissue #1quantity #1resolution #1ordered #1issue #2quantity #2resolution #2ordered #2REPEATING ALL THE WAY TO #10issue #10quantity #10resolution #10ordered #10aknoxvilletnlarge1/1/12             bhoustontxsmall1/2/12             cmiamiflmedium1/3/12             dromegasmall1/4/12

i would like to get it to look like this to be readable on the screen and where it can print nicely
HTML:
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}


storeCityStatetypedateissuequantityresolutionorderedaknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    aknoxvilletnlarge1/1/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12    bhoustontxsmall1/2/12
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
to clarify, this is what it looks like...

storeCityStatetypedateissue #1quantity #1resolution #1ordered #1issue #2quantity #2resolution #2ordered #2REPEATING ALL THE WAY TO #10issue #10quantity #10resolution #10ordered #10
aknoxvilletnlarge1/1/12
bhoustontxsmall1/2/12
cmiamiflmedium1/3/12
dromegasmall1/4/12

<tbody>
</tbody>

this is how i would like it to look...
storeCityStatetypedateissuequantityresolutionordered
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
aknoxvilletnlarge1/1/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12
bhoustontxsmall1/2/12

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,886
Messages
6,122,093
Members
449,064
Latest member
Danger_SF

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