Be sure to select cells E2:E11, enter the formula =C2:C11*D2:D11, and then press Ctrl+Shift+Enter to make it an array formula.
#Alt shift enter in excel download
To best work with the examples, you should download the workbook to your computer by clicking the Excel icon in the lower-right corner, and then open it in the Excel desktop program.Ĭopy the table below and paste it into Excel in cell A1. The workbook below shows examples of array formulas. If you want to play around with array constants before you try them out with your own data, you can use the sample data here. When you press Ctrl+Shift+Enter, Excel automatically inserts the formula between (a pair of opening and closing braces). Press Enter (if you have a current Microsoft 365 Subscription) otherwise press Ctrl+Shift+Enter.
This is an example of a single-cell array formula because the formula lives in just one cell. The formula first multiplies the shares (cells B2 – F2) by their prices (cells B3 – F3), and then adds those results to create a grand total of 35,525. They all begin with an equal sign (=), and you can use any of the built-in Excel functions in your array formulas.įor example, this formula calculates the total value of an array of stock prices and shares, and places the result in the cell next to "Total Value."
This type of array formula can simplify a worksheet model by replacing several different formulas with a single array formula.Ĭlick the cell in which you want to enter the array formula.Īrray formulas use standard formula syntax.