+ Reply to Thread
Results 1 to 8 of 8

Using INDIRECT function with an array formula

  1. #1
    Registered User
    Join Date
    06-22-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    10

    Using INDIRECT function with an array formula

    Hello,
    I have a stream of monthly stock returns in a column (Column B) in a sheet called "Performance". I am trying to get the cumulative return for the period specified. Normally, if the range was fixed, I would use the product formula, in this case "{=product(1+Performance!B6:B102)-1}. But I am using a match function to determine the range. I have determined the beginning row in cell "C1" and the ending row in cell "C2", using the match function. I am trying to use the INDIRECT function within the PRODUCT function to get my result. It doesn't seem to be working. Here is my best shot at it:

    {=PRODUCT(1+INDIRECT("Performance!R"&$C$1&"C2:R"&$C$2&"C2",FALSE))-1}

    I also tried:

    {=PRODUCT(INDIRECT("1+Performance!R"&$C$1&"C2:R"&$C$2&"C2",FALSE))-1}

    Any help would be greatly appreciated.

    Thanks!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Using INDIRECT function with an array formula

    Hi,

    Maybe

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-22-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Using INDIRECT function with an array formula

    Yes, that did it! I guess you can't use the RC format, which is weird since I have been using it in other formulas. I guess just not arrays.

    Thanks for your help.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Using INDIRECT function with an array formula

    Hi,

    The RC equivalent is

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-22-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Using INDIRECT function with an array formula

    Oh, right. I need to put the reference in RC format too. Thanks for the help!

  6. #6
    Registered User
    Join Date
    06-22-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Using INDIRECT function with an array formula

    Actually the formula you posted in the RC format didn't work. Ideally I would like it in RC if possible.

  7. #7
    Registered User
    Join Date
    06-22-2013
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Using INDIRECT function with an array formula

    Somehow, my original formula now works. Very weird.

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Using INDIRECT function with an array formula

    Quote Originally Posted by al_noggin View Post
    Actually the formula you posted in the RC format didn't work. Ideally I would like it in RC if possible.
    Just as a matter of interest what was the problem you encountered with my RC format solution. It worked OK when it left me

+ 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. Entering INDIRECT.exe IF function as an array
    By Mr ZN in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-31-2013, 12:31 AM
  2. Indirect function combined with Array
    By NYRealEstateAnalyst in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-10-2013, 02:46 AM
  3. Indirect function and Array formula
    By Manumusashi in forum Excel General
    Replies: 3
    Last Post: 04-28-2011, 10:13 AM
  4. Indirect used in an array formula
    By Werner Rohrmoser in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. [SOLVED] Indirect used in an array formula
    By Werner Rohrmoser in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11: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