MIRR Function

   
MIRR Function

Class

Microsoft.VisualBasic.Financial

Syntax

 MIRR(   valuearray   (  ),   financerate, reinvestrate   ) 
valuearray ( ) (required; Array of Double)

An array of cash flow values

financerate (required; Double)

The interest rate paid as the cost of financing

reinvestrate (required; Double)

The interest rate received on gains from cash investment

Return Value

A Double representing the modified internal rate of return

Description

Calculates the modified internal rate of return, which is the internal rate of return when payments and receipts are financed at different rates

Rules at a Glance

  • valuearray must be a one-dimensional array that contains at least one negative value (a payment) and one positive value (a receipt). The order of elements within the array should reflect the order in which payments and receipts occur.

  • financerate and reinvestrate are percentages expressed as decimal values. For example, 10% is expressed as 0.10.

Programming Tips and Gotchas

Each element of valuearray represents a payment or a receipt that occurs at a regular time interval. If this is not the case, MIRR will return erroneous results.

See Also

IRR Function

   


VB.Net Language in a Nutshell
VB.NET Language in a Nutshell
ISBN: B00006L54Q
EAN: N/A
Year: 2002
Pages: 503

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net