cross tab to flat file VBA

Speed boy

New Member
Joined
Apr 2, 2002
Messages
29
Keep getting close, just not quite yet. I have the following cross tab table that I would like to convert to a flat file. (pivot table ready)

The labels that begin w/ > will not contain data, but will be needed as metric labels for the data below each one. As long as I keep these headings out of the data I have multiple code scenarios that do work. These sub headings are throwing me a curve.

Jan Feb Mar Apr May Jun
>Exposure(measure label)
Twitter Impressions 25 55 45 65 75 85
Total Twitter Followers 100 125 145 165 200 212
>Influence (measure label)
Average Klout Score 45 48 50 45 35 25
Site Visits from Influencers 120 145 155 165 155 145
>Engagement (measure label)
Retweets
Mentions
Hashtag Mentions
Twitter Website Visits Organic
Twitter Website Visits Campaign
Twitter Blog Visits Organic
Twitter Blog Visits Campaign
Link Clicks
>Conversion (measure label)


Post conversion cross tab to flat file:

>Exposure Twitter Impressions Jan 25
>Exposure Twitter Impressions Feb 55
>Exposure Twitter Impressions Mar 45
>Exposure Twitter Impressions Apr 65
>Exposure Twitter Impressions May 75
>Exposure Twitter Impressions Jun 85
>Exposure Total Twitter Followers Jan 100
>Exposure Total Twitter Followers Feb 125

and so on...

Appreciate the feedback as usual, Speed Boy
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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