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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Perhaps, you want to play with the count(range below H26) instead of using C24
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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