Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multi area Array using IRR function

1 view
Skip to first unread message

Malakite

unread,
Sep 16, 2009, 7:51:01 AM9/16/09
to
I'm having trouble getting this formula to work.

=IRR(INDIRECT(("B26:"&D12&"26"&",BS26")),0.01)

Cell D12 contains the column letter that changes based on a user inputted
hold period. The actual formula =IRR((B26:V26,BS26),0.01) works fine which is
the same forumla that shows when stepping through the function using the
error check.

Any help appreciated.

JoeU2004

unread,
Sep 16, 2009, 8:13:43 AM9/16/09
to
"Malakite" <Mala...@discussions.microsoft.com> wrote:
> I'm having trouble getting this formula to work.
> =IRR(INDIRECT(("B26:"&D12&"26"&",BS26")),0.01)

Ostensibly, you should write:

=IRR(INDIRECT("(B26:"&D12&"26"&",BS26)"),0.01)

But it appears that INDIRECT does not support range union reference. Most
Excel functions do not.

The following should work:

=IRR((INDIRECT("B26:"&D12&"26"),BS26),0.01)


----- original message -----

"Malakite" <Mala...@discussions.microsoft.com> wrote in message
news:A3C10236-B9C4-4BFE...@microsoft.com...

Malakite

unread,
Sep 16, 2009, 8:32:02 AM9/16/09
to
Thanks

That works fine. thats how I originally had the formula but the parenthesis
were in the wrong places. I originally had
=IRR(INDIRECT(("B26:"&D12&"26"),BS26),0.01). Thank you for the help.

0 new messages