Macro for transposing Single Column to Rows

ManishLC

New Member
Joined
Mar 16, 2023
Messages
1
Office Version
  1. 2011
  2. 2010
Platform
  1. Windows
Hi Team,

Can you please help me with VBA code to suit my requirement.

Requirement -
Have set of Questionnaire (more than 500) in single column which has to be transposed to Rows

Example - Type of Question and Question to be added in single cell and transpose to happen in new sheet or new tab or next to the Question cell

RAW DataMerge and Transpose
Procurement Processes > Question 1Question DescriptionOption1Option2Option3Option4Option5Option6Explanation
Type of QuestionDetermine whether this statement is true or false.Determine whether this statement is true or false.
A plant can be assigned to several company codes.
TRUE​
FALSE​
A plant can be assigned to only one company code. At the same time, this assignment is essential.
Read more in the lesson, Defining Processes and Organizational Levels
QuestionA plant can be assigned to several company codes.
Explanation to AnswerA plant can be assigned to only one company code. At the same time, this assignment is essential.
Read more in the lesson, Defining Processes and Organizational Levels
Answer, Option1
TRUE​
Option 2
FALSE​
Procurement Processes > Question 2
Choose the correct answer(s).Choose the correct answer(s).
Purchase order transaction is divided into which of the following screen areas?
Header dataStorage locationItem overviewItem detailsDocument overviewEasy Access screenThe purchase order transaction is a single-screen transaction where you can maintain all relevant data
and divided into the Header, Item Overview, item Detail and Document Overview. (the storage location is an input field; )
Purchase order transaction is divided into which of the following screen areas?
The purchase order transaction is a single-screen transaction where you can maintain all relevant data
and divided into the Header, Item Overview, item Detail and Document Overview. (the storage location is an
input field; )
Header data
Storage location
Item overview
Item details
Document overview
Easy Access screen

It would be great if the forum provides code / support to create this macro.

Regards,

Manish
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hello Manish. I would try to assist but it is challenging FOR ME to understand the data (so understanding what code must do is also challenging). Maybe show a before and after? Perhaps using Mr. Excel's addin which allows you to post parts of a worksheet. See XL2BB web page.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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