Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The NON-VBA method:</p> <p>If you are dealing with a one-off problem, a simple way to handle conversions from columns to rows is by using the INDEX() function. I would suggest using something along the lines of the following in the first destination cells (for where you want "Question1" with "Question2" below it to be placed):</p> <pre><code>Question1 Destination Cell: =INDEX($A:$A,COLUMN(A1)) Answer1 Destination Cell: =INDEX($B:$B,COLUMN(A1)) </code></pre> <p>From there, just copy the equations to the right until you have spanned as many columns as you have rows as this allows your column to row conversion to expand indefinitely to the right.</p> <p>**This will work as long as your Questions &amp; Answers data is in ColumnA and ColumnB as you specified but can be modified accordingly (using an alternate method for COLUMN(A1) to locate the row you are moving).</p> <p>AND, if you want your questions and answers to stack after completing a set of 5 columns as you show above, set it up like this:</p> <pre><code>Question1 Destination Cell: =INDEX($A:$A,COLUMN(A1)) Answer1 Destination Cell: =INDEX($B:$B,COLUMN(A1)) Answer6 Destination Cell: =INDEX($B:$B,MATCH([non-locked cell address of Answer1],$B:$B,0)+5) </code></pre> <p>From there, copy those three cells over to span 5 columns to the right. AND THEN, to expand downward, only copy the row of calculations that starts with Answer6 and paste those down the sheet to cover however many rows you have in ColumnA and ColumnB.</p> <p>This method will produce this result:</p> <pre><code>Question1 Question2 Question3 Question4 Question5 Answer1 Answer2 Answer3 Answer4 Answer5 Answer6 Answer7 Answer8 Answer9 Answer10 </code></pre> <p>Cheers.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload