Create formulas
Applies To
Excel for the webTry it!
Just like the desktop version of Excel, Excel for the web lets you use formulas and functions to perform calculations.
-
Select a cell.
-
Type the equal sign =.
-
Type or select a cell, or type in a function, like SUM.
-
Enter an operator, like minus -, or select the cells or range that are part of the function.
-
Press Enter for the result. The result shows in the cell, but you can always see the formula in the Formula bar.
Dynamic arrays
Excel formulas that return multiple values, also known as an array, return results to neighboring cells. This behavior is called spilling. Any formula that has the potential to return multiple results can be referred to as a dynamic array formula.
-
Select a cell with room around for results to spill into.
-
As an example, type =SORTBY(A2:B15,B2:B15,1).
-
Press Enter for the results.
: Array formulas can't be input if there is anything blocking the output range. If this happens, Excel will return a #SPILL! error indicating that there is a blockage. If you remove the blockage, the formula will spill as expected.