View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Harlan Grove[_2_] Harlan Grove[_2_] is offline
external usenet poster
 
Posts: 1,231
Default Formula confusion

"Harlan Grove" wrote...
....
=IF(n<0,"n must be nonnegative",EXP(LN(x)*n-GAMMALN(n)))


I would screw that up. It should be

=IF(n<0,"n must be nonnegative",EXP(LN(x)*n-GAMMALN(n+1)))