Creating Table: Lab Exercises and Solutions
Creating Table: Lab Exercises and Solutions
Creating Table
In a document you may want to enter some data, which is in tabular format.
For entering such kind of data you require a table. Following the given steps
to do so:
A table with 5 columns and 2 rows will be inserted into the document.
You can change the number of columns or the rows by making the
changes in the number of column and number of rows text box
respectively.
The table created above will have column cells of same width, as we have
selected the ‘Fixed column width’ radio button. Select ‘AutoFit to contents’
option if you want the column width to variable width depending on what
we enter into the cell.
The difference between the two types of behavior is shown in Fig.
1
If you don’t want the table of fixed width as well as AutoFit style , then you
can go for some predefined style. Perform following steps to AutoFormat
the table.
Click the check box ‘Set as default for new tables’ if you want the same format for
all the new tables created hereafter.
Instead of working with fixed column width and AutoFit width column, now
suppose you want to have the width according to your choice. To do so
follow the given steps:
8. Insert a table using any of the way discussed above.
9. Select the column for which you want to change the width.
10. Select ‘Table’ option from the Main Menu.
11. Click ‘Table Properties’ option.
12. Click ‘Column Tab’ .
13. Enter ‘4’ in the preferred width textbox.
14. Select ‘Measure in’ option as ‘Inches’.
15. Click ‘OK’ button.
The selected column will now have the width as 4”. The properties can be
changed for all the columns by using the ‘Previous column’ and ‘Next
column’ buttons.
As data keeps on changing, new data is bound to come in. For that we require
to add either columns or rows afterwards. So these are the steps for adding
columns or rows.
A blank column gets inserted either to the left of the existing column.
5. To insert a row repeat the first 3 steps given above.
6. Click either ‘Row above’ or ‘Row below’
A blank row gets inserted either above or below the existing row.
4.3 Deleting columns or rows from the table
To delete the columns or rows from the table do the following steps:
4. If you want to delete the entire table then click ‘Table’ option.
After the table is inserted you may want to enter two values in a single cell or
else you want to use the space of two cells to enter a single value for doing so
you have to split or merge the cells respectively. Perform the following steps
to do so:
The text is always left justified and starts from top most corner of the cell. You
can change this alignment with the help of table properties. Perform the
following steps to do so.
1. Select the cell for which you want to change the alignment.
2. Increase the cell height.
3. Select the ‘Table’ option from the Main Menu.
4. Click on ‘Table Properties’ option.
5. Click on ‘Cell’ tab. Screen as shown in fig will appear.
6. Click ‘Center’ from the vertical alignment group box.
7. Click ‘OK’ button.
Now whatever you type it will be displayed in the middle of the cell.
4.6 Changing text orientation
You can also change the direction of the text displayed in the cell. Usually it is
horizontal and from left to right . Perform the following steps to do so:
1. Select the cell for which you want to change the direction.
2. Select ‘Format’ option from Main Menu.
3. Click on ‘Text Direction’ option . Screen as shown in fig will be displayed.
NaAgeMark Ra Paper
mes nk
Office Auto matio
John
First
84
24
You may want to show some output by calculating the values from the other
cells. You can do this with the help of formula. Perform the following steps to
do so.
You can change the format of the output by changing the ‘Number format’
option.
You can also choose the functions with the help of ‘Paste Function’ option.