+ Reply to Thread
Results 1 to 3 of 3

XIRR with dynamic range

  1. #1
    Registered User
    Join Date
    09-18-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    Professional Plus 2013
    Posts
    4

    XIRR with dynamic range

    Hi,

    I work in the investment industry and am trying to calculate the XIRR of our various mutual funds using the dates and the monthly withdrawal amounts that change over time, with the ending amount being the last number from the post-withdrawal column. The issue is that I have to manually adjust the range in the XIRR formula to fit exactly, or else the formula errors. Is there a way to use an XIRR formula that is flexible enough to accommodate the different number of periods without having to manually adjust the range to perfectly fit the number or rows?

    Attached in an example with two tabs with a different amount of periods. Basically, the only parameters I need to manually adjust are the initial investment amount, withdrawal %'s, and the monthly return stream. The goal is to be able to dump the number of returns without having to manually adjust the end point of the XIRR formula.

    If you have any questions, please let me know! Thanks so much!
    Attached Files Attached Files

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: XIRR with dynamic range

    =xirr(m2:index(m2:m150,match("",i2:i150,)-1),i2:index(i2:i150,match("",i2:i50,)-1))

  3. #3
    Registered User
    Join Date
    09-18-2017
    Location
    Los Angeles, CA
    MS-Off Ver
    Professional Plus 2013
    Posts
    4

    Re: XIRR with dynamic range

    Quote Originally Posted by tim201110 View Post
    =xirr(m2:index(m2:m150,match("",i2:i150,)-1),i2:index(i2:i150,match("",i2:i50,)-1))
    YES!!! You rock!!! THX SO MUCH!!!

+ 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. XIRR with dynamic range based on date input (OFFSET)
    By TripleG-CO in forum Excel General
    Replies: 9
    Last Post: 06-29-2015, 08:06 PM
  2. XIRR with dynamic range
    By j.rogne in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2015, 11:30 AM
  3. Dynamic XIRR formula?
    By tonylyx in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2015, 11:17 PM
  4. XIRR with Dynamic Range
    By smorkun in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-27-2014, 06:15 PM
  5. XIRR Dynamic Range
    By JeffHowell in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-12-2014, 03:34 PM
  6. Excel 2007 : Using XIRR with Dynamic Ranges
    By Charlie100 in forum Excel General
    Replies: 4
    Last Post: 07-18-2012, 01:31 AM
  7. XIRR with Dynamic Ranges
    By coldcanuck in forum Excel General
    Replies: 3
    Last Post: 08-04-2011, 02:41 PM

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