This is a demonstration of a convenient feature of the Excel spreadsheet that is not well documented in the online help files. Although this illustration is taken from Excel2002 for Windows XP Office, a similar procedure should work in earlier versions of Excel, back to 1997 at least.
Let us suppose that you wish to associate a block of cells with a square matrix A. In this illustration, the values are held in cells
|
![]() |
Click on the top left cell in your array, drag the cursor to the opposite corner (to highlight all cells in your array) and release the cursor. Then click on the down arrow beside the Name Box near the top left corner of the Excel window.   The reference to the top left cell in your array is highlighted. |
![]() |
Type the name that you have chosen for your matrix (in this example,
This will replace the cell reference, but it is now a reference to the entire highlighted block of cells, not to any one of them. In this example, " |
![]() |
Now lets place the determinant of our matrix in cell
Click the cursor on the cell. Then press the
" Click the down arrow on the function selection box that now
appears. If |
![]() |
If you had to click on the option,
You can select the category "All", but there will be far fewer functions in the list if you scroll down to and click on "Math & Trig". |
![]() |
Now scroll down the "Select a function" window until
you find the function |
![]() |
A new window opens to allow you to select a range of cells as the
|
![]() |
Just type the label that you chose for your matrix, (in this
example, Then click the |
![]() |
The edit box now shows the correct formula for the determinant of
your matrix, so just press the [An aside: |
![]() |
Now let us suppose that we wish to place the inverse of matrix
A in cells Begin, as before, by highlighting the range of cells and then clicking on the down arrow beside the Name Box. Below the highlighted reference to the top left cell
|
![]() |
Just replace the reference to cell The label |
![]() |
Keep all of cells Again use the drop down box of Excel functions.
If |
![]() |
Select the category "Math & Trig", then scroll down
the "Select a function" window until
you find the function |
![]() |
A new window opens to allow you to select a range of cells as the
Array
argument of the MINVERSE
function.
Just type the label that you chose for your matrix, (in this
example, A
).
This replaces the range of cells offered by Excel.
IMPORTANT:
Do not click the OK
button!
(Do not press Enter
either).
There is a special way to enter an array formula into all of the
cells of another array:
Press the three-key combination Shift+Ctrl+Enter
.
Upon releasing the Note the braces |
![]() |
An example is shown here of the use of a matrix inverse and
matrix multiplication to solve a matrix equation
While the cells for the solution matrix are selected: In the "Insert Function" window shown here: |
![]() |
Instead of the tedious business of entering ranges of cells as the
arguments of this function, you need only type the names that you
have given to the arrays. (In this example, the cell range
IMPORTANT: Do not click the There is a special way to enter an array formula into all of the
cells of another array: |
![]() |
If done correctly, your spreadsheet should now look like this:
Starting with |
![]() |
Inside the edit box, click the cursor at the first character to be converted to boldface and drag to the last of the consecutive characters to be made bold.
Then either click on the bold button B
in the edit
toolbar, or press the shortcut keys Ctrl+B
.
Repeat for any other characters to be made bold, then press
Enter
.
To raise text characters inside a cell to superscript:
Select the characters in the edit box;
Click on Format
in the top menu bar;
Click on Cells...
.
Any changes that you make now to formatting, using this "Format Cells" dialog box, will affect only the selected text, not the entire cell. For superscript, just check the "Superscript" option
box in the "Effects" pane of this window, then click
the |
![]() |
You may have noticed that the minus sign in the superscript is now too small in most fonts. The symbol font will correct that problem. Select just the minus sign in the edit box, then open the font
drop down box from the edit toolbar. |
![]() |
You now have a mixture of fonts inside a single cell!
Created 2002 09 26 and last modified 2002 10 09 by
Dr. G.H. George