Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2014, 07:58 AM
brunssl2 brunssl2 is offline Macro for Columns to Row Data Windows XP Macro for Columns to Row Data Office 2003
Novice
Macro for Columns to Row Data
 
Join Date: Apr 2014
Posts: 9
brunssl2 is on a distinguished road
Default Macro for Columns to Row Data


I have Excel data in an unusable format for upload to a system. I need to replicate each row of data, but also convert select columns of data into rows.

In the attached file, I have two sample rows of data and a row of headers in the Current Data tab.

Columns A thru V need to be repeated in new rows to align with converting Columns W thru AR into a single column, but broken out by rows to align with the newly repeated rows for Columns A thru V.

In the Desired Data tab, you can see the results I would like as described above.

I'm not an expert in developing Macros, but this is something that would be repeated monthly for several thousand rows of data, initially.
Attached Files
File Type: xlsx Current to Desired Data Outcome.xlsx (14.9 KB, 10 views)
Reply With Quote
  #2  
Old 04-24-2014, 11:17 AM
gebobs gebobs is offline Macro for Columns to Row Data Windows 7 64bit Macro for Columns to Row Data Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Let me see if I understand this. Basically, you want to transpose the column headings in W through AR (e.g. HCP: Break (1), HCP: Break (2), HCP: Breakfast (1), etc.) but not the data under those headings (e.g. 0, 0, 19.98, etc.) and then repeat the data in A through V and AS through AT for each of these.
Reply With Quote
  #3  
Old 04-24-2014, 11:52 AM
brunssl2 brunssl2 is offline Macro for Columns to Row Data Windows XP Macro for Columns to Row Data Office 2003
Novice
Macro for Columns to Row Data
 
Join Date: Apr 2014
Posts: 9
brunssl2 is on a distinguished road
Default

My computer crashed when I was posting this earlier and I thought my desired file had saved correctly. This attachment clarifies the desired outcome. It is exactly as you described it, but WITH the data transposed under a separate column. Thank you very much for clarifying
Attached Files
File Type: xlsx Current to Desired Data Outcome.xlsx (15.1 KB, 8 views)
Reply With Quote
  #4  
Old 04-24-2014, 12:16 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Macro for Columns to Row Data Windows 7 64bit Macro for Columns to Row Data Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

If you need a macro, please post in the VBA forum
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply

Tags
column to row, macro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for Columns to Row Data Merging three columns of data jdjette Excel 7 03-02-2012 04:48 PM
How do I stack columns of data on top of each other? Snvlsfoal Excel 1 07-29-2011 10:16 AM
Macro for Columns to Row Data Cannot enter data in certain columns of tables HipHopapotamus Word Tables 1 05-02-2011 06:57 PM
Can I do this? sorting data in seperate columns shumonsaha Excel 0 07-04-2010 03:05 AM
macro for comparing data from 3 columns and pasting into another worksheet ashukla Excel 1 06-24-2009 05:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:48 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft