Adapted from Shauna Kelly's page at https://shaunakelly.com/word/concepts/tables.html with permission.
What this page is about
For those of you who have just joined us, this is a page in the series of Basic Concepts in Word. Use the menu at left to go to the different pages. Each Basic Concept page has three sections:
|
We're creating the sample document and our next challenge is to position text on the page rather than just creating paragraphs of body text.
This is the text we're trying to produce:
Information about this document
Characters in the story
One fox, one dog.
Action in this story
Jumping
Number of different letters used in the story
26
There are three kinds of lazy dogs …
In the old days, on a typewriter, you would do this by setting two tabs.
You would tab once and type "Characters in the story". Then tab again to type "One fox, one dog.". If you used the space bar instead of the tab, it would make no difference to the final document.
Word does it completely differently. You can use tabs to set up text like this, but it would be awkward. Much easier to create a table.
When you hear "table" you're probably thinking of something that looks like this:
Budget | Actual | Variance | |
Salaries and wages | $20,000 | $19,345 | $655 |
Stationery | $3,000 | $3,125 | ($125) |
Rent and cleaning | $5,200 | $5,250 | ($50) |
Other expenses | $1,800 | $750 | $1,050 |
Total expenses | $30,000 |
$28,470 |
$1,530 |
Yes, that's a table. But if we had only text in the table, and took out the borders, we could use a table to position our text on the page.
There are two huge advantages of arranging text in a table. The first is that it is really easy to change the widths of the columns, which will determine how far left or right our text is positioned on the page. The second is that text wraps within a cell of the table. You don't have to work out how much text will fit on one line, and how much should go to the next. Word will do that for you.
Position the Insertion Point (or cursor) where you want the table. For our sample document, that will be in the paragraph below the heading "Information about this document".
In Ribbon versions of Word, click on the Insert tab and then on the Table button. (Figure 1)
Figure 1
You need two columns and three rows.
You can do this by picking 2 colums and three rows directly as shown in Figure 2 below.
Figure 2
Or, below that, you can pick "Insert Table" to bring up the traditional dialog box shown in Figure 3 below.
Figure 3 - Insert Table dialog
If you use the dialog box, make sure that you have selected Fixed Column Width, and that it is set to Auto. This is because, for this purpose, we need to decide for ourselves how wide the columns will be.
When you click in the bottom right corner of the grid, or, in the dialog box click OK, Word will insert your new table.
There are two kinds of lines you should see around the cells of tables. Some are borders (Figure 4). Borders are seen when you print the document. You can change the borders, their thickness, color and style. Or you can delete them.
Figure 4: A new table with borders
Figure 5: A new table without borders, but showing Gridlines. (Gridlines are visual on-screen guides that don't print.)
Other lines you will see are Gridlines (Figure 5). These are like the Text Boundaries that show you where your margins are. Gridlines don't print. Gridlines show you where the table is, so you know where to type your text. If you don't see any kind of lines in your table, with your insertion point in the table, choose the Table Tools Layout Tab and click on "View Gridlines." (This is on the left end of the Ribbon tab.)
Sometimes, when Word inserts a new table, the table will have borders around all the cells (it depends on what version of Word and how your machine is set up). Sometimes it won't have borders, but you will still be able to see the gridlines. Sometimes it will have neither. As you can see from these screenshots (Figures 4 and 5), it's sometimes difficult to tell which is which.
There are several things to note here.
There are four things we need to do to this table:
Click in a cell to type in that cell. Use Tab to move from one cell to the next. Complete your table so it looks something like the following.
Information about this document¶
Characters in the story |
One fox, one dog. |
Action in this story |
Jumping |
Number of different letters used in the story |
26 |
There are three kinds of lazy dogs …
(Note: If you are in the last cell of a table, and you press Tab, Word will automatically create a new row. If you do that accidentally, and you don't want it, press Ctrl+Z to undo the last action.)
All of this text is Body Text. We can apply the style to the whole table at once.
To do that, click anywhere within the Table. Right-click and use Select > Table. You can also do this by using the Select menu on the left end of the Table Tools Layout tab. (Figure 6)
Figure 6 - from left end of Table Tools Layout tab
That will select (highlight) the whole table.
To apply the Body Text style, on the Home Tab pick the Body Text Style in the Gallery. (See the Addendum to the Concept 3 page if you don't see the Body Text Style.)
Your table may have borders around it. If so, we need to remove them. To do that, click anywhere within the table. Right-click and from the context menu that pops up select Borders and Shading. Click the None box, and then OK.
You will still be able to see the gridlines, which are the guides to help you see where your table is so you can manipulate it.
You can drag the vertical gridlines to change the horizontal position of the table, and to change the column widths.
Figure 7
Hover your mouse between columns.
When your mouse hits the sweet spot, the cursor changes to a double-headed
arrow.
You can now click and drag left or right to change the width of the column.
Click once anywhere within your table. (Make sure no text is highlighted.) Hover your mouse over any of the vertical gridlines (the left of the table, the right of the table, or the one between the columns).
When you hit the sweet spot, the cursor will change to a double-headed arrow pointing left and right (Figure 7). When you see that, click and drag to the left or right.
You can use this to manipulate your table to get the columns just the way you want them.
This page has shown you how to arrange text on the page using Tables.
Go to the
next Basic Concept,
or continue to read the Curiosity Shop box.
To add a row to the bottom of your table, click in the last cell and press Tab.
To insert a row in the middle of your table, click in the row where you want to insert the table. Choose Table > Insert > Rows Above or Rows Below. (In earlier versions of Word, choose Table > Insert > Row. Word will insert the row above the current row.) In Word 2013 and later, you can use the little plus sign that appears at the side of the table to add rows in the middle.
Click within the row you want to delete. Right-click within the row and choose Delete Rows.
To move a row up or down within a table, click in the row you want to move. Do Shift-Alt and up arrow to move the row up. Use Shift+Alt and down arrow to move the row down.
It's worth remembering the combination of Shift+Alt + an arrow key. The same combination can be used to move any paragraph of text up or down within the document. So remember it now: Shift+Alt + an arrow key.
Let's say you have a table with three rows: carrots, apples, bananas. You need to sort them into alphabetical order. To do this, click anywhere in your table, and on the Table Tools Layout tab choose Sort. You get several different options where you can choose how to perform the sort.
Word has lots of options on the Borders and Shading dialog box. You could create a table that looked like this, to use in a birthday party invitation:
When? | Saturday 16 October |
What time? | 7pm for 8pm |
Where? | 123 Smith Street |
Why? | It's my birthday |
What? | Drinks at 7pm, dinner at 8pm |
Click within your table, then right-click to choose Borders and Shading. Choose the Borders tab. In that dialog box, select your line styles, widths and colours. Apply those lines to all or part of a table by clicking on the example table in the dialog box. Click once to apply. Click again to remove the border.
In the Borders and Shading dialog on the Shading tab, you can add background shading to your table or to individual cells of the table. Note that some of the colours used in the example above aren't available in earlier versions of Word.
Let's say you have a table like the Budget / Actual / Variance table, above. But your table is much longer, and extends over several pages. You might like to have the "Budget Actual Variance" row appear at the top of the table on each page. To do this, put your cursor in the top row, and choose on the Table Tools Layout tab the option to "Repeat Header Rows."
See also: Using Tables for Organizing and Formatting in Microsoft Word