Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Combine  rows

Posted on 2013-05-12
5
Medium Priority
?
272 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
[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
  • 2
5 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
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.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

704 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