Trouble Creating an Autofill from a linked cell every 9 lines

Jo West

New Member
Joined
Jun 9, 2016
Messages
2
Hello all

I am having difficulty creating an autofill formula.

The first tab of my file is called "By Room" and I would like to link exactly every 9th cell down the sheet (starting with B7 and going forward, B16, B25, B34, B43 etc.) to the second tab, called "Ceilings" into every cell without gaps, starting with A7, A8, A9 etc.

I have done the first 50 as separate links:

The formula in A7 reads: ='By Room'!$B$7
The formula in A8 reads: ='By Room'!$B$16
The formula in A9 reads: ='By Room'!$B$25
etc.

I would like to auto complete this but if I highlight the links already created and drag down the right bottom corner of the cell it just repeats the same links over and over (i.e. it doesn't recognise the pattern that the cell number is increasing by 9 every time).

Any help would be appreciated. The "By Room" tab has 1899 rows so this could take a long time! I think the =INDIRECT formula might be the way forward but I'm not having any luck working this out!
 

sheetspread

Well-known Member
Joined
Sep 19, 2005
Messages
5,112
You can use offset() without indirect:

<b>Excel 2010</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">7</td><td style="text-align: right;;">8257</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="text-align: right;;">5455</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="text-align: right;;">443</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style="text-align: right;;">7866</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style="text-align: right;;">8022</td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style="text-align: right;;">6219</td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style="text-align: right;;">40</td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style="text-align: right;;">5946</td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style="text-align: right;;">8746</td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style="text-align: right;;">1478</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #BBB"><thead><tr style=" background-color: #DAE7F5;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">A7</th><td style="text-align:left">=OFFSET(<font color="Blue">'By Room'!$B$7,9*(<font color="Red">ROW(<font color="Green">A1</font>)-1</font>),0</font>)</td></tr></tbody></table></td></tr></table><br />
 
Last edited:

sheetspread

Well-known Member
Joined
Sep 19, 2005
Messages
5,112
Well actually if you have many tabs and a consistent pattern you can use indirect to change the tab names
 

Jo West

New Member
Joined
Jun 9, 2016
Messages
2
Thank you very much sheetspread. That worked absolutely perfectly and that you for writing out the solution so clearly. I am now a happy completed spreadsheet owner! :)
 

Forum statistics

Threads
1,082,344
Messages
5,364,803
Members
400,814
Latest member
gangstar67

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top