Giving Cell Reference as an array in IRR formula

vidyanand

New Member
Joined
Jul 19, 2014
Messages
32
Hello Friends,

I want to calculate the IRR of an Insurance policy where you pay the premium in the initial years & then wait for some years & then you will start getting regular cash flow for a certain number of years with your initial premiums also returned back to you with last cash flow. So for example

1 Premium Payment Years - 10
2 Premium - 100000
3 Waiting Period - 2
4 Income Years - 25
5 Income - 115000

So how do you put it in one formula where last cash flow in this example would be 100000 * 10 +115000
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I have tried this formula

{=IRR(IF(IFNA(ROW(INDIRECT("1:"&H2+H3+H4))=ROW(INDIRECT("1:"&H2)),FALSE),-H1,

IF(IFNA((ROW(INDIRECT("1:"&H3+H4))=ROW(INDIRECT("1:"&H3))),FALSE),0,

IF(IFNA((ROW(INDIRECT("1:"&H4))=ROW(INDIRECT("1:"&H4-1))),FALSE),H5,H1*H2+H5))))}

Where H1 = 100000, H2 = 10, H3 = 2, H4 = 25, H5 = 115000

But this is giving me #Value! error.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,249
Members
452,623
Latest member
Techenthusiast

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