Thread: Excel formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joe User[_2_] Joe User[_2_] is offline
external usenet poster
 
Posts: 905
Default Excel formula

"MAK" wrote:
What is the following formula trying to do?
What do the functions mean, and the ^ symbol?


The "^" (caret) operator is exponentiation. x^y is x raised to the power y;
that is x multiplied by itself y times.

The expression (1+IRR(...))^12-1 is attempting to annualize a monthly IRR.

The problem is: Excel IRR() does not always return a valid number.
ISNUMBER(...) is attempting to detect that.

So the IF() expression says: if IRR() returns a valid number, return the
annualized IRR; otherwise, return the string "n/a".

FYI, the IF() expression is unnecessarily complicated. At a minimum, it
should be rewritten:

=IF(ISNUMBER(IRR($F$47:BA47,0.01)), (1+IRR($F$47:BA47,0.01))^12-1, "n/a")


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

"MAK" wrote:
What is the following formula trying to do? What do the functions mean, and
the ^ symbol?

=IF(ISNUMBER((1+IRR($F$47:BA47,0.01))^12-1),(1+IRR($F$47:BA47,0.01))^12-1,"n/a")