Complex Dragging of cells

DD182

New Member
Joined
Sep 27, 2013
Messages
3
I am looking for a way to drag down a table so that the table repeats with links to diffrent sheet.

But when I drag the cells down they repeat but jump. For instance If I draged the cells bellow. It would make links to sheet2 a5 rather than a3.

It will take me a life time to do this manually, Please Help!
1
2
3
4
Q
4 marks
3 marks
5 marks
2 marks
John
='sheet2'!a1
='sheet2'!b1
='sheet2'!c1
='sheet2'!d1
1
2
3
4
Q
4 marks
3 marks
5 marks
2 marks
Barry
='sheet2'!a2
='sheet2!b2
='sheet2'!c2
='sheet1'!d2

<tbody>
</tbody>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
With dragging it will not work. There are a few options, but they all involve some work:
You can start with line John =Sheet2!A1 etc and drag that down for all the students
Then insert the lines and copy the 1234 and 4 marks etc and add the names

Or you can do the following: use formulas

using =INDIRECT you can build the formula that does it correctly. The following was done by entering the formulas for John, and copying these to the others:


Excel 2010
ABCDE
1
2
31234
4Q4 marks3 marks5 marks2 Marks
5John5887
6
71234
8Q4 marks3 marks5 marks2 Marks
9Barry6776
10
111234
12Q4 marks3 marks5 marks2 Marks
13Suzan7859
MySheet
Cell Formulas
RangeFormula
B5=INDIRECT("'sheet2'!A" &(ROW()-5)/4+1)
B9=INDIRECT("'sheet2'!A" &(ROW()-5)/4+1)
B13=INDIRECT("'sheet2'!A" &(ROW()-5)/4+1)
C5=INDIRECT("'sheet2'!B" &(ROW()-5)/4+1)
C9=INDIRECT("'sheet2'!B" &(ROW()-5)/4+1)
C13=INDIRECT("'sheet2'!B" &(ROW()-5)/4+1)
D5=INDIRECT("'sheet2'!C" &(ROW()-5)/4+1)
D9=INDIRECT("'sheet2'!C" &(ROW()-5)/4+1)
D13=INDIRECT("'sheet2'!C" &(ROW()-5)/4+1)
E5=INDIRECT("'sheet2'!D" &(ROW()-5)/4+1)
E9=INDIRECT("'sheet2'!D" &(ROW()-5)/4+1)
E13=INDIRECT("'sheet2'!D" &(ROW()-5)/4+1)
 
Upvote 0

Forum statistics

Threads
1,215,034
Messages
6,122,782
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top