Dynamic XIRR

priestren

New Member
Joined
Sep 19, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello and this might be a basic question but please I'm looking for help in how to create a dynamic XIRR with two variables.

For context, I would like the XIRR formula to calculate if the dates change along side the cash flows.

I have the start date going on a monthly basis till the end of the investment horizon (which I have made dynamic) on row 25 starting at column H. The cash flows are right below on row 26 starting at column H and I want to know how to make the XIRR change if the end of my investment horizon changes.

XIRR(OFFSET($H$26,0,$C$24,1,1),OFFSET($H$25,0,$C$24,1,1))

This is the formula I'm using where C24 is the # of periods between the start date and end date and that's linked and dynamic.

Appreciate any help - thanks!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Perhaps, you want to play with the count(range below H26) instead of using C24
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,977
Members
449,095
Latest member
Mr Hughes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top