One of the most common things that is added to documents is a table. So, it makes sense that you know how to create the table the way you want it. Here we’ll look at pretty much everything related to tables. It’s a long post!
- Inserting a table
- Deleting a table
- Adding information to a table
- Inserting rows & columns
- Deleting rows & columns
- Column width & row height
- Distribute rows & columns equally (added recently)
- Vertical & horizontal alignment of cells
- Cell background colour
- Table borders
- Merging & unmerging rows & columns
- Cell padding
Inserting a table
1) Click on “Insert table”.
2) This opens a grid and with it you select how many rows and columns you want.
The biggest table you can make is 20 x 20, although you can add rows and columns to it later if you want.
You can also insert a table by going to “Insert” then “Table”.
Note, by default, the table will be the width of the page (margin to margin) and that all the columns are the same width and the rows are the same height.
Once a table is created, to edit the table all you need to do is, to right-click on the table and this brings up the table menu.
Most of the functions below initially start by going to this “Table” menu. The same menu can be accessed by going to the “Table” menu at the top of the screen.
Deleting a table
To delete an entire table, right-click on the table and select “Delete table”.
Adding information to a table
To add the information you want to the table, just click on a cell and start typing.
Inserting rows & columns
To insert a row to a table, right-click on the row where you want to add the row and choose either “Insert row above” or “Insert row below”.
This will automatically match the style of the row either above or below.
Inserting a column is similar, right-click on the column where you want to add the column and choose either “Insert column to the left” or “Insert column to the right”.
Note, Docs will automatically adjust the columns of your table, so it fits the width of the table.
Deleting rows & columns
To delete a specific row or column, right-click on the row or column you want to delete and select “Delete row” or “Delete column”.
You can also delete multiple rows or columns at the same time. Highlight the rows or columns you want to delete. Note, you don’t need to highlight the whole line just a cell in each row or column. For example, here I’ve only selected the bottom to cells on the left to be able to delete the bottom rows.
Column width & row height
Above I inserted a column and I want to name it “recommendation”, but the only problem is that the word ‘recommendation’ is a bit too long for the cell. So I need to adjust its size.
There are two ways you can change the column width or row height.
1) Hover over the border line you want to change, the cursor will change to two arrows. Then click and drag it to where you want it.
2) Or you can type in the specific width or height.
a) Right click on the column or row and select “Table properties”.
b) Check either the “Column width” or “Minimum row height box” and type in the size you want (in cm) and press “OK”.
Tip: This can be useful if you want to make a number of columns or rows the exact same size. In this case, highlight the rows or columns you want, then right-click to enter the “Table Properties”.
Note, the row height is called MINIMUM row height. This is because the row height can’t be smaller than your font size. If you try to make it smaller, it will reduce it to the size of the current font in that row.
Distribute rows and columns
Sometimes you want to change the column widths so that every column is the same width. There’s a quick way to do this. Select the table.
Go to Table and then click “Distribute columns”.
As you can see the columns are now the same width.
We can do the same with the rows, just this time click “Distribute rows”.
Here the top row is now the same height as all the other rows.
Vertical & horizontal alignment of cells
Using the table above, I want to centre all the columns. To do so, just select all the cells you want to change, then go to the toolbar and click on “centre”. It’s the same way as centring a piece of text.
Vertical alignment is useful if you have rows that are quite big and you want to position the text in the cells in a specific position.
Here I have my table and first I want to change the top row alignment, then the rows below.
1) Select the top row.
2) Right-click and enter the Table properties. Under “Cell vertical alignment”, normally by default it will say “Top”, click on this and select “Bottom”, as I want the text in this row to align along the bottom of the row. Press “OK”.
As you can see, it moved the text in top row from the top of the cells to along the bottom.
I also want to change the cells below. So I select all the cells below the first row, go back into Table properties and this time, select “Centre”. As you can see it’s centered those rows.
Cell background colour
So far, we have just a black and white table, which looks a little boring, so let’s add a little colour to it.
Select the top row and go to the border colour in the toolbar and you will be presented with the colour palette. Click on a colour.
As you can see it fills all the cells with that colour.
Alternatively, you could go to Table properties. Click on the box below “Cell background colour” from the colour palette, click on a colour and press “OK”.
Note, you can colour in individual cells, just click on the cell you want and follow the steps above.
By default, all the lines (borders) on the table are black and 1pt in size, but we can change the colour, thickness and style of these.
Changing all the borders
First, let’s change the colour, thickness and style to all the lines in the table.
1) Select all the cells.
2) In the toolbar, you have the shortcuts to border colour, thickness, and style.
Colour – Click on the colour you want
Thickness – Click on the size you want
Style – There are only 3 styles. Click on the one you want.
The alternative way, is to go to Table properties. Here you can change the border colour and thickness, but it’s quicker to use the toolbar, plus you have the option of the style.
Changing specific borders
I’ve come across a lot of people that didn’t realise this option existed, but Docs also allows you to change specific borders, so you can format your table exactly how you want it. Here you need to select which ones you want, then you edit them.
In this example, I’m going to add a thicker horizontal line to clearer show that groups 1 and 2 are separate, and then I’m going to add a thicker border all the way around the table.
1) Select the row you want.
2) In the cell on the right-hand side, click on the little triangle. This opens the line selecting menu.
3) I want the line below, so I click on the symbol in the middle to the right.
4) This selects the line.
5) Now, I want to edit it. When you select a line, the toolbar automatically changes and gives you three options, line colour, line thickness, and line style.
6) Here I just want to increase the thickness, so click on the icon and choose a larger number, e.g. 3pt.
As you can see, this has increased the thickness of that line, and it’s clear that group is separate from group 2.
You can also select multiple lines. This time I want to select the lines on the outside of the table.
1) Select all the cells and click on the little triangle in the top right-hand corner.
2) Select the top right icon.
3) This selects all the lines on the outside.
4) Go to the toolbar and select the line thickness you want, e.g. 6pt.
As you can see, it thickened the outside lines of the table.
Merging & unmerging rows & columns
Apart from the normal grid pattern, sometimes you want certain rows or columns to be a different length or height from the rest. For example, you may want a category name or a title. To do this you need to merge the cells together. In the example below, I’ve added a row at the top of my table and I want to add a title to it.
1) Select all the cells you want to merge.
2) Right-click and select “Merge cells”.
As you can see all the cells in the top row have been merged together as one long cell.
Now I add my title.
If you have a table that isn’t the width of the page, you may want to align it on the page, in a different way to the way your text is aligned. For example, generally I choose “justify” to align my text in the paragraphs, but if I have a table I often want it in the centre of the page. As you can see below the table is to the left of the page, which doesn’t look that good.
1) Right-click on your table and go to Table properties.
2) Under “Table alignment”, click on “Centre”.
This now centres the table on the page, but doesn’t affect the paragraph above it.
The final thing I want to show you is cell padding. This allows you to change the amount of space there is around your text in the cell. I usually use this if there is a lot of text in the cell. In the example below, I have my comments about a student and the text pretty much fills the cell. Let’s create a bit more space around it.
1) Right-click on the cell and go to Table properties.
2) Click on the box next to “Cell padding” and change the number (in cms).
As you can see, this has now created more space around the text, which may make it easier to read and look less cramp on the page.
eBooks available on Drive, Forms, Sheets, Docs, Slides, and Sheet Functions:
- “Beginner’s Guide to Google Drive” – iBooks store / Kindle store
- “Beginner’s Guide to Google Forms” - iBooks store / Kindle store
- "Beginner's Guide to Google Sheets" - iBooks store / Kindle store
- "Beginner's Guide to Google Docs" - iBooks Store / Kindle store
- "Beginner's Guide to Google Slides" - iBooks Store / Kindle store
- "Google Sheet Functions - A step-by-step guide" - iBooks Store / Kindle Store