Solved

Combine  rows

Posted on 2013-05-12
5
233 Views
Last Modified: 2014-05-23
I have a spreadsheet 6000 thousand lines long,  1st row A to G is header names, rows  2-6 is data.   (no math/no formulas).
I want to move data in rows 3,4,5,6  to row 2 starting at column/cell H2 , then delete  3,4,5,6  and do it again (until end of sheet)

Sample attached with  "as is"  and desired.
sample-row.xlsx
0
Comment
Question by:tomrector
  • 2
5 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39159529
On a new sheet enter this formula in A1

=INDEX(Sheet1!$A:$G,IF(ROW()=1,1,(ROW()-2)*5+2+INT((COLUMN()-1)/7)),MOD(COLUMN()-1,7)+1)

and copy it across to column AI and down as far as needed.
0
 

Author Comment

by:tomrector
ID: 39159593
Maybe ,, but how does this create row 3 from next set of 5 and then row 4 from the next set of 5, etc, etc, etc.

I attached a revised sample to make it more clear.
sample-row.xlsx
0
 

Author Comment

by:tomrector
ID: 39159672
Disregard previous email,  It does work!  Thank you very much for the answer.  After copying down 1200 rows cols A:AL   it pulls the right data.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

947 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now