Hi all,
The answer I know is 312 x 311 x 310 x 309 x 308 = 2,862,766,146,240 = 2.86277E+12. The arguments are 312 and 5.
Using the notation myfunction(x,y) the result is (x)*(x-1)*(x-2)*(x-3)*(x-4)*..etc...*(x-(y+1))
Another example, myfunction(17,10) = 70572902400 (17x16x15x14x13x12x11x10x9x8).
What is myfunction? I'm looking for a excel formula I could use within a spreadsheet without the use of VBA.. I know I could write a solution using VB and creating my own formula, BUT is there already a built in function in Excel I could use, for speed?
My maths/stats knowledge is somewhat limited but I know it might have something to do with the factorial function =FACT(X)/(FACT(Y-X) or using the BINOMDIST somehow? Or is there another more suitable function?
The FACT(X) etc would work but usually I'd be using this using very large numbers so will often result in an overflow error!
Help!! Thanks in advance.
The answer I know is 312 x 311 x 310 x 309 x 308 = 2,862,766,146,240 = 2.86277E+12. The arguments are 312 and 5.
Using the notation myfunction(x,y) the result is (x)*(x-1)*(x-2)*(x-3)*(x-4)*..etc...*(x-(y+1))
Another example, myfunction(17,10) = 70572902400 (17x16x15x14x13x12x11x10x9x8).
What is myfunction? I'm looking for a excel formula I could use within a spreadsheet without the use of VBA.. I know I could write a solution using VB and creating my own formula, BUT is there already a built in function in Excel I could use, for speed?
My maths/stats knowledge is somewhat limited but I know it might have something to do with the factorial function =FACT(X)/(FACT(Y-X) or using the BINOMDIST somehow? Or is there another more suitable function?
The FACT(X) etc would work but usually I'd be using this using very large numbers so will often result in an overflow error!
Help!! Thanks in advance.
Last edited: