What is the difference between a formula and a function?
A formula is the whole instruction and starts with =. A function is a named operation the formula can call, such as SUM.
BasicsBeginner3 minExcel · Google Sheets
Answer
A formula is everything you type so a cell calculates, and it starts with =. A function is a named operation used inside a formula.
=B2+B3 is a formula. It uses cell names and a plus sign. It does not call a function. =SUM(B2:B4) is also a formula. SUM is the function inside it. The equals sign, the parentheses, and the range are part of the formula, not separate functions.
Excel and Google Sheets both use this distinction. The idea does not change with language. The spelled name of a function does. English uses SUM. Other spreadsheet languages use other names, and the character between arguments can be a comma or a semicolon. The SUM formula page lists those usual names.
A formula with no function.
=B2+B3This formula does not use a function name. The cell names and the math signs are the same in Excel and Google Sheets.
Parts of the formula
=Marks the whole instruction as a formula.
B2+B3Cell names and a plus sign. There is no named function here.
A formula that calls the SUM function.
English reference form
=SUM(B2:B4)This spelling uses English function names and commas between arguments. It is the reference form on this site, not the only spelling. A Swedish spreadsheet, for example, uses different function names and usually a semicolon. Cell names such as B2 stay the same.
See function names by languageParts of the formula
=The formula still starts with =. The function does not replace the formula.
SUMThe function: a named operation. This English name changes in other spreadsheet languages.
B2:B4The input the function receives. It is part of the formula.