i have cells in a column that have the pattern:
=H16
=H144
=H272
(the pattern is an increase by 128)
I want to autofill by dragging these cells down so that the next one is H400 and so on.
i have cells in a column that have the pattern:
=H16
=H144
=H272
(the pattern is an increase by 128)
I want to autofill by dragging these cells down so that the next one is H400 and so on.
Last edited by jonathankim; 04-15-2010 at 10:10 AM.
Try
=INDEX($H$16:$H$1000,128*(ROWS($A$1:A1)-1)+1) copied down
Adjust bottom of the range to last row in your H column....
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Use INDEX
=INDEX(H:H,16+128*(ROWS(A$1:A1)-1))
copied down
(assumes first formula is in A1 - adjust references as necessary)
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
This would do it:
=INDEX(H:H, ((ROW($A1)-1)*128)+16)
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks