Skip to main content

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:
A Simple Excel 2007 Spreadsheet
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 A1 to A4 have been highlighted
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:
Excel 2007 Alignment Panel
And here it is in Excel 2010 and 2016:
The Alignment panel in Excel 2010 and 2013
You can see the various alignment options laid out. These ones:
Alignment Options
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).
Click the arrow in the bottom right
When you click the arrow, you'll see this dialogue box:
The Format Cells dialogue box in Excel
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 General on it, in the image above
  • You'll see the following:
Horizontal alignment in Excel 2007
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:
The text and numbers are now centred
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.

Comments

Popular posts from this blog

Beginners PHP  -This is a complete and free PHP programming course for beginners. It's assumed that you already have some HTML skills. But you don't need to be a guru, by any means. If you need a refresher on HTML, then click the link for the Web Design course on the left of this page. Everything you need to get started with this PHP course is set out in section one below. Good luck! Home Page > PHP Section One - An Introduction to PHP 1. What is PHP and Why do I need it? 2. What you need to get started 3. Installing and testing Wampserver 4. Troubleshooting > PHP Two - Getting Started With Variables 1. What is a Variable? 2. Putting text into variables 3. Variables - some practice 4. More variable practice 5. Joining direct text and variable data 6. Adding up in PHP 7. Subtraction 8. Multiplication 9. Division 10. Floating point numbers > PHP Three - Conditional Logic 1. If Statements 2. Using If Statements 3....
Visual Basic .NET Contents Page   -This computer course is an introduction to Visual Basic.NET programming for beginners. This course assumes that you have no programming experience whatsoever. It's a lot easier than you think, and can be a very rewarding hobby! You don't need to buy any software for this course! You can use the new FREE Visual Basic Express Edition from Microsoft. To see which version you need, click below: Getting the free Visual Studio Express - Which version do I need? > VB .NET One - Getting Started   1. Getting started with VB.NET 2. Visual Basic .NET Forms 3. Adding Controls using the Toolbox Home Page 4. Adding a Textbox to the Form 5. Visual Basic .NET and Properties 6. The Text Property 7. Adding a splash of colour 8. Saving your work 9. Create a New Project >   VB .NET Two - Write your first .NET code   1. What is a Variable? 2. Add a coding button to the Form 3. Writing y...
The Excel SumIF Function  - Another useful Excel function is SumIF. This function is like CountIf, except it adds one more argument: SUMIF( range ,  criteria ,  sum_range ) Range and criteria are the same as with  CountIF  - the range of cells to search, and what you want Excel to look for. The Sum_Range is like range, but it searches a new range of cells. To clarify all that, here's what we'll use SumIF for. (Start a new spreadsheet for this.) Five people have ordered goods from us. Some have paid us, but some haven't. The five people are Elisa, Kelly, Steven, Euan, and Holly. We'll use SumIF to calculate how much in total has been paid to us, and how much is still owed. So in Column A, enter the names: In Column B enter how much each person owes: In Column C, enter TRUE or FALSE values. TRUE means they have paid up, and FALSE means they haven't: Add two more labels: Total Paid, and Still Owed. Your spreadsheet should look something li...