If you enter =4+2 in a spreadsheet cell, Excel returns an answer of 6. X and Y can be numbers, cell addresses (e.g. To add two numbers in Microsoft Excel, type the formula =X+Y into the cell where you want the answer displayed. Before we begin, remember one important thing: all Excel formulas must begin with an equal sign.