factorial

M

Max

Think there's a function FACT() which will calculate this

Check it up in Excel's Help

Example: FACT(5) = 120 (1*2*3*4*5)

(there's even a FACTDOUBLE function .. <g>)
 
J

Jerry W. Lewis

As others have noted, Excel has a FACT() function. 171! is larger than
the largest floating point number that can be represented in IEEE double
precsion (used by Excel).
GAMMALN(n+1) = LN(FACT(n))
which can be used for n larger than 170.

Jerry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top