# Formatting Numbers and Worksheet in Excel

A worksheet in Excel is a collection of cells organized in columns and rows as in a table. A worksheet is a workspace where a user enters data and performs the necessary computations on data.

Worksheet in Excel 2016, is made up of 16384 columns and 1048576 rows with columns labeled from A to XFD.

Due to the size of an Excel worksheet, it is difficult to use all the cells in a worksheet. However, you can format data, convert a range to a table, print a range and entire worksheet. For example, the worksheet below displays data with different formatting, and a selection to be printed.

By default, Excel 2016 has one worksheet. You can add more sheets in a workbook, but one worksheet will always be active at a time. Protecting a worksheet restricts users from modifying its content.

When numeric data is entered in a worksheet, you can format them using available number formats. In this tutorial, we shall discuss how to format numbers and manage worksheets in excel.

## Formatting numbers in Excel

When you enter numeric data in an Excel worksheet, you have the liberty to format the cells. There are different number formats you can use when formatting numbers in excel. Some of them include currency, percentages, decimals, dates, and phone numbers.

### Number formats

There are 12 number formatting commands in Excel that you can use to format your cells in a worksheet. They include the following:

1. General: This is the default number format that Excel applies to every data entered in a worksheet, except explicitly specified.
2. Number: When formatting numbers you can use the number format to indicate a number. If this format is used, you can use a thousand separators and specify the number of decimal places.
3. Accounting: When used, it displays the currency symbol, a thousand separator, and rounds to 2 decimal places. However, it aligns the currency symbol to the left.
4. Currency: When used, it displays the currency symbol, a thousand separator, and rounds to 2 decimal places. However, it aligns the currency symbol with the number.
5. Percentage %: used to multiply a number by 100, and attaching the % sign.
6. Fraction: Used to display a fractional number.
7. Scientific: Is used to display a number in exponential notation thus, AE+n. For example, 6580025864 can be displayed as 6.58E+9.
8. Date: used to format date values of different formats.
9. Time: used to format time values.
10. Text: Converts content to text even if it is a number value. Values with the text number format cannot be used for computations.
11. Special: used to display numbers as zip code, and phone number. Formats are usually displayed in United States patterns.
12. Custom: Used to modify a number format. You can use it to add a number format of your choice. For detail about custom number formats, visit here.

### Apply a number format to a cell

1. Select a cell or range of cell
2. On the Home tab, under the Number group, select the dropdown arrow.
1. Select any of the number formats from the list
2. It will be applied automatically to the selected cell or range.

You can also, apply formatting to numbers by invoking the number dialog box. To open the dialog box, do any of the following:

1. Press CTRL+1 on the keyboard, and select the Number tab.
2. Click the number dialog box launcher on the Number group.
3. From the dropdown list on the Number group, select More Number Formats…
4. Right-click a cell or range of cells and select Format Cells… from the popup list
1. On the Home tab, under Cells, select Format. From the dropdown list, select Format Cells
1. When the dialog box appears, select the Number tab.
1. On the dialog box, choose a number format and the necessary features you want.
2. When done, click OK.

## Managing worksheets in Excel

Managing worksheet in Excel includes modifying worksheets for ease of use and access. You can insert, rename, copy or delete a worksheet in excel.

### Insert a Worksheet

Microsoft Excel 2016 has one worksheet by default. To include more than one worksheet in a workbook, you will need to insert more sheets. To insert a worksheet, do any of the following:

• On the base of the Sheet, select the (+) icon to the right of the last sheet in a workbook.
• On the Home tab, under Cells, select Insert. From the list, select Insert Sheet.
• Right-click an existing worksheet. From the popup list, select Insert. Select Worksheet on the dialog box that appears, and click OK.

### Rename a worksheet

To rename a worksheet, do any of the following:

• Double-click the sheet you want to rename. When the name is selected, delete the existing name and type a name of your choice.
• Right-click the sheet you want to rename. Select Rename from the popup list. Rename the selected sheet.

### Delete a worksheet

To delete a worksheet, do any of the following:

• Right-click the sheet you want to delete. Select Delete from the popup list. Select Delete from the dialog box that appears.
• On the Home tab, under Cells, select Delete. From the list, select Delete Sheet.

NB: If the sheet you are deleting does not have content, the sheet will be deleted outrightly. If the sheet has content, a dialog box will notify you that all the content will be permanently deleted.

### Move or copy a worksheet

To move a worksheet, select and drag the worksheet tab to any tab location of your choice.

To copy a worksheet, do the following:

1. Hold the CTRL key and drag the worksheet tab to a tab location of your choice.
2. Right-click the worksheet you want to copy.
1. From the popup list that appears, select Move or copy
1. From the dialog box that appears, select the Create a copy check box
• Under Before sheet, select where you want to place the copy of the sheet.
• Click OK when done.

### Hide/unhide a worksheet

If you want to hide a worksheet, do any of the following:

1. Right-click the sheet you want to hide, and select Hide from the popup list. The sheet will be automatically hidden.
2. On the Home tab, under the Cells group, select Format
1. From the format dropdown list, point to Hide & Unhide and select Hide Sheet.
2. The selected sheet will be hidden.

To unhide a worksheet, do the following:

1. Right-click any worksheet tab, and select Unhide from the popup list.
2. On the Home tab, under the Cells group, select Format.
• From the format dropdown list, point to Hide & Unhide and select Unhide Sheet.
3. In either case, a dialog box will appear.
1. On the dialog box, select the sheet you want to unhide and click OK.
2. The selected worksheet will appear.

## Grouping Worksheets in Excel

When you need to perform the same action in more than one worksheet, it’s easier to group them. Grouped worksheets make it easier to enter the same data in more than one worksheet at the same time.

For example, you can do any of the following, and more in a grouped worksheet.

• Enter the same data/ formula/ formatting in more than one worksheet at the same time
• Perform the same calculation in more than one worksheet
• Move, copy or delete more than one worksheet
• Print selected worksheets
• Correct similar typographic error in more than one worksheet

Grouping worksheets will help you save time and eliminate redundant data entry.

### Group worksheets together

To group a worksheet, the worksheets should have similar structures. Do the following to group worksheets:

1. Press and hold the CTRL key on the keyboard, and select the worksheets you want to group together
2. If the sheets are together, then, select the first sheet, hold the SHIFT key, and select the last sheet.
3. Start modifying the worksheets.
1. All changes will take place in all grouped worksheets at the same time.

### Move or copy a grouped worksheet

You can move a grouped worksheet by:

1. Clicking on a tab on the grouped worksheet
2. Drag the group to any tab location of your choice

To copy grouped worksheets:

1. Right-click any of the grouped worksheets you want to copy.
2. From the popup list that appears, select Move or Copy
3. From the dialog box that appears, select the Create a copy check box
4. Under Before sheet, select where you want to place the copy of the grouped worksheets.
5. Click OK when done.
6. The sheets are automatically copied to the chosen location.

### Ungroup selected worksheets

To ungroup selected worksheets:

1. Hold the CTRL key and select the sheet you want to ungroup.
2. To ungroup all grouped sheets, simply click on one of the sheets that are not grouped.

### Group all worksheets in a workbook

1. Right-click on one of the sheets tab.
2. From the popup list, select Select All Sheets
3. NB: When you group all worksheets, you can ungroup them by clicking on any of the sheets’ tabs. Hence, you cannot browse through the sheets when you grouped all worksheets. However, you can browse through grouped worksheets, if all sheets in a workbook are not grouped.
4. Youcan also ungroup all worksheets by right-clicking a sheet, from the popup list, select Ungroup Sheets.

### Deleting a grouped worksheet

• Right-click the grouped worksheet you want to delete. Select Delete from the popup list. Select Delete from the dialog box that appears.
• On the Home tab, under Cells, select Delete. From the list, select Delete Sheet.

### Hiding grouped worksheets

If you want to hide a grouped worksheet, do any of the following:

1. Right-click the grouped sheet you want to hide, and select Hide from the popup list. The grouped worksheets will be automatically hidden.
2. On the Home tab, under the Cells group, select Format
• From the format dropdown list, point to Hide & Unhide and select Hide Sheet.
• The selected sheets will be hidden.

### Unhiding grouped worksheets

To unhide hidden grouped worksheets, do the following:

1. Right-click any worksheet tab, and select Unhide from the popup list.
2. On the Home tab, under the Cells group, select Format.
• From the format dropdown list, point to Hide & Unhide and select Unhide Sheet.
3. In either case, a dialog box will appear.
4. On the dialog box, select the sheet you want to unhide and click OK.
5. Repeat the same process until you are done.

## Modifying Columns and Rows in Excel

As earlier discussed, the worksheet in Excel is made up of rows and columns. Columns are vertical cells that run from up to down. They have a column label that begins with A and ends in XFD.

Similarly, rows are horizontal cells that run from left to right. They have row numbers that begin with 1 and end in 1048576.

Both columns and rows play an important role in a worksheet because their combination gives birth to a cell. Also, the column label and row number are used as a reference or an address for every selected cell.

When working on a worksheet, there are columns and rows modifications that are necessary for effective management. In this section, we shall discuss how to insert, delete, hide and resize columns and rows in Excel.

### Inserting and Deleting Columns and Rows

Assuming you are working on a worksheet, and there is a need for you to add a column or row. For example, in the worksheet below, I want to add a column before Watts and a row before Fridge.

To achieve this, do the following:

#### To insert a column:

1. On the worksheet, select a cell on column C or the entire C column.
2. On the Home tab, under the Cells group, select Insert.
3. From the dropdown menu, select Insert Sheet Columns.
4. The column will be added, shifting the Watts column to the right. Hence, the new column becomes column C.
5. You can also, right-click on top of the Column C label. From the popup list, select Insert.

#### To Insert a row:

1. On the worksheet, select a cell on row 6 or the entire Row 6.
2. On the Home tab, under the Cells group, select Insert.
3. From the dropdown menu, select Insert Sheet Rows.
4. The row will be added, shifting Fridge Row down. Hence, the new row becomes row 6.
5. You can also, right-click on the row number “6”. From the popup list, select Insert.

The output of the above exercise is shown in the image below.

#### To delete a column/ row,

1. On the worksheet, select the columns or rows you want to delete or a range within the columns/ rows
2. Go to Home, under Cells, select Delete
3. From the dropdown menu that appears, select either Delete Sheet Columns or Delete Sheet Rows
4. The columns or rows will be automatically deleted.

### Inserting Multiple Columns & Rows

To insert more than one column or row in a worksheet, do the following.

#### For columns:

1. Highlight the number of columns you want to insert beginning from the insertion point, e.g., 4 columns
2. Hold down the SHIFT or CTRL key on the keyboard.
3. With the CTRL or SHIFT pressed, right-click one of the selected column labels
4. From the dropdown menu, select Insert.
5. The exact number of highlighted columns will be inserted, moving other columns to the right.

#### For rows:

1. Highlight the number of rows you want to insert beginning from the insertion point, e.g., 3 rows
2. Hold down the SHIFT or CTRL key on the keyboard.
3. With the CTRL or SHIFT pressed, right-click one of the selected row numbers
4. From the dropdown menu, select Insert.
5. The exact number of highlighted rows will be inserted, moving other rows down.

TIP: If the selected column or row has formatting applied, the new column/ row will inherit the formatting. To remove the formatting, select the Insert Options button on the inserted column/ row, and select Clear Formatting.

### Inserting & Deleting Cells

#### To insert cells,

1. Select the cell or range where you want to insert cell(s)
2. Right-click the selected cell(s), from the popup menu, select Insert
3. A dialog box appears
1. On the dialog box, choose either Shift cells right or Shift cells down.
2. You can also go to Home > Cells > Insert > Insert Cells...

#### To Delete a cell,

1. Select the cell or range you want to delete
2. Right-click the selected cell(s), from the popup menu, select Delete
3. A dialog box appears
4. On the dialog box, choose either Shift cells left or Shift cells up.
5. You can also go to Home > Cells > Delete > Delete Cells...

### Modifying cell width and height

1. Place the pointer on the line that divides two columns, the pointer changes to a cross.
2. Click and drag to the left (to reduce width) or to the right (to expand width)

You can also, adjust more than one column at the same time and with equal width by,

1. Select the cell, or range, or columns you want to adjust their width
2. Go to Home, under Cells, select Format
3. From the format, cells drop-down menu, select Column Width…
1. A dialog box appears, enter a width size, and press OK.
2. You can also choose AutoFit Column Width to fit columns according to the content width.

1. Place the pointer on the line that divides the two-row numbers, the pointer changes to a cross.
2. Click and drag to up (to reduce height) or to down (to expand height)

You can also, adjust more than one row at the same time and with equal height by,

1. Select the cell, or range, or rows you want to adjust their height
2. Go to Home, under Cells, select Format
3. From the format, cells drop-down menu, select Row Height…
4. A dialog box appears, enter a height size, and press OK.

### Hiding and Unhiding Rows and Columns

If you want to hide a column or row, do the following:

#### To hide column/ row

1. Highlight the columns/ rows you want to hide
2. Right-click the column label or row number, and select Hide from the popup list.
1. The sheet will be automatically hidden.
2. OR, On the Home tab, under the Cells group, select Format
• From the format dropdown list, point to Hide & Unhide and select either Hide Rows or Hide Columns.
• The selected column/ row will be hidden.

#### To unhide column/ row:

When you hide a column or a row, a double line appears where there is a hidden column/ row.

To unhide a column/ row do any of the following:

1. If only one column/ row was hidden, then, place the pointer on the double line and double-click. The hidden column/row will appear.
2. If more than one column/ row is hidden,
• Select adjacent columns/ rows between the hidden columns/ rows
• On the Home tab, under the Cells group, select Format.
• From the format dropdown list, point to Hide & Unhide and select Unhide Columns or Unhide Rows
3. All hidden columns/ rows will appear.

## Conclusion

Thank you for staying with me till the end of this tutorial. In case you have further questions please, contact us as soon as possible.

Today’s tutorial centered on working with a worksheet in Excel. We looked at formatting numbers, managing worksheets, and modifying rows and columns in Excel.

Please, do not forget to visit the previous tutorials in Microsoft Word and Excel, in case you missed them:

If this tutorial has helped you, kindly share it with friends and colleagues. Next week we shall look at What is cell referencing in Excel.