?
Solved

excel question

Posted on 2013-06-18
3
Medium Priority
?
296 Views
Last Modified: 2013-06-21
I have a 1 column Excel file with logical groupings of 5 records per group.  I want to "rotate" the data, 5 records at a time, and end up with 5 column Excel file.

If there an easy Excel way to do this?   I think SQL has a way to rotate data.
0
Comment
Question by:HLRosenberger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 2000 total points
ID: 39257112
If your data starts in cell A1 then enter this formula in C1

=INDEX($A:$A,ROW($A$1)-1+COLUMN()-COLUMN($C$1)+1+5*(ROW()-ROW($C$1)),1)

and copy it down and across
0
 
LVL 24

Expert Comment

by:Steve
ID: 39257127
If the data is in a data table you can use a CROSSTAB query to restructure your result.
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 39266237
thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question