+ Reply to Thread
Results 1 to 4 of 4

formula auto fill

  1. #1
    Registered User
    Join Date
    04-01-2010
    Location
    Ottawa
    MS-Off Ver
    Excel 2002
    Posts
    21

    formula auto fill

    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.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: formula auto fill

    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.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: formula auto fill

    Use INDEX

    =INDEX(H:H,16+128*(ROWS(A$1:A1)-1))
    copied down

    (assumes first formula is in A1 - adjust references as necessary)

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: formula auto fill

    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 the icon 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!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1