New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

copy a pattern formula

Formulas, Functions, Formatting, Charts, Data Analysis, etc.

copy a pattern formula

Postby ramzangh » Wed Jan 27, 2016 11:53 am

i have 2 excel sheets. sheet one named "Entry" in which i have data in 6 sets of columns i.e (col C to col H ,col I to N, col O to T , col U to Z ,Col AA to AF and Col AG to AL). i want to shift this date to other sheet named "Result" in the following way.
at first row of "Result" first row of group one from sheet "Entry"
at row 2 of "Result" row 2 of group two from sheet "Entry"
at row 3 of "Result" row 3 of group three from sheet "Entry"
at row 4 of "Result" row 4 of group four from sheet "Entry"
at row 5 of "Result" row 5 of group five from sheet "Entry"
at row 6 of "Result" row 6 of group six from sheet "Entry"
after that a blank line and than repeating these pattern downward
when I copy and paste this group ,it takes the result from 7th row instead of row 2 of "Entry"
Any solution? Thanxs in advance
  • 0

ramzangh
Rookie
 
Posts: 1
Joined: Jan 27, 2016
Reputation: 0
Excel Version: 2013

Re: copy a pattern formula

Postby p45cal » Thu Jan 28, 2016 2:38 pm

in A1 of the Results sheet:
=OFFSET(Entry!$A$1,MOD(ROW()-1,6)+INT((ROW()-1)/6)+1,(MOD(ROW()-1,6)+1)*6+COLUMN()-5)
and copy across 6 cells and copy down as far as necessary.
It may need a little tweak because I assumed headers were present in the ENTRY sheet.
Finally, you can of course, copy/paste-special|values.
  • 0

p45cal
Rookie
 
Posts: 2
Joined: Sep 23, 2015
Reputation: 0
Excel Version: 2010


Return to General Excel Questions

Who is online

Users browsing this forum: No registered users and 129 guests

cron