The FACTORIAL
function calcualtes the product of the numbers
between 0 and n (including n).
The FACT() function in excel calculates and
returns the factorial of an argument. e.g.
FACT(5) = 120
Another great tool in Excel is
the autofill. The autofill tool allows you to
select a cell containing values, equations or
functions and fill a series of cells with the
contents. The difference btween autofill and
copy and paste is that the contents is not nesseserily
copied into each cell. Instread the contents
are inteligently filled in.
In the eaxmple
above the factorial function is auto filled
into cells C2 to C4. The function in each cell
is slighlty modified to ensure that each argument
in the function is assigned to the corrosponding
cell. So instead of having "=FACT(B2)" in each cell the autofill
tool inteligently modified the function so that
"=FACT(B3)" and "=FACT(B4)" are
entered into cells C2:C4.
This is an example of relative referencing to
learn more see [The relative referencing knowledgebase]