Create a multiplication table
Let's say you want to help your daughter better understand math concepts by dynamically creating a multiplication table. You can use a two-variable data table .
- Set up a worksheet with the following structure.
Example
The example may be easier to understand if you copy it to a blank worksheet.
How to copy an example
- Create a blank workbook or worksheet.
- Select the example in the Help topic.
Note Do not select the row or column headers.
Selecting an example from Help
- Press CTRL+C.
- In the worksheet, select cell A1, and press CTRL+V.
- To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the
Formulastab, in theFormula Auditinggroup, click theShow Formulasbutton.
-
1 2 3 A 1 1 =A1*A2 -
Enter a row of values from B3 to the right, for example, 1 through 10.
- Enter a column of values from A4 down, for example, 1 through 10.
- Select all cells in the range except cells A1 and A2.
- On the
Datatab, in theData Toolsgroup, clickWhat-If Analysis, and then clickData Table. - In the
Row input cellbox, enter A1. - In the
Column input cellbox, enter A2. - Click
OK. - Optionally, you can freeze the data table by converting the result to their values.
How to copy values
- Select all resulting values in the data table .
- Click
Copy
, and then select the upper-left cell of the paste area .
- Click the arrow next to
Paste
, and then click Values.
Note Because the resulting values are in an array, you must convert all of the resulting values to constant values.