Solved

# How can I 'fill' a range of cells incrementing the cell reference within a formula

Posted on 2011-03-01
271 Views
Hi,
I want to copy a formula in a cell to the cells beneath it by incrementing the cell reference by 6.
For example, here is the formula...
=INDIRECT(\$D\$6&"!"&"B11")
I want to copy down so the next cell adds 6 to the cell reference thus....
=INDIRECT(\$D\$6&"!"&"B17")
...and so on.
I tried using Autofill but it didn't work.
Is there any way of doing this other than manually changing each formula or using VBA ?
Thanks
Toco
0
Question by:Tocogroup
• 2
• 2

LVL 59

Expert Comment

ID: 35005756
Assuming you are starting with the subject formula in row 1 then one example would be:

Chris
0

LVL 6

Expert Comment

ID: 35005774
You might use  OFFSET to achieve this.
as reference you have the previous found cell, then offset would calculate the increment of 6...

Kr

Eric
0

Author Comment

ID: 35005850
Chris,
What would the formula be if I was starting with the subject formula in row 11 of the other sheet ?
Your example returned me a zero.
0

LVL 59

Accepted Solution

Chris Bottomley earned 500 total points
ID: 35005891
ALong the lines of:

I suspect

Chris
0

Author Closing Comment

ID: 35005936
Thanks for that Chris. It works a treat. I wasn't too sure how ADDRESS and ROW were working together but I've got it now.
many thanks
Toco
0

## Featured Post

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…