Showing posts with label Interfaces. Show all posts
Showing posts with label Interfaces. Show all posts

Tuesday, June 30, 2020

How to Centre Text and Numbers

You saw that by clicking inside of a cell it makes it active so that you can make changes. We want to centre all our numbers and the text. Here's the spreadsheet we have:

So we need cells A1, A2, A3 and A4 to be active. In Excel, you can do this by highlighting the cells.

  • Place your mouse over cell A1
  • Your pointer should now be in the shape of a white cross
  • When your pointer changes to the white cross, hold your left mouse button down and drag to cell A4
  • Let go of the left mouse button when cells A1, A2, A3 and A4 are highlighted
  • The image below shows what you are aiming for

The cells highlighted in the image above have a different colour to the normal white colour of a cell. When you highlight cells, you can do things to all the cells as a group.

To centre the text and numbers in our highlighted cells, try this:

  • From the Excel Ribbon at the top of the screen, locate the Alignment panel. Here's the Alignment panel in Excel 2007:

And here it is in Excel 2010 and 2013:

You can see the various alignment options laid out. These ones:

Hold your mouse over each alignment icon and you'll see an explanation of what they do. Click each icon and see what they do to your highlighted cells.

You can also click the arrow in the bottom right of the Alignment panel to bring up the Format Cells box (the one circled below).

When you click the arrow, you'll see this dialogue box:

Notice the Text Alignment section at the top of the Alignment tab. It has two drop-down menus, one for Horizontal alignment and one for vertical alignment.

  • Click the arrow on the Horizontal drop-down menu, the one with Left (Indent) on it
  • You'll see the following:

As you can see, you have plenty of options to choose from in Excel. But click on Center. Do the same for the Vertical drop-down menu. Then click OK at the bottom of the Format Cells dialogue box.

The text and numbers in cells A1, A2, A3 and A4 should now be centred, and your spreadsheet will look like the one below:

Before moving on to other types of formatting you can do in Excel, have a try of this:

  • Highlight the cells A5 and A6 on your spreadsheet
  • Bring up the Format Cells dialogue box, just as you did above
  • Make the alignment changes from the Horizontal and Vertical drop-down menus
  • Click OK to get rid of the dialogue box
  • Now click inside of cell A5 on your spreadsheet and enter any number you like
  • Hit the Enter key

The number you just entered should also be centred. So even if a cell is empty you can still apply formatting to it.

In the next part, we'll take a look at the various font formatting you can do in Excel.


How to Enter Text and Numbers in a Cell

To make a start, we'll create this really simple spreadsheet:

All we're going to be doing here is entering some text and some numbers. We're not adding anything up yet.

Before you tackle this first exercise, though, you may want to take note of the Undo feature, just in case you make a mistake. The Undo option is the left curved arrow, right at the top of your screen. This one for Excel 2007 users:

And this one for Excel 2010 and Excel 2013 users:

Click the left curved arrow to Undo something, and click the right curved arrow to redo it. The Undo arrow also has a dropdown box. Click the small arrow next to Undo to see the following:

This list is for multiple Undo's. Move your mouse down the list and click to undo several steps at once.

But back to the spreadsheet.

Click inside of the cell A1 on your spreadsheet, and do the following:

  • Type the word "Numbers" (with no quotation marks)
  • Hit the Enter key on your keyboard
  • The active cell will move down one, to cell A2
  • Type the number 3, and again hit the Enter key on your keyboard
  • The active cell will move down one, to cell A3
  • Now put the number 6 into cell A3, and the number 9 in cell A4
  • After you have typed the number 9, and hit the Enter key, you should see that cell A5 is now the active cell

You should now have a spreadsheet that looks like ours above.

The text we entered in cell A1 is known as a Heading. It's there just to tell you what the numbers mean. Except our heading doesn't tell us a great deal. Let's change it to something else. Click the link below to learn how to edit text in a cell.


The Rise of Remote Work: How it's Impacting Work-Life Balance

 In recent years, remote work has become increasingly popular among companies and employees alike. With advancements in technology and chang...