Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Multi area Array using IRR function

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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default Multi area Array using IRR function

"Malakite" 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" wrote in message
...
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.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Multi area Array using IRR function

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.


"JoeU2004" wrote:

"Malakite" 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" wrote in message
...
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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi Area data ranges as Chart source GS80 Charts and Charting in Excel 2 January 30th 08 09:54 AM
set a permentant print area in a multi-sheet workbook Miki Excel Worksheet Functions 1 October 6th 07 02:26 AM
match in multi-column and multi-row array sloth Excel Discussion (Misc queries) 14 September 1st 06 10:33 PM
Multi-colour 'Area' chart germullen Excel Discussion (Misc queries) 3 May 4th 06 04:08 PM
Multi-colour Area chart (see attachment) germullen Charts and Charting in Excel 1 May 4th 06 09:12 AM


All times are GMT +1. The time now is 04:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"