The answer is a function.
In Microsoft Office Excel, a function refers to the pre-written formula that is built. There are a lot of functions in Microsoft Office Excel like the arithmetic functions such as sum or total, difference, and an average of numbers. In Excel, these functions are defined using Visual Basic.