what is the difference between formula and a function?
The difference is that a function is a built-in calculation, while a formula is a user-defined calculation. A formula could just use a single function. For example, if you enter =AVERAGE(A1:A56) , that is a formula, using the AVERAGE function.