Nesting Iferror and or formulas

Deuce Bucksman

Board Regular
Joined
Jan 17, 2011
Messages
102
Hello, gurus.

Is there anyone who can tell me what I'm doing wrong? I'm trying to make it so if there is an error, or there is an IRR larger than 1,000 then the calculation will reflect NA. Any guidance would be much appreciated. Thanks!

=IFERROR((1+IRR(F68:CG68,0.01))^4-1,"NA"),or(if((1+IRR(F68:CG68,0.01))^4-1>1000,"NA"))
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hello, gurus.

Is there anyone who can tell me what I'm doing wrong? I'm trying to make it so if there is an error, or there is an IRR larger than 1,000 then the calculation will reflect NA. Any guidance would be much appreciated. Thanks!

=IFERROR((1+IRR(F68:CG68,0.01))^4-1,"NA"),or(if((1+IRR(F68:CG68,0.01))^4-1>1000,"NA"))
I don't know anything about financial functions but here's how to construct the formula to do what you want.

=IF(ISERROR((1+IRR(F68:CG68,0.01))^4-1),"NA",IF((1+IRR(F68:CG68,0.01))^4-1>1000,"NA",(1+IRR(F68:CG68,0.01))^4-1))
 
Upvote 0
Thanks, Biff. You could've fooled me, this works perfectly. Thanks so much for your help. I was wracking my brain on this for almost a half an hour yesterday. I owe you!
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,734
Members
452,939
Latest member
WCrawford

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