+ Reply to Thread
Results 1 to 7 of 7

Use index function to shift range in a patterned formula

Hybrid View

  1. #1
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Use index function to shift range in a patterned formula

    I *think* I understand what you're hoping to achieve.

    Using your posted workbook:
    This regular formula increments the referenced range by 2 cells for each 1 cell that you copy the formula down Col_N, always referencing 60 cells.
     N72: =STDEV(INDEX(_RR,ROWS(N$72:N72)*2):INDEX(_RR,ROWS(N$72:N72)+59))*SQRT(12)


    Copy that formula down as far as you need.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  2. #2
    Registered User
    Join Date
    10-25-2010
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Use index function to shift range in a patterned formula

    Quote Originally Posted by Ron Coderre View Post
    I *think* I understand what you're hoping to achieve.

    Using your posted workbook:
    This regular formula increments the referenced range by 2 cells for each 1 cell that you copy the formula down Col_N, always referencing 60 cells.
     N72: =STDEV(INDEX(_RR,ROWS(N$72:N72)*2):INDEX(_RR,ROWS(N$72:N72)+59))*SQRT(12)


    Copy that formula down as far as you need.

    Is that something you can work with?
    Hi Ron,

    To be honest, I'm still having some difficulties with it.
    Perhaps my dynamic named range (_RR) is referencing the wrong cell?
    The value in cell N72 should equal the value in K72 (volatility). I then want to be able to drag the cell and have it automatically populate the cells correctly using the correct formula which increments the referenced range by 2 cells for each 1 that I copy down.

    Does that make sense?

    Thanks again for your help with this one.

    nick.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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