Microsoft Excel Book (2022)
Microsoft Excel Book (2022)
Microsoft Excel Book (2022)
As a small token of thanks for buying this book, I would like to offer a
FREE bonus gift to all my readers. I am offering a FREE online VBA
macros course called How to Record Macros in Excel.
Once you have completed the course you will be able to:
Automate Excel tasks easily
Save valuable time
Advance your Excel skills
You can register for this FREE online VBA course by clicking the link
below.
https://mailchi.mp/8b8d27df975c/how-to-record-macros-in-excel
Introduction
This book contains all the relevant information you need to work with
the latest version of Microsoft Excel. It provides clear step-by-step
instructions to use the many tools and functionalities Excel has to
offer and contains lots of screenshots so you can follow along very
easily. It is a no-nonsense book so users who have never used Excel
before can quickly get up to speed and become proficient in a matter of
days.
Version
This book uses the latest version of Microsoft Excel which is in Office
365. All the examples and screenshots are from the Excel version of
Office 365.
Final Word
I hope you enjoy reading this book as much as I have enjoyed writing
it. My goal in writing this book is to teach Excel to as many people
around the world as possible. After many years of working with Excel,
I still really enjoy using this wonderful software program and I am
learning new things all the time from using it. After reading this book,
I hope you enjoy using Excel as much as I do.
https://www.excelmasterconsultant.com/
Chapter 1: Introduction to
Excel
Let’s get started and introduce you to the wonderful world of Microsoft
Excel. Before we learn all the essential tools and functions of Excel, it
is important to understand what Excel is and why millions of people
use it all over the world.
What is Еxcеl?
Excel is a software program created by Microsoft and it allows users to
organise and format their data as well as make calculations using
various in-built formulas and functions. It is used all over the world by
businesses of different sizes. Excel is part of the Microsoft Office Suite
and is compatible with other Microsoft Office applications.
Business Analysis
Businesses gather various data in a daily, weekly, monthly, and yearly
basis such as product sales, spending on supplies, customer feedback,
meeting KPIs, website traffic and so on. Business analysis is essentially
analysing this data and converting it into something more meaningful
to make informed business decisions. For example, a business sends
out quarterly surveys to their customer regarding their service to
them. One person may continually give low scores. The business can
then follow up with that person to find out what the issue is and rectify
the problem.
Typical job examples who use Excel for business analysis include
Business Analyst, Business Planning Analyst, Claims Analyst, Business
Solutions Analyst, Data Analyst, Credit Officer, Financial Analyst,
Senior Portfolio Analyst.
People Management
Excel is a powerful tool to organise information about people, such as
employees, customers, and training attendees. Personal information
can be stored and retrieved quickly and easily. A row in Excel can be
used for each individual record and include information such as first
name, last name, email address, employee start date, items purchased,
and mobile number.
Typical job examples who use Excel for people management include
HR Analyst, Client Growth Coordinator, Client Relationship Manager,
Client Services Manager, HR Administrator, HR Advisor.
Managing Operations
Many businesses rely on Excel to manage their day-to-day operations.
They use Excel for example to manage inventory to check what
products are in stock and which are low in stock, so the operation
doesn’t grind to a halt. Many of the larger businesses pay high prices
for custom software for operation management but smaller businesses
who can’t afford these rely on Excel. The advantage of using Excel is
that you do not need to be highly technical which means more people
can use it. There is also less chance of bugs which some of the more
higher tech custom software solutions may be prone to.
Typical job examples who use Excel for managing operations include
Business Operations Analyst, Data Operations Manager, In Market
Supply Chain Analyst, Operations Business Analyst, Supply Chain
Specialist.
Performance Reporting
Performance reporting is another form of business analysis which can
be done by Excel. One way to convert data into showing performance
is by creating a pivot table. A pivot table is an interactive tool that
allows you to quickly summarise large amounts of data. By linking the
pivot table with your data, you can see useful information and
visualise performance. Pivot tables have numerous in-built functions
that allows a user to sum and count data.
Typical job examples who use Excel for performance reporting include
Financial Accountant, Forecast Analyst, Performance Analyst,
Reporting Analyst, Sales Coordinator, Sales Operations Analyst,
Reporting Development Analyst.
Note: Pivot tables are a very powerful tool in Excel, and I highly
recommend you learn this once you have read this book. I have written
a whole book on pivot tables called “Excel Bible for Beginners:
The Step-by-Step Guide to Create Pivot Tables to Perform
Excel Data Analysis and Data Crunching” which you can
purchase from Amazon. Click the link below for more details:
www.amazon.co.uk/Excel-Bible-Beginners-Analysis-
Crunching/dp/B08BF2V4R4
Strategic Analysis
Strategic analysis is often conducted using Excel where business
decisions are closely connected to the data and formulas in a
spreadsheet. Excel can guide actions such as investments and asset
allocations. An example of an action using strategic analysis includes
taking out currency insurance.
Typical job examples who use Excel for strategic analysis include Asset
Manager, Mergers and Acquisitions Valuations Analyst, Portfolio
Analyst, Portfolio Management Officer, Portfolio Administration
Associate.
Project Management
Projects are business activities that have a budget as well as a start and
end date. Although there are various project management tools and
software that Project Managers can use to make project plans, Excel is
a very effective alternative. Project plans can be created in Excel and
then be used to track progress to keep the project on schedule. A big
advantage of using Excel is that you can share the project plan to
others, as many people do not have access to custom project
management software.
Typical job examples who use Excel for project management include
Project Managers, Project Analyst, Project Assistant, Project Business
Analyst.
Managing Programs
A program is like a project, but the key difference is that it may be
ongoing and can depend on participation by users. Excel is a great tool
for managing programs. It can be adapted to handle specific
characteristics of a given program. Program records can easily be
managed by multiple people and then handed over to a new manager
when the time comes.
Typical job examples who use Excel for managing programs include
Events Coordinator, Learning and Development Officer, Programs and
Office Coordinator, Training Administrator.
Contract Administration
Excel allows you to record contract details such as dates in a contract,
specific milestones, deliverables, and payments. You can create your
own contract template or use the many that are available online and
then adapt it to your own needs.
Account Management
Maintaining customer records is a key requirement in account
management. Account Managers need to be competent in Excel so
they can store and update their customer records. The key role for
Account Managers is to nurture relationships with existing clients and
to achieve customer loyalty and repeat sales. Excel is used in account
management to share and maintain files.
Typical job examples who use Excel for account management include
Account Managers, Accounts Coordinator, Advertising Manager,
Digital Account Manager.
History of Excel
In this section I will provide a brief history of Excel and how it has
evolved over the years. We normally take Excel for granted as many
large and small organisations use it daily to store data, record financial
information, create applications and models and much more but very
few of us know its origins.
VisiCalc
The very first electronic spreadsheet was VisiCalc which was created
by Dan Bricklin, a Harvard Business School student in 1978. It had a
total of five columns and twenty rows. Although the matrix was tiny
compared to today’s Excel, VisiCalc was a huge success. VisiCalc could
perform basic mathematical operations, automatic recalculations and
scrolling.
SuperCalc
After VisiCalc along came SuperCalc in 1980. SuperCalc was published
by Sorcim, and it is best remembered for being the first electronic
spreadsheet program to solve circular references.
Multiplan
Microsoft came to the scene and the first spreadsheet program they
developed was Multiplan in 1982. Whereas the other spreadsheet
programs used the A1 cell referencing, Multiplan used R1C1 cell
references. It was a difficult program to learn and use and never really
took off in the United States.
Lotus 1-2-3
Mitch Kapor and Jonathon Sachs created Lotus 1-2-3 in 1983 and it
proved to be an instant success despite its $495 price. It quickly
outsold VisiCalc and became the number one spreadsheet program.
Lotus 1-2-3 offered charting, graphing and database operations.
Excel Versions
Excel 1.0
Released in 1985 this was the first spreadsheet program to use a
graphical interface, pull down menus and a point and click capability.
This first version was only released for Macintosh.
Excel 2.0
This was the first version for Windows and appeared in late 1987. This
version included a runtime version of Windows because Windows was
not widely used at the time. The runtime version was a special version
with just enough features to run just Excel and nothing else.
Excel 3.0
Excel 3.0 was released 3 years after Excel 2.0 in 1990 and was a vast
improvement on its previous version. It included toolbars, drawing
capabilities, worksheet outlining, add-in support, 3D charts and much
more.
Excel 4.0
This was the first popular version of Excel as Windows increased in
popularity. This version was released in 1992 and included many new
features, better mouse implementation, more shortcuts, customizable
toolbars, and the fill handle was first introduced.
Excel 5.0
Released in early 1994, this version was a big upgrade from the
previous version and included multi-sheet workbooks, and the new
Visual Basic for Applications (VBA) macro language to allow you to
automate Excel tasks.
Excel 95
Also known as Excel 7.0 (there was no Excel 6.0) this was released in
1995. This was the first major 32-bit version of Excel. There were no
other major external changes from Excel 5.0 although it was more
stable and faster.
Excel 97
Excel 97 was also known as Excel 8.0 and was released in 1997. This
version probably offered the most significant upgrades ever. Excel 97
introduced the paperclip office assistant; the toolbars and menus had
a new look and the number of rows available quadrupled. The user
interface for VBA also had a major uplift.
Excel 2000
Also known as Excel 9.0, Excel 2000 was released in 1999. In this
version the clipboard was improved so it could hold multiple objects at
a time. The Excel self help repair feature was also introduced. Another
advancement from the previous version was the ability to use HTML
as an alternative file format.
Excel 2002
This was part of Microsoft Office XP and was released in 2001. Also
known as Excel 10.0 this version’s main new feature was the ability to
save your work when Excel crashed. It also recovered corrupt
workbook files that may have been abandoned years ago.
Excel 2003
Also known as Excel 11.0 this version offered very few new features.
Released in 2003, the main new addition was the ability to import and
export XML files. It also introduced a new List range and smart tag
enhancements.
Excel 2007
Released in early 2007, its official name is Microsoft Office Excel
2007, but it is also known as Excel 12.0. This version offered the most
significant change since Excel 97 mainly due to a new user interface
called the ribbon. There was also a change to Excel’s default file
format. It introduced the .xlsx and the .xlsm format for workbooks
that contained macros. Microsoft also made enhancements to the List
range which was first introduced in Excel 2003. The number of rows
and columns were significantly increased, and charts had a major face
lift.
Excel 2010
Excel 2010, also known as Excel 14.0 (there was no Excel 13.0) was a
major upgrade from Excel 2007 and was released in 2010. It offered
new features such as extended image editing capabilities, Sparkline
graphics, improved pivot tables, ability to customise the ribbon and
more conditional formatting capabilities.
Excel 2013
Released in 2013, this version is also known as Excel 15.0 and includes
new features such as Power View, Flash Fill and many more.
Excel 2016
Excel 2016 was released in 2015 and is also known as Excel 16.0. This
was included in Microsoft Office 2016 and includes many new features
from Excel 2013. Some new features included Power Query
integration, keyboard access for pivot tables and slicers in Excel, new
chart types, quick data linking in Visio, Excel forecasting functions and
many others.
.xls
This extension is the most common and default type in the
sprеadshееt generated by Microsoft Officе. Prior to Еxcеl 2007, the file
extension was XLS. This file refers to a file which contains all typеs оf
information including data, formats, graphics, etc.
.xlsx
This file is used by the sprеadshееt filеs gеnеratеd with Еxcеl vеrsiоn
2007 оnwards. Fоr an Еxcеl filе, thе currеnt dеfault filе еxtеnsiоn is
XLSX.
.xlsm
This filе typе is gеnеratеd by thе sprеadshееt with Excеl vеrsiоn 2007
оnwards including Еxcеl macrоs. With thе hеlp оf this еxtеnsiоn, its
еasy tо establish that thе filе cоntains a macrо. Due to sеcurity rеasоns
and fоr prоtеcting a filе with cоmputеr virusеs, maliciоus macrоs,
infеcting cоmputеrs, еtc this vеrsiоn came intо еxistеncе.
.xlsb
If Excеl filеs cоntain a largе amоunt оf data оr infоrmatiоn, this filе
еxtеnsiоn typе fully suppоrts in thе cоmprеssiоn prоcеss, saving,
оpеning, etc. An Excеl filе which cоntains a largе amоunt оf data takеs
a lоt оf timе in оpеning and prоcеssing that filе. Sоmеtimеs while
оpеning it gеts hangеd and frequently crashes.
Tabs
There are nine tabs in the Excel ribbon by default. These are File,
Home, Insert, Page Layout, Formulas, Data, Review, View
and Help. The Home tab is the default tab when Excel is open. You
can also unlock another tab called Developer. This tab is specifically
for more advanced Excel users who like to create or edit macros in
their workbooks or to insert various control buttons in their
worksheets.
Groups
Within each tab contains groups. The groups are related to the tabs
main purpose of activity. Within each group contains command
buttons that are related to the group they are in.
Command Buttons
Command buttons allows you to perform actions or open menus for
further actions. Now let’s go through each tab from left to right to
understand each of their features.
File Tab
The File tab gets you to the backstage view of all the commands that
are related to your workbook. For example, you can open a new
workbook, save a workbook, and print a workbook. You can also
access the Excel options where you can change various settings in
Excel.
Home Tab
The Home tab is the most used tab in Excel. This tab contains the most
widely used and essential commands in Excel. Here you can perform
formatting, change font types and sizes, change alignment of text,
perform conditional formatting, insert, or delete rows and columns,
sort, and filter as well as copy and paste.
Insert Tab
Here you can insert various items in your worksheet such as pivot
tables, tables, shapes, pictures, charts, sparklines, symbols and text
boxes.
Formulas Tab
This is where all the main Excel functions are categorised under the
Functions Library group. You can also perform error checking if any of
your formulas returns an incorrect result.
Data Tab
This tab allows you work with data in your worksheets. You can
connect to external data sources, perform filtering and sorting, refresh
pivot tables and remove duplicate values. You can also perform more
advanced features such as What If Analysis and Text to Columns to
split your data in different columns.
Review Tab
In the Review tab you can perform spell checks, access the Thesaurus,
add comments and notes, translate languages, and protect your
worksheets and workbook. The main purpose of this tab is to protect
data integrity.
View Tab
The View tab allows you to control how you view the worksheet. You
can turn on and off the gridlines, formula bar and the headings. You
can also freeze panes and switch windows as well as zoom in and out.
Help Tab
This tab gives you access to Microsoft support and search for help. It
also allows you to provide feedback.
Developer Tab
I mentioned earlier that there is a hidden tab which you can unlock
called Developer. I will show you how to unlock this tab later in this
section. The reason why this tab is hidden is because it is mainly used
for advanced users and beginners will rarely need this tab. You will use
the Developer tab to record and create macros. You can also access the
Visual Basic Editor (VBE) as well as insert control buttons in this tab.
3) Click on any of the tabs in the ribbon and then click the Pin
the Ribbon button which is located on the bottom right corner
of the ribbon.
4) Right click any of the tabs and choose Collapse the Ribbon
again from the menu.
Customise the Ribbon
You can add or remove tabs in the ribbon. As I have mentioned earlier,
the Developer tab does not display in the ribbon by default. You can
access this tab by following the below steps.
1) Click on the File tab in the ribbon to get to the backstage view.
Click on Options on the left-hand pane. The Excel Options
dialog box will appear. Select Quick Access Toolbar on the
left-hand side of the dialog box.
Whichever method you use, the Quick Access Toolbar dialog box
will appear.
How to Add a Command to the QAT
You can add all sorts of commands to the QAT, including macros and
even commands that are not in the ribbon. To add a command, follow
these steps.
Method 1
Right-click the command in the QAT and then select Remove from
Quick Access Toolbar.
Method 2
Access the Quick Access Toolbar dialog box and then select the
command you want to remove from the right-hand pane. In this
example I want to remove the Bold command, so I select Bold. Next
click on the Remove button which is located between the left and
right pane. Finally press the OK button to remove the command.
Rearrange Commands on the QAT
You can change the order of the commands in the QAT. To do this
simply access the Quick Access Toolbar dialog box. Select the
command in the right-hand pane you want to move and then click the
Move Up or Move Down arrows which are located on the right.
Once you have changed the positions of the commands then click the
OK button.
1) Number
2) Text
3) Logical
4) Error
Numerical data types are most often used to signify a numerical value
such as the number of products a store sells a month, the length of a
product, the percentage of people who have filled in a questionnaire
and much more.
Numerical data types can also be used to represent dates. For example,
5th March 1985 is interpreted by Excel as a numerical value of 31111.
This is because in the world of Excel, the world started on the 1st of
January 1900. Excel will convert this date as 1. Dates are converted to
numbers so that Excel can calculate the number of years, months, and
days between dates. 5th March 1985 is 31110 months ahead of the 1st of
January 1900.
Times in Excel are also stored as numbers. For example, 09:45 is
stored as 0.40625 because Excel treats times as a fraction of a day.
Again, like with dates, this means Excel can calculate the difference
between different times.
You can also differentiate the value of a number from the way it will be
shown in Excel. If I take the example above about the dates, you will
not want the date to be shown as 31111 as you or whoever is viewing
the worksheet would not understand what this number means.
Instead, you can change the way this numerical value looks like by
choosing a date format such as 05/03/1985 or 05/03/85 or 5 March
1985 or any other date formatting options Excel provides. You will
learn how to format numbers later in the book.
Error data types are often displayed by a hash symbol (#) and then
uppercase text followed by a question mark (?) or exclamation mark
(!). Like with logical data types, error data types cannot be entered
manually, and they show up because of an error in a formula. Error
data types are useful because when they show, you know an error has
occurred and you can then fix it.
To conclude, all these data types are useful in their own ways, and
when used properly, users can use Excel more effectively.
Chapter 2: Getting Started
with Excel
Now that you have a general understanding of what Excel is and why
we use it, let’s delve a bit deeper and get you started with Excel. In this
chapter you will learn all the essential things you need to learn to get
you up and running with Excel.
You can open an existing workbook by clicking Open from the left-
hand pane from the Excel Start Screen.
How to Save a Workbook?
It is very important that you save your workbook whenever you start a
new workbook or make changes to an existing workbook. Saving
regularly is good practice just in case the worst happens, and Excel
crashes and all your hard work is lost.
There are two main ways to save a workbook in Excel which are:
You also use Save As when you want to create a copy of your
workbook and keep the original. For example, if you have a
workbook called Employee Data, you can save it as Employee
Data2 so you can edit the new workbook and refer back to the
original workbook. If you do this, then you will need to
remember to choose a different workbook name and/or location
for the copied workbook.
1. Save – When you are making edits to your workbook you
click on the Save button to save your changes. You will use
this command most of the time.
I will now show you how to save your workbook using the two
methods mentioned above.
Using Save As
1. Click on the File tab in the ribbon.
1. The Save As dialog box will appear. Type a name for your
workbook in the File name field. You can also choose to
save your workbook in a variety of different file types from
the drop-down box in the Save as type field. Finally,
choose the location of where you want to save the workbook,
either on your desktop or in any of your folders.
If you save the workbook using either of the first or second methods
and the workbook hasn’t been saved before then the Save this file
dialog box will appear. You need to give your workbook a name in the
File Name field. You also need to choose a location on your computer
to save the workbook using the drop-down box in the Choose a
Location field. Finally, click on the Save button to save the
workbook.
If you use the third method to save the workbook but the workbook
has not been saved before then you will be taken to the backstage
view and you will have to save the workbook using the Save As
method from step 3 onwards.
Method 1
Just click on the Close button which looks like a cross and is located
on the top right of the window.
Method 2
You can also use the keyboard shortcut Ctrl + W to close the
workbook.
Method 3
If you have more than one workbook open, then closing each
individual workbook can be time consuming if you have many open. A
quicker way to close more than one workbook is to hold the Shift key
while pressing the Close window button. This will close all open
workbooks at the same time.
Method 4
You can also add the Close All button to the Quick Access Toolbar
(QAT) to close all open workbooks. If you are unfamiliar with the QAT
and do not know how to add commands to it, then please see the
section on the QAT in chapter 1 to learn how to do this. This button
performs the same action as the one I mentioned for method 3.
What is a Worksheet?
So far in this chapter, I have talked about workbooks. In this section I
will explain what worksheets are. Worksheets are contained in a
workbook. It is basically a collection of cells where all your data and
formulas are stored. A cell can contain numbers, text, or formulas. By
default, Excel has three worksheets, but you can add or delete the
number of worksheets in a workbook. You will learn how to do this
later in the book.
When the cell is active, you can edit the cell or enter numbers, text, or
formulas in it.
In the next chapter, I will explain how you can manipulate worksheets
such as inserting and deleting rows and columns, adding, and deleting
worksheets and adjusting row heights and column widths. For now, it
is important to understand what worksheets are.
What is a Range?
In the previous section about worksheets, you learnt that a cell is an
individual rectangular grid in a worksheet. Each cell references a
column and row such as D4. A range is a collection of two or more cells
in the worksheet that are selected or highlighted.
Range Names
Ranges are very important in Excel as you use them to create formulas
and charts. To make ranges easier to work with you can name them.
You can then use the range name instead of the range address in your
formulas. Using range names is good practice as you can describe what
the text or numbers signify in a range. For example, if the range A1:A5
contains Salespeople names, you can name this range “Salespeople”.
You can then use this range name in your formula, so it is easier to
understand what the formula is referencing.
3) In the New Name dialog box enter the name you would like
to call the range in the Name field. In this example, I have
called it “Sales”. Then press the OK button.
Now, when I select the range, the name of the range appears in the
Name Box. You can also select the name in the Name Box which will
highlight the range.
There is also a quicker way to create a named range. For the quicker
method, follow these steps.
2) Type the name of the range in the Name Box and then press
Enter on your keyboard.
1) Move the cell pointer to the required cell and then start typing.
As you type the data, you will notice it will display in the
selected cell as well as in the Formula Bar. The Formula Bar is
located above the column headers.
2) Once you have entered the data in the cell, press the Enter
key. The cell pointer will move down to the cell below.
Note: When you start typing data in a cell and then press the Esc key,
the data will not be entered.
To replace data with new data, simply select the cell and start to type.
The new data will overwrite the old data in the cell.
Using Undo and Redo
Sometimes, when you start to enter data, you realise that you have
made a mistake. You can go back to where you were before you made
the mistake by using the Undo button. The Undo button will undo the
last thing you did. You can keep on pressing the Undo button up to
100 times. The keyboard shortcut is Ctrl + Z.
If you have gone one step too far back, you can click the Redo button
to go forward a step again. The keyboard shortcut is Ctrl + Y.
The Undo and Redo buttons are in the Quick Access Toolbar. They are
one of the most useful and commonly used command buttons in Excel.
Overlapping Data
One thing to be aware of is that when you enter data that does not fit
the size of a cell, it looks like it has overlapped into the next column.
In the example above, we can see the text in cell B2 looks like it has
overlapped into the next column in cell C2. When I select cell B2, the
full text is shown in the Formula Bar. Cell C2 is in fact empty.
If you are not entering any data in the next column where the data is
overlapping, then you may just want to leave it as it is. However, when
you start to enter data in the overlapping column, then it looks as if
part of your data has gone missing.
In the above example, we can see that part of the text in cell B2 looks
like it has been cut off when I entered text in cell C2. The full text is
still in cell B2, it is just that the text in cell C2 is hiding the text in cell
B2. To view the full contents in the cells, you can adjust the column
width. You will learn how to do this later in the book.
The fill handle is located on the bottom right of the active cell and
looks like a small green square. When you hover your mouse over it,
the pointer will turn into a plus sign (+).
How to use the Fill Handle
To use the fill handle to copy cells down a column, follow these steps.
1) Select the cell you want to copy down. In this example, I want
to copy down the number 1 in cell A1, so I select cell A1.
2) Hover your mouse on the bottom right edge of the active cell
until you see a plus sign (+).
3) Left click the mouse and drag it down to the last cell you want
to copy down to. In this example, I have dragged the fill
handle down to cell A10 and the number 1 has been copied
down.
To copy cells across or up, simply follow steps 1 and 2 but for step 3,
just left click the mouse and drag the mouse across or up, depending
on which direction you want to copy.
Let’s say you have a worksheet that contains the numbers 1 and 2 in
cells A1 and A2. You can use the fill handle to insert numbers up to the
desired number in increments of 1.
The above example shows how the fill handle completes numbers in
increments of 1. The fill handle can also complete lists based on
patterns it detects in a worksheet.
In this example, we have the number 1 in cell A1 and 5 in cell A2. The
difference between the two numbers is 4.
You can use the fill handle to insert numbers in increments of 4 as
shown above.
Another great way to use the fill handle is to autofill weekday names.
In cell A1, we can see it contains the text “Mon”. You can use the fill
handle to populate the rest of the days in the week.
In the above example, Tue to Sun has been populated in the range
A2:A7. This performs in the same way for full weekday names too. For
example, if cell A1 was “Monday” then it will fill cell A2 as “Tuesday”,
cell A3 as “Wednesday” and so on.
You can also autofill dates too using the fill handle.
Fill Days: This fills the list with days, and it will go up in increments
of 1.
Fill Weekdays: When you select this option, it fills the list with
weekdays only and removes the weekends.
Fill Months: This fills the cells with incrementing months. The day
number will stay the same, but the month number will change.
When the Excel window is maximised, the Maximise button turns into
the Restore Down button.
Now you know where the buttons are located, I will explain what
maximise, minimise, and restore down actually mean.
Minimised State
When you click the Minimise button, the Excel window is not visible
on the screen. It is minimised to remain on the windows taskbar.
Maximised State
When the Excel window is maximised, it fits the full size of the screen.
Restored State
Restored state refers to the window state when the Excel window is
restored to its original size. The restored window state makes the size
of the Excel window smaller than the maximised state. When the Excel
window is in a restored state, you can resize the window by clicking
and dragging the top, bottom, or sides of the window. When the Excel
window is at restored state, use the maximise button to maximise the
Excel window.
When you click on 100% which is located to the right of the plus sign
(+), the Zoom dialog box will appear. You can click on any of the
magnification buttons from 200% through to 25% to set your zoom
level. You can also set your own zoom level by entering a percentage in
the Custom field.
Once the QAT dialog box is open, select All Commands from the
drop-down box in the Choose commands from field. Scroll all the
way to the bottom in the left-hand pane until you see the Zoom In
and Zoom Out buttons. Select Zoom In and then click on the Add
button. Do the same for the Zoom Out button and then press the OK
button.
Chapter 3: Managing your
Worksheets
In this chapter you will learn everything you need to know about
managing worksheets in a workbook. When you work with Excel, most
of your time will involve working with worksheets. It is vitally
important therefore that you know all the tools, functions and features
that will help you manage your worksheets quickly and efficiently.
Method 1
From the ribbon click on the Home tab. Under the Cells group click
on the downward arrow to the right of the Insert button. A list of
options will appear from the menu. Click on Insert Sheet.
Method 2
Right-click any existing worksheet tab and a shortcut menu will
appear. Select Insert from the menu.
The Insert dialog box will appear. Click on Worksheet and then the
OK button.
Method 3
Click on the plus sign (+) which is located at the bottom of the
worksheet next to the worksheet tabs.
Method 4
You can also use keyboard shortcuts to insert new worksheets in your
workbook. To use the shortcuts, do the following:
2) Shift + F11
Deleting Worksheets
As well as inserting new worksheets, you can also just as easily delete
unwanted ones. There are three main methods to delete worksheets.
Method 1
In the ribbon click on the Home tab. Under the Cells group click on
the downward arrow to the right of the Delete button. A list of
options will appear from the menu. Click on Delete Sheet.
Method 2
Right-click the worksheet tab you want to delete. A shortcut menu will
appear. Select Delete from the menu.
Method 3
You can also use keyboard shortcuts to delete worksheets in your
workbook. To use the shortcuts, do the following:
1) Right-click + D
Right-click the worksheet you want to delete and press D on your
keyboard.
2) ALT + H + D +S
You would need to press these keys in succession, one after the
other.
Naming Worksheets
Having multiple worksheets in your workbook makes your workbook
organised and structured. For example, you can have different
worksheets for different months of the year, for different years, for
different Salespeople or for different regions. The standard default
worksheet names are ‘Sheet1’, ‘Sheet2’, ‘Sheet3’ and so on.
Fortunately, you can name your worksheets to make them more
meaningful. There are three main ways to rename your worksheets.
Click on the worksheet tab you want to rename. In the ribbon click on
the Home tab. Under the Cells group click on the Format button. A
list of options will appear from the menu. Click on Rename Sheet.
This will put the selected worksheet tab in edit mode where you can
then rename the worksheet.
Double-click the worksheet tab with your mouse. This will put the
sheet name in edit mode. You will know that it is in edit mode as the
worksheet name will be greyed out. Next, type the new name of the
worksheet and then press Enter or click anywhere in the worksheet to
confirm the name.
If you have multiple worksheets and you want to rename each one,
then you must follow the above process for each worksheet.
1) Right-click with the mouse the tab you want to format. In this
example, I first want to colour the “Jan Data” tab, so I right-
click this tab.
3) Follow the same process for the other tabs you want to colour.
In this example, I chose red again for the “Feb Data” and “Mar
Data” tabs and blue for the “Jan Sales”, “Feb Sales” and “Mar
Sales” tabs.
If you feel you don’t have enough colours to choose from then Excel
can give you more choice.
When you right-click the worksheet tab you want to format, select Tab
Color from the shortcut menu and then click on More Colors.
The Colors dialog box will appear. You can then choose from a
greater variety of colours. Once you have selected a colour, press the
OK button.
If you want even more colour choice, then click on the Custom tab in
the Colors dialog box. You can then move your mouse curser across
the different colours in the square under Colors. You can also type a
number between 0 to 255 in the Red, Green and Blue fields to create
your own colours. Once you are happy with the colour which is shown
under New in the bottom right of the dialog box, press the OK button.
The Red, Green and Blue, also known as RGB, consists of layers of red,
green, and blue. Each is coded on levels between 0 to 255. For
example, black corresponds to the levels R=0, G=0, B=0. White
consists of the levels R=255, G=255, B=255.
2) Press the left mouse button and then drag it to the new
position.
3) Once you have dragged the tab to the new location, release the
left mouse button.
Hiding Worksheets
You can hide worksheets to remove it from view. People often do this
to clean and declutter their workbook. It also offers some form of
protection. For example, a worksheet may contain formulas and you
want to hide this from view to avoid people editing it or deleting it by
accident.
The steps above will hide one worksheet. However, what if you want to
hide multiple worksheets? Simply hold the Ctrl key and then select
the worksheet tabs you want to hide one by one. The tabs will turn
white as shown above. You can then follow the above steps to hide the
worksheets.
Unhiding Worksheets
When you have hidden a worksheet, it is very easy to unhide them too.
To unhide a worksheet, follow these steps.
One thing to note about unhiding worksheets is that you can only
unhide one worksheet at a time. To unhide other worksheets, you will
need to follow the above steps each time.
Making Worksheets Very Hidden
In the previous section, you learnt how to hide worksheets. This is
great when you want to tidy your workbook. However, if you want to
hide confidential information such sales, profits, or employee wages
then the hidden worksheets can easily be unhidden by anybody who
knows how to do it. What many people don’t know is that you can also
make your worksheets very hidden. The difference between making
your worksheet hidden and very hidden is that very hidden worksheets
do not show up in the Unhide dialog box when you try to unhide them.
1) Click on the Developer tab and then under the Code group
click on the Visual Basic button to access the Visual Basic
Editor. You can also press the shortcut keys Alt + F11 to
access the Visual Basic Editor.
Inserting a Row
There are three ways to insert a new row:
1) Select the entire row where you want to insert a new row by
clicking on the row header number. In this example, I want to
insert a new row in row 5 so I select row header 5.
2) Go to the Home tab and under the Cells group click on the
Insert button. You can also select the arrow next to the Insert
button and select Insert Sheet Rows from the menu.
1) Select the entire row where you want to insert a new row by
clicking on the row header number. In this example, I want to
insert a new row in row 5 so I select row header 5.
If you want to insert multiple rows at once, then simply select the row
header numbers first and choose one of the methods above. For
example, I want to insert four new blank rows from row 4 so I select
row headers 4 to 7.
There are now four new blank rows inserted from rows 4 to 7.
Inserting a Column
Just like with inserting rows, there are three ways to insert a column:
1) Select the entire column to the right of the position where you
want to insert a new column. You do this by selecting the
column header letter. In this example, I want to insert a new
column in column D, so I select the column header D.
2) Go to the Home tab in the ribbon and under the Cells group
click on the Insert button. You can also click on the arrow
next to the Insert button and select Insert Sheet Columns
from the menu.
1) Select the entire column to the right of the position where you
want to insert a new column. You do this by selecting the
column header letter. In this example, I want to insert a new
column in column D, so I select the column header D.
2) Right-click your mouse and then from the shortcut menu
select Insert.
When you delete a column, all the cells to the right of the
deleted column shifts to the left.
Deleting a Row
Like with inserting rows, there are three methods to delete a row:
3) Row 5 has been deleted. Notice that the cells below the
deleted row have shifted up one row.
To delete a row using keyboard shortcut keys then select the entire row
where you want to delete a row by clicking on the row header number.
Then press Ctrl + Shift + the minus sign (-).
If you want to delete multiple rows, you do this in the same way as
inserting multiple rows. Simply select the row header numbers first
and choose one of the methods above. For example, I want to delete
four rows from row 4 so I select row headers 4 to 7.
Deleting a Column
Just like with deleting rows, there are three ways to delete a column:
2) Go to the Home tab in the ribbon and under the Cells group
click on the Delete button. You can also click on the arrow
next to the Delete button and select Delete Sheet Columns
from the menu.
3) Column D has been deleted. Notice that the cells to the right
of the deleted column have shifted to the left by one column.
To delete a column using the mouse, follow these steps.
If you want to delete multiple columns at once, then simply select the
column header letters first and choose one of the methods mentioned
above. For example, I want to delete three columns from column B, so
I select column headers B to D.
Columns B to D have been deleted.
Hiding a Row
To hide a row using the ribbon, follow the below steps.
1) Select the row or rows you want to hide. In this example I
want to hide rows 4 to 6 so I select the row headers 4, 5 and 6
to select the entire rows.
2) Click on the Home tab in the ribbon. Under the Cells group
click on the Format button. From the menu select Hide &
Unhide. Another menu will appear. Select Hide Rows.
1) Select the row you want to hide. In this example I want to hide
rows 4 to 6 again so I select the row headers 4, 5 and 6 to
select the entire rows.
If you are using the ribbon method, you need to ensure you select
Hide Columns and not Hide Rows from the menu. In the above
example, I want to hide the salary information in column D, so I click
on the column D header. I then select the Home tab and under the
Cells group I select the Format button. I then select Hide &
Unhide from the menu and then Hide Columns.
1) Select the entire rows which are above and below the hidden
rows. In this example, rows 4 to 6 are hidden so I select the
row 3 and 7 headers.
2) From the ribbon, click on the Home tab. Under the Cells
group click on the Format button and then from the menu
select Hide & Unhide. Another menu will appear. Select
Unhide Rows.
3) Rows 4 to 6 are now unhidden.
To unhide a row or multiple rows using the mouse then follow these
steps.
1) Select the entire rows which are above and below the hidden
rows. In this example, rows 4 to 6 are hidden so I select the
row 3 and 7 headers.
2) Right-click your mouse and from the shortcut menu select
Unhide.
One thing to note is that while you can hide and unhide either multiple
rows or multiple columns at the same time, you can’t hide or unhide
both rows and columns simultaneously.
For each method, I will use the example above which is a project
document. I want to adjust the height of row 3 so that all the text will
be visible. With all the methods I mention below, you can
simultaneously adjust multiple rows at once by just selecting the row
headers that you want to adjust.
2) Press the left mouse button and keep it pressed while you
drag the mouse down to increase the row height. You can drag
the mouse up to decrease the row height.
3) Once you are happy with the row height then just let go of the
left mouse button.
This is a great option if you want to increase the row height for one or
two rows. If you want to increase multiple rows, then simply select the
rows you want to adjust and follow the above steps. One downside to
this method is that you do not get consistent results. For example, if
you change the height for one row and then the height for another row,
the height for both rows may not be the same.
Change the Row Height using the Double Click
Method
A quicker and easier way to adjust the height of a row is by using the
double click method. With this method, the text will fit neatly within
the cell. To do this follow the below steps.
When you double click the left mouse button, the height automatically
expands or contracts to ensure all the text is visible within the cell.
2) From the ribbon, click on the Home tab. Under the Cells
group click on the Format button and then from the menu
select AutoFit Row Height.
3) The height of row 3 has been adjusted and all the text fits
perfectly in this row.
Manually Changing the Row Height
You can also manually change the row height. To do this follow these
steps.
1) Select the row where you want to adjust the height. In this
example I want to change the height of row 3 so I select the
row 3 header.
2) In the ribbon click on the Home tab. Under the Cells group
click on the Format button and then from the menu select
Row Height.
3) In the Row Height dialog box, enter the height that you
want for the row. In this example, I entered 65. Next, press
the OK button.
4) Row 3 has now changed height.
Rather than using the ribbon for this method, you can also use your
mouse instead to change the row height manually.
Simply select the entire row you want to change height by clicking the
row header. Right-click your mouse and from the shortcut menu select
Row Height. The Row Height dialog box will appear, and you can
enter the row height number and then press the OK button.
The advantage of using this method over the double click or the
Autofit Row Height function methods is that all your rows will be the
same height which some people prefer, and your worksheet will look
neater.
I will use the same example as when I adjusted the row height in the
previous section. This time I will adjust the width of column A above.
As you can see, not all the text in this column is visible. You can use
the following methods below to increase multiple column widths at
once. To do this just select the column headers you want to increase
and then use any of the below methods.
2) Press the left mouse button and keep it pressed while you
drag the mouse to the right to increase the width. You can also
drag the mouse to the left to decrease the width.
3) Once you are happy with the column width then just let go of
the left mouse button.
When you double click the left mouse button, the width automatically
expands or contracts to ensure all the text is visible within the cell. As
you can see above, all the text in column A is displayed neatly within
their cells.
3) The width of column A has now been adjusted so that all the
text fits neatly in this column.
Manually Changing the Column Width
You can also change the column width manually. To do this follow
these steps.
1) Select the column you want to adjust the width to. In this
example, I want to adjust the width of column A, so I select the
column A header.
2) In the ribbon click on the Home tab. Under the Cells group
click on the Format button and then from the menu select
Column Width.
3) The Column Width dialog box will appear. Enter the width
that you want for the column. In this example, I entered 25.
Then press the OK button.
A quicker way to change the width of the column using this method is
to use the mouse rather than the ribbon.
Select the entire column you want to change the width to by clicking
the column header and then right clicking the mouse. A shortcut menu
will appear and then select Column Width from the menu. The
Column Width dialog box will appear where you can then enter the
column width number. Finally, press the OK button.
1) Click on the View tab from the ribbon and under the
Window group click on the Freeze Panes button. From the
drop-down menu select Freeze Top Row.
2) A thick black line will appear underneath the top row. Now
when you scroll down, the top row will always remain visible.
Freeze a Row
There will be times when you don’t want to freeze the row header. You
may want to freeze a particular row in your dataset. To freeze a row is
also very easy.
1) Select the row underneath the row you want to freeze. In this
example, I want to ensure all the rows from Rachel in row 6
and above is visible, so I select the row underneath Rachel
which is row 7.
2) Click on the View tab and under the Window group click on
the Freeze Panes button. From the drop-down menu select
Freeze Panes.
3) A thick black line will appear underneath the row you have
frozen. Now when you scroll down, the row you have frozen
and all the rows above it will always remain visible. In this
example, I have frozen row 6 so this row up to row 1 will
remain visible.
1) Click on the View tab from the ribbon and under the
Window group click on the Freeze Panes button. From the
drop-down menu select Freeze First Column.
2) A thick black line will appear to the right of the column you
have frozen. Now when you scroll across, the first column will
stay visible.
Freeze a Column
You can also freeze any column you wish. To do this follow these steps.
1) Select the column after the column you want to freeze. In this
example, I want to freeze columns A to F, so I select the
column header G.
2) Click on the View tab from the ribbon and under the
Window group click on the Freeze Panes button. From the
drop-down menu select Freeze Panes.
3) A thick black line will appear to the right of the column you
have frozen. Now when you scroll across, the column you have
frozen and all the columns to the left of it will always remain
visible. In this example, I have frozen column F so columns A
to F will remain visible.
1) Select the cell below the last row and to the right of the last
column you would like to freeze. In this example, I select the
cell F8 as this is to the right of column E and one row down
from row 7.
2) Click on the View tab from the ribbon and under the
Window group click on the Freeze Panes button. From the
drop-down menu select Freeze Panes.
Sorting Data
Sorting data is considered one of the key components in data analysis
as it allows your data to be structured and organised. Once your data is
organised, it is much easier to make sense of it. There are various ways
to sort your data. You can sort the data in alphabetical and numerical
order, by date and time and even by cell colour. Let’s look at each one
in turn.
2) In the ribbon, click on the Home tab and under the Editing
group click on the Sort & Filter button. A drop-down menu
will appear. Click on Sort A to Z from the menu.
3) The Salespeople’s names are now in alphabetical order. If you
want to sort in descending order, then just select Sort Z to A
from the shortcut menu.
In this example, I want to sort the sales from highest to lowest. First
click any cell in the range you want to sort. In the above screenshot, I
selected cell B6 and then chose Sort Largest to Smallest from the
menu when I clicked on the Sort & Filter button.
The Salespeople are now sorted by the highest sales all the way
through to the person who has made the least sales.
Again, you can also right-click the mouse button to sort in numerical
order. First remember to select any cell in the range you want to sort.
Choose Sort Smallest to Largest or Sort Largest to Smallest
from the menu depending on whether you want to sort in ascending or
descending order.
2) In the ribbon select the Home tab and then under the
Editing group select the Sort & Filter button. A shortcut
menu will appear. Select Custom Sort from the menu.
3) In the Sort dialog box select the sort you want to apply in the
Sort by field drop-down box. In this example, I want to first
sort by Sales, so I select Sales. In the Order field, enter the
type of sort you want. I want to sort the sales from largest to
lowest, so I select Largest to Lowest in the drop-down box.
4) You now need to apply an additional sort if required. In this
example, I also want to sort the Salespeople’s names in
alphabetical order. To add another sort level, click on the Add
Level button located on the top left of the Sort dialog box. In
the Then by field, select the sort you want to apply. I want to
sort the Salespeople’s names in alphabetical order, so I select
Salesperson from the drop-down box. In the Order field, I
want to order in alphabetical order, so I select A to Z. Next
press the OK button.
2) From the ribbon click on the Home tab. Under the Editing
group click on the Sort & Filter button. A shortcut menu will
appear. Click on Custom Sort from the menu.
3) I want to sort by payment received date, so I select Payment
Received Date from the drop-down box in the Sort by field.
I want to sort the dates by the most recent dates through to
the oldest dates, so I select Newest to Oldest in the Order
field. Next press the OK button.
4) The data is now sorted by the most recent dates at the top
through to the oldest dates at the bottom.
In the dataset above, there is a list of Salespeople, and their sales are
highlighted in a red, amber, green traffic light system. Salespeople
with sales from $0 to $7,000 are highlighted in red. If they have sales
over $7,000 to $10,000, they are highlighted in amber. Anything over
$10,000 and the cells are highlighted in green. The goal is to put all
the Salespeople who have sales in the red cells at the top, sales in the
amber cells in the middle and the sales in the green cells at the bottom.
Here is how to do this.
2) From the ribbon click on the Home tab. Under the Editing
group click on the Sort & Filter button. A shortcut menu will
appear. Click on Custom Sort from the menu.
3) The Sort dialog box will appear. I want to sort the sales by
cell colour, so I select Sales from the drop-down box in the
Sort by field. I want to sort by cell colour, so I select Cell
Color in the Sort On drop-down box. In the Order field I
select red. In the next drop-down box, I select On Top
because I want to put all the cells in red at the top.
4) I now want to apply a second sort so I can put all the sales in
the green cells at the bottom. To do this I click on the Add
Level button which is located on the top left of the dialog box.
Another line in the Sort dialog box will appear. In the Then
by field, I select Sales from the drop-down box. In the Sort
On drop down box I select Cell Color. In the Order field
drop-down box, I select green. In the next drop-down box, I
choose On Bottom. Next press the OK button.
5) The dataset is sorted by cell colour with red cells at the top,
amber in the middle and green cells at the bottom.
You can also sort the data by font colour instead of by cell colour. To
do this you perform the same steps as above but in the Sort dialog box
select Font Color in the Sort On field drop-down box.
Using Basic Filtering
You can apply filters to your dataset, so you are able to view only the
information you want to see. This helps you to drill down on the data,
especially if you have a large dataset with hundreds or thousands of
rows. When you filter your dataset, it eliminates the rows temporarily
from view and you only see the rows based on your filter criteria.
Filtering is essential when working with a huge dataset. To apply a
filter, the dataset must contain column headers.
There are three ways to apply a filter to your data. These are:
2) In the ribbon click on the Data tab. From the Sort & Filter
group click on the Filter button.
3) A filter is now applied to the dataset.
In this example, I want to filter the data so that I see only the rows
where there have been sales in Quarter 3. To do this, follow the below
steps.
Another way to apply filtering is to use the search box. Let’s say I want
to filter the data to show just the sales in quarter 3 again. To do this,
follow these steps.
1) Click on the next column filter where you want to apply the
second filtering. In this example, I want to apply the filtering
in the Region column, so I click on the Region filter.
2) Uncheck the boxes against the data you don’t want to view
and keep the checkbox checked against the data you want to
see. In this example, I have unchecked the boxes against East,
North and South and kept West checked. Next press the OK
button.
3) The data is now filtered to show just the sales made in quarter
3 and in the West region.
How to Clear Filters
You can clear all filters in two different ways:
To clear all filters in your dataset from the Home tab simply click any
cell in the data. Click on the Home tab in the ribbon and under the
Editing group click on the Sort & Filter button. From the shortcut
menu, select Clear.
The filters have cleared, and all the data is now visible again.
To clear all filters using the Data tab in the ribbon, click on the Data
tab. Under the Sort & Filter group, you can either click on the Filter
button or the Clear button.
Note, if you click on the Filter button, the filters from the column
headings will also disappear. When you keep on pressing the Filter
button, it will toggle on and off the filter.
In the Custom AutoFilter dialog box, from the first drop-down box I
select is greater than. In the field next to it I enter 4000.
Underneath, I can then choose from two further criteria. Because I
only want to see sales greater than $4,000 and less than $12,000, I
select the And option. In the second drop-down box, I select is less
than. In the field next to it I enter 12,000. Next press the OK button.
The data is now filtered so I only view sales greater than $4,000 and
less than $12,000.
Depending on whether the data in the column contains numbers or
text, the filtering will apply specifically to the data in that column. For
example, if I click on the filter for the Salespeople, the advanced
filtering option will change to Text filters and the sub menu is related
to filtering by text.
In this example, there is a list of first and last names in column A. The
goal is to split the first and last names and put them in columns B and
C. Here are the steps to do this.
2) From the ribbon click on the Data tab and under the Data
Tools group click on the Text to Columns button.
There are a couple of points to note when you use Text to Columns to
split text.
2) The results you get from using Text to Columns is static. This
means that if there are any changes to the original data you
will have to repeat the whole process again.
2) From the ribbon click on the Data tab and under the Data
Tools group click on the Text to Columns button.
2) From the ribbon click on the Data tab and under the Data
Tools group click on the Text to Columns button.
2) From the ribbon click on the Data tab and under the Data
Tools group click on the Text to Columns button.
I will show you how to remove duplicates for both methods using the
above dataset. The data shows a list of car sales, which country the car
was sold in and in what quarter. Rows 3 and 10 have been highlighted
in yellow as they are duplicate entries. Similarly, rows 6 and 13 are
also duplicate entries and have been highlighted in orange.
2) From the ribbon, click on the Data tab and under the Data
Tools group click on the Removes Duplicates button.
4) Excel will delete the duplicate rows and a dialog box will
appear showing you how many duplicate values were found
and removed. It also displays how many unique values
remain. You can then click on the OK button.
It can also be found in the Home tab under the Editing group. Click
on the Fill button and a shortcut menu will appear. From the menu
click on Flash Fill.
I first entered the email address in cell D2 for Jess Smith. I then
started to write the email address for Mike Peters in cell D3. Flash Fill
automatically recognises the pattern and previews the next entries in
light grey.
If you are happy with the preview, then just press Enter on your
keyboard so the remaining rows are filled in. After a couple of entries,
Flash Fill recognised that the first and last names were lower case, and
that I combined the names with periods, the @ symbol and .com
extensions to create email addresses.
One thing to note is that Flash Fill cannot fill upwards. If you start
entering data in the middle of the column, then Flash Fill will fill
downwards and not up. To overcome this, you can click the Flash Fill
button either from the Data tab or the Home tab in the ribbon as
mentioned earlier. By doing this, the whole column will be filled.
There is also a keyboard shortcut for Flash Fill. The steps to use a
keyboard shortcut are as follows.
2) Select all the cells in the column you want to fill, including the
example data.
3) Release the right-click and then select Flash Fill from the
menu.
Chapter 5: Formatting
Worksheets
In this chapter you will learn how to format your worksheet, so it looks
visually appealing. By learning the techniques in this chapter, your
worksheet will look more professional. Formatting a worksheet is
especially important when you are creating reports for people such as
clients or if you are making a dashboard. You can also use the
techniques in this chapter to highlight important text or cells so
nothing will get missed. In this chapter you will learn how to change
font size and style, how to add borders, how to change the orientation
of text and much more.
Another way to open the Format Cells dialog box is by clicking on the
Home tab in the ribbon. Under the Cells group click on the Format
button and a menu will appear. Select Format Cells from the menu.
You can also select any cell in the worksheet and then right-click the
mouse and select Format Cells from the menu.
If you prefer to use keyboard shortcuts, then you can press Ctrl + 1.
Once you have opened the Format Cells dialog box, you will see there
are six tabs which are Number, Alignment, Font, Border, Fill and
Protection. Now let’s see what each tab does in turn.
Number Tab
The Number tab allows you to format how your numbers will look.
You can select various formatting options such as currency, dates,
times, percentage fractions etc. You first need to select the cell you
want to format and then choose your formatting options from the left-
hand pane. In the example below, I have changed cell A1 to a dollar ($)
currency. You can see how the cell will be formatted under the
Sample section. Once you are happy with your selection, press the
OK button.
Alignment Tab
The Alignment tab allows you to customise the way you would like text
and numbers to be aligned, both vertically and horizontally under
Text Alignment. You can also change the text orientation under the
Orientation section. Under the Text Control section, you can
control the way Excel formats information in a cell. Finally, Text
Direction allows you to switch direction of the worksheet. For
example, column A could start from the upper right side instead of the
upper left. You will learn more about these different options later in
the chapter.
Font Tab
In the Font tab, you can change the font type, font size, make a text or
number italic, bold or underlined and change the font colour. You first
need to select the cell or cells you want to format before you make any
selections. You can also preview what the formatting will look like
under the Preview section. Once you are happy with the selections,
click the OK button.
Border Tab
The Border tab will allow you to create borders around cells. You can
choose the style of the line and the colour under the Style section. To
create a quick border, you can also choose Outline or Inside under
the Presets section. If you want to remove all borders, click on None.
The Border section allows you more control on creating borders. For
example, you may only want to create a border on the top and bottom
of a cell as shown in the example below. To create a border on any side
of a cell, just click on a side under the Border section. To remove the
border, simply click the border again.
Fill Tab
The Fill tab allows you to set the background colour of the selected cell
under the Background Color section. You can also apply various
patterns under Pattern Style. If you have chosen a pattern, you can
apply two colour patterns if you have chosen a colour under Pattern
Color. To apply different colours to your cells, simply select the cells
you want to colour. Then choose the colour and or pattern you want to
apply and then click the OK button.
Protection Tab
The Protection tab does not apply any formatting to your worksheet. It
is used to protect your worksheet so other users can’t make any
changes to it. It will stop a user from changing cell data or formulas,
typing into an empty cell, moving, and resizing a cell, and deleting the
cell or its contents.
Changing the font properties are done through the various buttons in
the ribbon. The buttons are accessed through the Home tab under the
Font group. The screenshot above shows you where the various
buttons are located under the Font group with a description of each
button.
Let’s now look at how to change the different font properties in turn.
1) Select the cell which contains the text you want to change.
2) From the ribbon click the Home tab and under the Font
group, click the down arrow which is next to the Font field.
Choose from any of the fonts in the menu. Once a font has
been selected the text in the cell will change to that font type.
A point to note is that if the selected cell does not contain any text, it
will change to the selected font type once text is in that cell.
Tip: As you hover your mouse over each font in the menu, you can see
the text change in the cell so you will know what it looks like before
you select the font.
2) From the ribbon click the Home tab and under the Font
group, click the down arrow which is next to the Font Size
field. Choose from any of the different sizes in the menu. Once
a size has been selected the text in the cell will change to that
size.
It is important to note that some fonts may not scale properly, so they
may have limited size options.
If the selected cell does not contain any text, it will change to the
selected size once text is in that cell.
Tip: As you hover your mouse over each size in the menu, you can see
the text size change before you select it.
Another way to change the size of text is to press the Increase Font
Size and Decrease Font Size buttons which are located to the right
of the Font Size field. Ensure you select the cell you want to change
first before you press either button. You can also type the size
manually in the Font Size field rather than choosing the size from the
menu.
1) Select the cell which contains the text you want to change.
2) From the ribbon click the Home tab and under the Font
group, click the down arrow next to the Text Color button.
The Text Color button is usually displayed as a letter “A” with
an underline. Choose from any of the different colours in the
menu. Once a colour has been selected the text in the cell will
change to that colour.
If the selected cell does not contain any text, it will change to the
selected colour once text is in that cell.
Tip: As you hover your mouse over each colour in the menu, you can
see the text change colour before you select it.
If you want a choice of more colours, then click on More Colors in
the menu.
The Colors dialog box will appear which contains two tabs. In the
Standard tab you get a greater choice of colours to choose from. In the
Custom tab, there are two colour models, RGB (Red, Green, Blue) and
Hue, Saturation, Lightness (HSL) where you can enter numbers to
create your own colours. Once you are happy with the colour you have
selected then press the OK button.
The only difference is that once you click on the Home tab in the
ribbon, you then click on the down arrow next to the Fill Color
button which is under the Font group as highlighted in the screenshot
above. You can then select from a range of colours from the menu or
choose even more colours by selecting the More Colors button.
Changing Font to Bold, Italic or Underlined
As well as changing the type, size, and colour of a font, you can also
highlight text by making them bold, italic or underlined. As mentioned
earlier in this chapter, the buttons to do this are in the Home tab of
the ribbon under the Font group. Bold is usually used if you want to
make text or numbers stand out or to highlight totals in tables. Italics
are often used for notes and underline is normally used for subtotals.
To make a text bold, italic or underlined simply select the cell you
want to change first and then click on the relevant button. The
screenshot above shows what the result looks like when you click on
each button. When you have made a text bold, italic or underlined, the
appropriate button will be shaded in dark grey.
You can make the text bold, italic and underlined together as shown
above by selecting the cell and clicking each of the buttons in turn.
If you want to return the text to its original state, then just select the
cell you want to change back and then click on the relevant button
again. The dark grey shading will disappear from the button.
There is a drop-down arrow next to the Underline button. When you
click this, you get a choice to double underline your text.
Bold – Ctrl + B
Italic – Ctrl + I
Underline – Ctrl +U
1) Select the cells where you want to apply the border. In this
example, I select the range A1:E5.
2) From the ribbon, go to the Home tab and under the Font
group click on the down arrow next to the Cell Border
button. A list of border options appears in a menu. Select the
relevant option from the menu to apply the cell border. In this
example, I want to apply all borders around each selected cell,
so I select All Borders.
If you want more control of the look and style of the cell borders, you
can use the advanced border options. To do this, follow these steps.
1) Select the cells where you want to apply the border. In this
example, I select the range A1:E5.
2) From the ribbon, go to the Home tab and under the Font
group click on the down arrow next to the Cell Border
button. A menu will appear. Select More Borders from the
menu.
3) The Format Cells dialog box will appear. Under the Style
section, select the line style you want. Under the Color
section, click on the drop-down arrow and select the line
colour from the menu. You can now specify the new border
style from the three available options under Presets or apply
borders individually in the Border section. Once you are
happy with your sections, click the OK button.
Horizontal Alignment
Align Left – This is when the contents of the cell are aligned to the
left of the cells edge. To make the cell contents align to the left, select
the cell, and then click the Align Left button.
Centre – This is when the contents are in the middle of the cell. To
make the cell contents centre aligned, select the cell, and then click the
Center button.
Align Right – This is when the contents of the cell are aligned to the
right of the cells edge. To make the cell contents align to the right,
select the cell, and then click the Align Right button.
Vertical Alignment
Top Align – This is when the contents are aligned to the top of the
cell. To make the contents top aligned, select the cell and click the Top
Align button.
Middle Align – This is when the contents are centred between the
top and bottom of the cell. To make the contents middle aligned, select
the cell, and click the Middle Align button.
Bottom Align – This is when the contents are aligned to the bottom
of the cell. To make the contents bottom aligned, select the cell, and
then click the Bottom Align button.
Note that changing the vertical alignment does not have any visual
effect unless you change the height of the row. The default row height
is 15 points, and this is not high enough to see what the impact is when
each of the buttons are pressed. For this reason, I increased the row
height in the examples above to show you what the effects were of the
text when I clicked on each button.
You can combine the horizontal and vertical buttons to change the cell
contents in different ways. Below are a few examples to give you an
idea.
There are two ways to change the orientation of text. These are:
1) From the ribbon.
For both methods, I will use the dataset above and change the month
headings to a 45-degree angle.
1) Select the cell or the range of cells you want to change the text
orientation to. In this example, I select the range B1:M1.
2) From the ribbon, click on the Home tab and under the
Alignment group click on the down arrow next to the
Orientation button. A menu will appear with a list of
orientation options. To change the text direction to a 45-
degree angle going upwards, then select the first option
Angle Counterclockwise.
3) The text is now rotated by 45-degrees in a counterclockwise
direction.
Rotate Text Down – The cell contents are rotated at -90 degrees.
1) Select the cell or the range of cells you want to change the text
orientation to. In this example, I select the range B1:M1.
Once you are happy with the angle, click on the OK button.
2) Once you have changed the rotation of the text, use AutoFit to
reduce the columns to the smallest possible width. To do this,
just double click the column or use the Autofit Column Width
function as described in Chapter 3.
Wrap Text
You can use Wrap Text when there is long text in a worksheet and all
the text doesn’t fit in the cell. By default, a cell is 8.43 points in width
and 15 points high. If the text is too long, then you can adjust the width
of the cell so all the contents will fit. Changing column width and
height is covered in chapter 4. A better option might be to increase the
row height and use Wrap Text.
Let’s look at how to wrap text so all the contents will fit in a cell.
In the screenshot above, we can see that in cell A1, the text is long and
doesn’t fit inside the width of the cell and spills over to the cells on the
right. You can wrap the text, so it fits completely inside cell A1. There
are three ways to wrap text:
1) Wrap text from the ribbon.
1) Select the cell or range of cells where you want to apply the
wrap text formatting. In this example, I select cell A1.
2) From the ribbon, click on the Home tab and under the
Alignment group click on the Wrap Text button.
3) This has now wrapped the text inside cell A1. Notice that the
row height has been adjusted to fit all the text.
Once a text has been wrapped, you can adjust the column width and
change the text alignment to your needs.
1) Select the cell or range of cells where you want to apply the
wrap text formatting. In this example, I select cell A1.
Tip: A quick way to access the Alignment tab in the Format Cells
dialog box is to click on the Home tab in the ribbon and then click on
the arrow that is in the bottom right of the Alignment group.
1) From the ribbon, click on the Home tab and under the
Alignment group press the Wrap Text button.
3) Open the Format Cells dialog box and uncheck the Wrap
text option in the Alignment tab.
As you can see, you use the same commands to remove wrap text as
you do when you apply it.
Merge Cells
When you merge cells, it combines multiple cells into one. Merging
cells is particularly useful when you are creating table headings. When
you are merging cells, the text in the upper leftmost box is preserved.
The most common method for merging cells is by using the Merge &
Center button which is in the Home tab under the Alignment
group in the ribbon.
Let’s look at an example of how to use the Merge & Center button.
I will use the same example as the one I used for wrap text. As you can
see, the text goes across columns A to E. I want to merge the range
A1:E1 so this becomes just one cell. To do this follow these steps.
If you do not want the text to be centred when you merge cells, you can
click the drop-down arrow which is to the right of the Merge & Centre
button. A menu will appear which displays the following options:
To unmerge cells, simply select the cell which is merged then click on
the Merge & Center button again. Alternatively, click the drop-down
arrow to the right of the Merge & Center button and select
Unmerge Cells from the menu.
One thing to note when using the Merge & Center button is that it can
merge the cells, but not the text within these cells. This means you will
lose some data.
Indenting Text
Indenting text or numbers allows you to move them to the left or right
of the cells border. By default, Excel aligns text to the left and numbers
to the right. If you don’t like them close to the borders edge, then you
can indent them.
There are three ways to indent text or numbers. These are:
1) First, I want to indent the names to the right. Select the cells
you want to indent. In this example, I select the range A2:A7.
2) From the ribbon, click on the Home tab and under the
Alignment group click on the Increase Indent button.
4) To indent to the left, select the cells you want to indent. In this
example, I select the range B2:B7. In the Home tab of the
ribbon, under the Alignment group, click on the Decrease
Indent button. Again, if you want to indent the text even
more, then just keep pressing the Decrease Indent button.
In the above example, cell A1 contains four lines. I want to indent the
lines starting with 1.1, 1.2 and 1.3 to the right. Here are the steps to do
this.
You can access all the cell styles through the ribbon. Click on the
Home tab and under the Styles group click on Cell Styles. A menu
will appear with a list of cell styles.
To apply a cell style, click the cell or range you want to format and
then go to the Home tab from the ribbon and click the Cell Styles
button under the Styles group. Next, choose the format you want to
apply from the menu. In the above example, I applied a Heading 1
format to the heading in cell A1.
One thing to note is that the custom cell style is available in all the
worksheets in the workbook where you created it. However, it is not
available in any other workbook. You will have to go through the same
steps as above for each workbook.
The Format Painter is in the Home tab of the ribbon, under the
Clipboard group and looks like a paintbrush.
1) Select the cell or cells you want to copy the formatting. In this
example, I select cell A1 as I want to copy the formatting from
this cell.
3) Select the cells you want to apply the formatting to. In this
example, I select the range C1:C5. Instantly, the same
formatting has been applied to the range C1:C5.
In the above example, the Format Painter has copied the number
formatting, the number of decimal places, the cell colour, and the
border.
When you click the Format Painter button, the curser changes and will
have a brush next to it. This means the Format Painter is active. One
thing to note is that the Format Painter only copies the formatting of
the cell and not the actual value in the cell.
Tip: Once you have selected the range where you want to apply the
formatting, the Format Painter will turn off. This means you can only
apply formatting to the selected cells one at a time. To keep the
Format Painter on, double click the Format Painter button. To turn it
off, then click the Format Painter button again.
Chapter 6: Making Edits to
Worksheets
In Excel, you will be required to make changes to your worksheets
every so often. You may need to update values in a cell, add new data,
replace cell contents and so on. Excel has various useful tools to do
this. This chapter will show you the main editing features and how you
can use them.
There are three different ways you can copy, paste, and cut data.
1) Using the ribbon - The Copy, Paste and Cut buttons are in
the Home tab under the Clipboard group. Just click on the
relevant button to copy, paste, or cut.
2) Using a keyboard shortcut – This is the easiest and
quickest way to copy, paste or cut data. To copy, press Ctrl + C
on your keyboard. To paste, press Ctrl + V on your keyboard. To
cut, press Ctrl + X on your keyboard.
Copy
To copy a cell or a range of cells, follow these steps.
Paste
To paste the copied cell or cells, follow these steps.
1) Select the cell where you want to paste the copied cells. In this
example, I select cell B2.
2) Use one of the three methods mentioned above to paste the
data. Use either the ribbon, keyboard shortcut or right-click
the mouse to paste.
Tip: The moving border around the copied cells will still be there even
after pasting the data. To stop the moving border, press the Esc button
on your keyboard to exit copy mode.
Paste – This will paste the cell contents and the formatting from the
copied cell.
Formulas - This will paste the formula from the copied cell. No
formatting will be pasted.
Formulas & Number Formatting - This will paste the formula and
the number formatting from the copied cell.
Keep Source Formatting - This will paste the cell contents and all
the formatting from the copied cell.
No Borders - This will paste the cell contents from the copied cell but
without any borders.
Keep Source Column Width - This will paste the cell contents, all
the formatting and apply the column width from the copied cell.
Values - This will paste the cell contents only. No formatting will be
pasted. If you are copying a formula, it will paste just the result of the
formula and not the formula itself.
Cut
To cut data from a cell or a range of cells, follow these steps.
The third way to edit a cell is to use the Formula Bar. This is located
between the column letters and the ribbon. Whenever you click on a
cell with data, the text or number will be shown in the Formula Bar.
When you click in the Formula Bar, Excel will be in edit mode, and you
can then edit the text or number in it.
When you edit a cell using either of the three methods shown above,
the word Edit appears in the bottom left of the window. This is
another way you will know Excel is in edit mode along with the curser
showing in the cell or Formula Bar.
One further point to note is that when Excel is in edit mode, many of
the commands in the ribbon will not be available to use and become
greyed out as shown in the screenshot above.
Note, the above dataset is only seven rows long so it can be changed
manually without having to use the Find and Replace tool. However,
you may be working with large datasets with hundreds and thousands
of rows and finding the correct cell to change will be much more
difficult.
To Find Content
To first find content, follow these steps.
1) In the ribbon, from the Home tab under the Editing group,
click on the Find & Select button. From the drop-down
menu, select Find. You can also press the shortcut keys Ctrl +
F.
2) The Find and Replace dialog box will appear with the Find
tab open. Enter the content you want to find in the Find
what field. In this example, I want to find Kelly Jones, so I
enter her name in the field. Now click on the Find Next
button. If the content is found, then the cell containing the
content will be selected.
If you have multiple cells that contain the search term, you can
keep on clicking the Find Next button to find further instances
or the Find All button to see every instance of the search term.
3) If you just want to find the content and not replace it with
another term or value, then press the Close button to close
the Find and Replace dialog box.
To Replace Content
To replace content you have found, follow these steps.
1) In the ribbon, from the Home tab under the Editing group,
click on the Find & Select button. From the drop-down
menu, select Replace.
2) The Find and Replace dialog box will appear with the
Replace tab open. Enter the content you want to find in the
Find what field. In this example, I want to find Kelly Jones,
so I enter this in the field. In the Replace with field, enter
the content you want to replace the old content with. In this
example, I want to replace Kelly Jones with Sara Pickering, so
I enter Sara Pickering in this field. Click on the Find Next
button. If the content is found, then the cell containing the
content will be selected.
Tip: It is best to avoid pressing the Replace All button and to use the
Replace button instead. This is because the Replace All button will
replace everything in one go and doesn’t give you an option of skipping
anything you don’t want to change.
Change Formatting
The Find and Replace tool is not just used for replacing text or
numbers. You can also change the formatting of cells.
1) In the ribbon, from the Home tab under the Editing group,
click on the Find & Select button. From the drop-down
menu, select Replace.
2) The Find and Replace dialog box opens. You do not need to
enter any text in the Find what and Replace with fields.
Click the Options button.
3) Click the Format button next to the Find what field and
select the colour you want to find. Do the same with the
Format button next to the Replace with field to replace it
with another colour.
In the left-hand pane, scroll down the list and select the Speak Cells
options. There are five options you can add to the QAT. You can add
just one or all five.
Speak Cells – Stop Speaking Cells – When you click this button,
then Excel will stop reading the cells out loud.
Speak Cells by Columns – Excel will read the cells in the left most
column and then move across to the next column on the right.
Speak Cells by Rows – Excel will read the cells in the top row from
left to right and then move to the next row below.
Speak Cells on Enter – Excel will only read the cell once you press
the Enter key on your keyboard.
Note that at a given time, only one of the two options (Speak Cells by
Column and Speak Cells by Row) can be active.
The above screenshot shows where the Undo and Redo buttons are in
the QAT. You can also use the keyboard shortcuts instead. For Undo,
press Ctrl + Z on your keyboard. For Redo, press Ctrl + Y.
When you press the Undo button, it goes back one step. You can go
back up to 100 times. The Undo button doesn’t work for all actions you
have performed, however. It doesn’t reverse clicking menu items,
deleting worksheets, or saving items.
If you are using the Undo button from the QAT, you can click on the
downward arrow next to it. This shows all the previous actions that
you can undo. You can do this one at a time or several at once.
Like with undo, the Redo button in the QAT has a downward arrow
next to it. This shows all the previous redo actions that you can redo.
Again, you can do this one at a time or several at once.
Chapter 7: Excel Formulas
Arguably, one of the biggest reasons people use Excel is to perform
calculations with formulas. To become proficient in Excel, it is
important to know how to create formulas in your worksheets. When
you create a formula, Excel performs like a calculator where it can do
mathematical equations such as addition, subtraction, multiplication,
and division. In this chapter, you will learn how to create simple Excel
formulas so you can use them in your own worksheets.
Formulas
A formula is an expression that operates on values in a cell or a range
of cells. For example, =A1+B1+C1. This formula will add up the values
in cell A1, B1 and C1 and give a total.
Functions
Functions are pre-defined formulas in Excel. There are over 400 built-
in functions in Excel. Functions help to eliminate manual entry of
formulas. For example, =SUM(A1:C1). The SUM function will add up
all the values from cells A1 to C1. Different functions perform different
calculations. Each function contains arguments where you will need to
enter a value or select a cell or a range. Each function has a different
set of arguments.
Mathematical Operators to use in
Formulas
Excel uses standard mathematical operators to perform calculations.
However, the symbols on some of the operators are different to what
you have learnt at school. The table below lists the mathematical
operators and the symbol you need to enter to perform the calculation.
You can also use the Insert Function dialog box to insert a formula.
First, select the cell where you want the formula to be in. From the
ribbon, click on the Formulas tab and under the Function Library
group click the Insert Function button. The Insert Function
dialog box will open containing a list of functions to choose from.
Select the function you want and then press the OK button. The
Function Arguments dialog box will then appear where you will
need to enter the functions arguments.
For each method, I will use the dataset above which contains sales by
Salespeople for each quarter. The formula which I will enter in column
F will add up all the sales in each quarter for each Salesperson. The
formula for each method must always start with an equal’s sign (=).
You can hardcode the values in the formula itself. For example, in cell
F2, I entered an equal’s sign and then entered the sales figures from
each quarter like this =2433+5686+4914+2973. However, this is
very time consuming and tedious and if you copy the formula down to
other cells, it will give incorrect results.
1) Select the cell where you want the formula to be in. In this
example, I select cell F2.
6) Repeat steps 4 and 5 until you have included all the cells you
need in the formula.
1) Select the cell where you want the formula to be in. In this
example, I select cell F2.
3) Start to enter the name of the function. Excel will show a list
of all the functions available when you start to enter the first
few characters of the function name. When you have found
the function in the list, select it, and then press the Tab key on
your keyboard. This will place an open bracket after the
function name.
Editing a Formula
Once you have created a formula, you can edit it later. There are three
main ways to edit a formula. These are:
1) Press the F2 key – Select the cell that contains the formula
you want to edit and then press the F2 key on your keyboard.
All three methods will make Excel go into Edit mode and will say Edit
in the bottom left of the window.
Let’s now look at an example of how to edit a formula. I will use the
same dataset as the one I used to explain how to create basic formulas.
In the screenshot above, I want to add up all the sales in each quarter
for Jason. The formula in cell F2 is incorrect however, because I
mistakenly included the Q4 sales for Lisa in cell E3 instead of clicking
on cell E2. Below is how to fix this formula.
You use a dollar sign ($) before the column and row to make it
absolute. If the dollar sign precedes the column or row but not both,
then it is called a mixed reference. Here are some examples of absolute
and mixed references:
$A$1 – The column and row does not change when copied.
This is an absolute cell reference.
A$1 – The row does not change when copied. This is a mixed
cell reference.
Mixed cell references in formulas are less frequently used than relative
and absolute references.
Tip: You do not need to manually type the dollar sign ($) before the
column or row. A much quicker way is to press the F4 key when
writing the formula. When you keep on pressing the F4 key, it will
switch between relative, mixed, and absolute cell references.
In the screenshot above, I made cell F1 relative and then when I copied
the formula down, it gave incorrect results. When I clicked on cell C5,
you can see that the formula is multiplying the sales in B5 by cell F4
which contains no values, hence it returns $0.00.
From the ribbon, click on the Home tab and under the Editing
group, click the Sum button which looks like a big E. You can also
click the drop-down arrow on the right of the button where a menu
will appear. The AutoSum option will be there as well as other
functions such as Average, Count, Max, and Min.
The AutoSum button is also located in the Formula tab of the ribbon
under the Function Library group. Again, you can click the drop-
down arrow and a list of other functions will also appear.
The first thing you need to do is to select the data. The data can be
inputted by yourself, or you could have exported it from another
system. For this example, I will use the above dataset which shows the
number of products sold in a computer shop in January to April. You
will need to highlight the whole dataset, including the headers. In this
example, I select the range A1:E7.
Choosing a Chart
Excel has a wide variety of charts to choose from. It is important to
choose the chart that will present the data in the best possible way.
Below are the most common charts you can choose from in Excel.
Column Charts
Column charts have vertical bars to present the data. They are very
versatile and can be used for most types of data.
Bar Charts
Bar charts are like column charts, but the bars are displayed
horizontally rather than vertically.
Surface Charts
Surface charts are useful for when you have a large dataset. They are
particularly helpful when you want to find the optimum combinations
between two data sets.
Line Charts
Line charts are best used when you want to analyse trends. The lines
are connected to the data points so you can easily see if the trend is
going up or down.
Area Charts
Area charts are like line charts. The difference between the two is that
the area under the lines is filled.
Combo Charts
Combo charts are good to use if you have a dataset arranged in
columns and rows. Combo charts are like combining two charts into
one, hence the name.
Pie Charts
Pie charts are often used when you want to compare portions. Each
value is shown as a slice of a pie. If you have data which is arranged in
a row or column then a pie chart will be a good option.
Scatter Charts
Scatter charts are typically used for scientific, statistical, and
engineering data to show and compare numeric values. Data that’s
arranged in columns and rows can be plotted in a scatter chart.
Radar Charts
Radar charts compare the aggregate values of several data points. If
data is arranged in columns and rows, then you can use a radar chart.
Stock Charts
Stock charts can show fluctuations in data such as stock prices, daily
rainfall, or annual temperature. You must ensure the data is organised
in the right order and arranged in columns and rows to use this chart.
You can access all the charts from the ribbon in the Insert tab under
the Charts group. From here you can select the desired chart.
For the above dataset, I want to use a Clustered Column chart, so I
clicked on the Insert Column or Bar Chart button and then from
the menu chose the 2-D Clustered Column Chart. The chart is then
embedded into the worksheet.
When you have created a chart, you will notice Excel gives a default
name of ‘Chart Title’. You can write a more descriptive title which
describes what the chart is showing. Changing the chart title is easy.
Simply click the chart title until you see a curser. You can then freely
type a new name for the chart. In this example, I have renamed the
title ‘Number of Products Sold by Month’.
If you do not want a chart title, then click on the chart. Three icons will
appear on the right. Click the top one which is the Chart Elements
button and then uncheck Chart Title.
Adding Axis Titles
By default, your chart will not have x and y axis titles. You can however
add them to your chart. The axis titles give your axis a descriptive
name. To add axis titles, click the chart and then the Chart Elements
button. Next, check the Axis Titles. The x and y axis titles will appear.
They will have a default name of ‘Axis Title’. To change the name, click
the axis title until you see a curser. You can then type a new axis name.
In this example, I have named the x axis ‘Products’ and the y axis
‘Number Sold’.
You can quickly and easily format your chart using one of Excels pre-
formatted templates. Each chart style has their own font style, font
size, and colour. Data labels may also be displayed, depending on what
chart style you have chosen. To access the templates, click the chart
and then the Chart Design tab in the ribbon. Under the Chart
Styles group you can click on any of the templates. If you want access
to more templates, then click on the down arrow in the bottom right of
the Chart Styles group. In this example, I am going to choose the Style
6 design.
Another way you can access the chart styles is by clicking the chart and
then pressing the Chart Styles button. This is located under the
Chart Elements button and has a paintbrush in it.
Changing the Colour Scheme
By default, the legend will appear at the bottom of the chart. You can,
however, change the position of it. To change the position of the
legend, click the chart to activate it. Click the Chart Elements button
and then click the arrow pointing to the right next to Legend. Another
menu will appear where you can choose where the legend will be
positioned. I prefer the legend to be at the top of the chart, so I
selected Top.
Adding Data Labels
If the chart style you have chosen doesn’t display any data labels, then
you can add these to your chart. To do this, click the chart and then the
Chart Elements button. Check the Data Labels box and then click
the arrow to the right of Data Labels. You can then select where the
data labels will be positioned in the chart. In this example, I have
selected Outside End.
Changing the Y-Axis Measurement
You may want to change the y axis measurement to scale your chart.
Excel will automatically apply the best axis options for the chart, but
you may want to change this manually. To change the y axis
measurement, right-click the y axis and then from the menu select
Format Axis.
The Format Axis options will appear on the right of the window.
Here you can change the minimum and maximum value of the y axis
as well as how many units the y axis goes up by.
The above dataset shows a list of students at school along with the
subjects they have studied and their grades. I want to convert this
dataset into a table. To do this, follow these steps.
2) From the ribbon, select the Insert tab and under the Tables
group, click the Table button.
3) The Create Table dialog box will appear. Excel will usually
display the correct data range in the field. If it doesn’t, then
just select the data range and then press the OK button. If
your dataset already has headers, then ensure the My table
has headers checkbox is checked. If this is unchecked and
the data does have headers, then Excel will assign them by
default as Column 1, Column 2 and so on. In my example, the
dataset has headers, so I have kept this option checked.
1) Click anywhere inside the table and then select the Table
Design tab.
In the Table Design tab, under the Table Style Options group,
you will see various options to show or hide rows, columns, and
buttons. Just check any of the options you want to show or uncheck
the ones you want to hide in the table.
When you convert your dataset into an Excel table, it will apply a
default table style. You can keep this table style or choose another one.
In the Table Design tab, under the Table Style group, you can
select from a variety of different table styles. Click on the down arrow
on the bottom right and Excel will display all the table styles for you to
choose from.
2) Click the Table Design tab in the ribbon and under the
Tools group, click the Convert to Range button.
3) A message box will appear asking if you are sure you want to
convert the table to a normal range. Click on the Yes button.
The table will now be converted back to a range of cells.
If you want to view all available keyboard shortcuts, then press the Alt
key on your keyboard. Excel will display the keys to use to open a tab
from the ribbon. Once you have pressed a key to open the tab, Excel
will display further keys you can select to open further commands
within that tab.
Basic Keyboard Shortcuts
Formatting Keyboard Shortcuts
Insert, Delete and Layout Keyboard Shortcuts
Functions and Data Keyboard Shortcuts
About the Author
Harjit is also the founder and owner of the Excel Master Consultant
website which offers information on everything about Excel. In his
website you will find:
www.excelmasterconsultant.com/
Please take a visit and drop him a message. He would love to hear
from you.
More Books by Harjit Suman
I hope that it has improved your Excel skills and you can now
confidently use Excel for work and personal use. If so, I would be
really grateful if you could share your experience of reading this book
with your friends and family by posting to Facebook and Twitter.
If you enjoyed this book, I’d like to hear from you and hope that you
could take some time to post a review on Amazon. Your feedback
and support will help me to greatly improve my writing craft for future
projects and make this book even better. You can leave a review by
clicking either of the links below.
Amazon UK:
Leave a review on Amazon UK here
Amazon US:
Leave a review on Amazon US here
Your feedback is very important to me and I would be very grateful for
your review.
I wish you all the best in your future success and happy Excel learning!
Thank you
Harjit