+ Reply to Thread
Results 1 to 3 of 3

Array Formula - For Loop (Referencing RC[-1])

  1. #1
    Registered User
    Join Date
    05-10-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2013
    Posts
    4

    Array Formula - For Loop (Referencing RC[-1])

    Hello,

    I am wondering if there is a possible way to change the bolded lines to perform a reference to a previous cell within the For Loop array. An example of how I want the code to perform is commented.


    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Array Formula - For Loop (Referencing RC[-1])

    Hello kelvink5883,

    Welcome to the Forum!

    You should post your solution. There are other members and visitors who would find it useful.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    05-10-2013
    Location
    Toronto
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Array Formula - For Loop (Referencing RC[-1])

    Thank you!

    What I have noticed is that, you can't add/subtract from the array dimensions. You are only allowed to adjust the formulas array references.
    And for my particular case, I had to shift my first row of data by adjusting the beginning For Loop to start at 1 instead of 0.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Referencing an array within a For Next loop. Please help?
    By jinxtt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2012, 05:06 PM
  2. referencing the value of a cell containing an array formula
    By David McRitchie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 06:05 AM
  3. referencing the value of a cell containing an array formula
    By David McRitchie in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 04:05 AM
  4. referencing the value of a cell containing an array formula
    By KR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  5. referencing the value of a cell containing an array formula
    By KR in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-05-2005, 03:05 PM

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