#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default XIRR range question

"Brad" wrote:
The stream of "m" and "n"s are the values
the strream of "d" are the dates.


Well, obviously. My bad! I was rushed and misread your syntax, which was
clear on second thought. Sorry about that.


I'm willing to have my UDF, but not sure how that
would be done.


I or someone can help you with that -- eventually. In the meantime, you
might do a Google Groups search. I believe a UDF was posted not too long ago.


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

"Brad" wrote:
No, I mean XIRR

The stream of "m" and "n"s are the values
the strream of "d" are the dates.

Not sure what you mean that the number of cells are not the same
M3:M4 and N5 are three values
D3:D5 are three dates

M3:M40 and N41 are 39 values
D3:D41 are 39 dates

I'm willing to have my UDF, but not sure how that would be done.


"Joe User" wrote:

"Brad" wrote:
I would like to have
=xirr(m3:m4 and n5,d3:d5)
or
=xirr(m3:m40 and n41,d3:d41)


Your examples do not make sense. Do you mean IRR instead of XIRR?

XIRR takes two arrays: XIRR(values,dates). (There is also an optional
"guess" parameter.) In your examples, if M represents values and N
represents dates, the number of cells must be the same for both. That is not
the case in your examples.

For IRR, you can use the union operator. For example,
IRR((M3:M40,N41,D3:D41)). Note that the "extra" set of parentheses is
required.

However, XIRR does not support the union operator. To my knowledge, there
is "no way" to specify non-contiguous arrays with XIRR, other than writing
your own UDF.


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

"Brad" wrote:
How can I "trick" excel to use non-continuous cell

I would like to have
=xirr(m3:m4 and n5,d3:d5)
or
=xirr(m3:m40 and n41,d3:d41)

I realize that xirr doesn't accept the "and" . I'm including it to help
explain my question.


--
Wag more, bark less

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
XIRR question ORLANDO VAZQUEZ[_2_] Excel Discussion (Misc queries) 5 October 8th 09 02:16 PM
XIRR Rajesh Nathani Excel Discussion (Misc queries) 1 September 1st 07 01:04 PM
XIRR Jami Excel Discussion (Misc queries) 3 August 11th 07 05:25 AM
XIRR Bob Umlas, Excel MVP Excel Worksheet Functions 3 January 26th 07 01:58 AM
XIRR - Automating the date range WTM Excel Discussion (Misc queries) 0 November 2nd 06 06:49 PM


All times are GMT +1. The time now is 07:02 AM.

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

About Us

"It's about Microsoft Excel"