MR Daniel Jones Excel Simple and Effective Strategies To Learn and Execute Excel Programming Volum
MR Daniel Jones Excel Simple and Effective Strategies To Learn and Execute Excel Programming Volum
This declaration is deemed fair and valid by both the American Bar
Association and the Committee of Publishers Association and is legally
binding throughout the United States.
The following chapters will discuss how you can use Excel, to make your
experience more efficient. Excel offers a wide variety tools to help you
complete almost any task that you would need to complete. The strategies
in this book are simple to make Excel easier for you.
Excel makes putting and computing data much easier. With all the tools
Excel has to offer, your data will look professional. The more you know
about Excel, the happier you will be with the results because you will not be
struggling to make your data understandable to others. Excel will make
your data organize, neat, and presentable.
There are plenty of books on this subject on the market, thanks again for
choosing this one! Every effort was made to ensure it is full of as much
useful information as possible; please enjoy!
Chapter One: Inputting Data in Excel
Inputting data is one of the most fundamental tasks you will complete in
Excel, but there are multiple ways you can input data into your spreadsheet.
There are a few shortcuts that you will see that will make it, so you are
saving time and getting your work done quickly so you can go back and
check it.
One of the most common ways to put data into Excel is to choose a cell and
type your data in it directly. By doing this, the cell will automatically be put
into edit mode. So, when you press enter or choose a different cell, the
content that you entered will remain, and the cell will still be in edit mode.
Later, if you decide to go back to the cell you started at and start typing, you
will be changing the content of the cell. So, if you want to add or edit what
you have entered without deleting the cell’s content, you should go back to
the cell and place it in edit mode before the new data is entered.
After a cell is in edit mode, then a cursor will appear, and when you are
placing your data into the cell, you will see it next to the existing content.
You will have the option to move your cursor over the contents of the cell
while it is in edit mode.
The same value can be entered in several cells at once. To do this, you will:
1. Highlight all the cells that need to be populated
2. Enter the value into an active cell
3. Press control and enter
By doing this, you will have your text typed into all the cells in the range
that you selected.
Should you need to enter a series of values, then you can use the autofill
function which you will see later in this chapter.
Importing data
Data from a different file format can be imported into Excel, so you do not
have to manually enter all the values and risk messing up somewhere. First,
you will choose the data tab, and then you will select the 'from text' option.'
This option can be found in the external data group. After that, you will use
the browser to find the text file.
Excel will lead you through a series of steps so you can specify the data in
the text file and how it needs to be formatted into an Excel spreadsheet.
A new line can be inserted by using a line break while you type in a cell.
The easiest way to do this is:
1. Place the cursor in the cell where the new line should be entered
2. Press Alt and enter
Formulas can also be used to insert a new line into your cell. The line break
character will be represented by the number ten. So, a new line will be
entered a cell by using the function
CHAR (10)
New lines can be displayed in Excel by using the wrap text option. You will
see the wrap text option in the alignment group on the Excel ribbon. By
using the wrap text option, you will also be controlling the formatting of the
cell. Keep in mind, older versions of Excel may not have the shortcut
buttons, and you will need to follow the steps below.
Autofill
Excel can recognize a series that is not started by one; to get Excel to
recognize it, you will need to enter two values into the first and second cell.
Choose both cells and drag the fill handle through the range that needs to be
filled. Excel will teach itself to recognize the pattern and will continue it
through the selected cells.
But, if you want Excel to fill the cells with repeated alternating values, you
should start the pattern off in the first two cells and then select your range
once again. Finally, you will choose the auto fill options box and click on
the copy cells option. The sequence will be repeated across your selected
range.
Dates and times will be stored in Excel as numbers, but they can also be
used with the autofill function. Excel’s default setting is if you enter a date
or time and then use the fill handle, then the dates will be completed in the
series by adding a day or an hour if you are using times. But, just like you
saw earlier, you will need to click on the options box so you can select the
autofill option that is best for you.
Time will have the same option that you saw above. But, dates will have a
different set of options.
Autofill will usually fill a column with text values by repeating the value
found in the first cell. But, there are some text values that Excel will
automatically recognize as part of a series such as weekdays, months, rank,
and pages.
You are not limited to text values with the autofill function. You can also
use it on formulas and functions. But, this type of autofill will not allow
your series fill option to work. Instead, Excel will need to follow the rules
of absolute and relative cell references. For example, if a row or column
reference has a dollar sign in front of it, then Excel will keep the reference
the same even when the formula is placed in a different cell. If it does not
have the dollar sign, then the row or column reference will be modified as
the formula is copied to other cells.
Autofill will also work horizontally. You will follow the same steps that you
followed to autofill the column. Take the fill handle and drag it to select
your range that needs to be auto-filled.
Excel’s autofill can handle data in more than one row or column. If you fill
in the first two cells, then you can highlight your range and autofill will
complete the columns with the appropriate series.
Double-clicking
To quickly use the autofill option, you can double-click on the fill handle
for the highlighted range. Should the cells below or adjacent to the
highlighted cell have data in them, then double click on the fill handle, and
the autofill will fill to the current column until it reaches the end of the data
range.
Excel functions
The most obvious way to insert an operation is to type the operation into the
Excel cell. But, if you are new to Excel, or you are entering a complex
equation, then you may discover that it is quicker to use the function
arguments manager.
The function arguments box will automatically pop up when you choose an
Excel function by using one of the methods below.
1. Select the insert function button that is located on the left side of the
formula bar. You will choose a function name from the dialog box
that appears on your screen.
2. Choose a function from the function library group which can be
found under the formula tab.
When you choose a function with one of the methods just mentioned, then
Excel will instantly display the dialog box to provide you with the help you
need to input your selected function. The dialog box will tell you what the
function does and what arguments you need so the function can work
properly.
When the cursor is moved to the other fields in the dialog box, the text in
the middle of the box will describe the information that needs to be entered
the argument you have selected. If part of your argument needs to refer to a
range in your spreadsheet, then you can do this by using the mouse to
choose the required range. Any cell that you choose with the mouse will
automatically be placed in the argument field.
The mouse can also be used to select ranges that you would like to form a
part of the function or formula. To do this, make sure your cursor is in the
position where the cell reference or range of cells is required. From there,
you will use the mouse to choose the range that is required. Excel will
instantly insert a reference to the selected range in your function.
Excel offers you the tools that are needed to find a specific value in your
Excel spreadsheet.
1. Locate the find and select button and click on it. You can usually find
this option under the edit group on your home tab. You will then need
to click on the find option. You can also use Control + F.
2. A find and replace dialog box will appear on your screen with the
find tab selected.
3. In your dialog box, you will
a. Enter the text or numeric value that needs to be found.
b. Select the find next button.
By doing this, you will be taken to the next occurrence of your value in the
worksheet that you are working in.
Find all
Should you want to find all the occurrences for a value, then you will select
the find all button in the dialog box. This will provide you with a list of all
the occurrences for your search.
Sometimes you will discover you need to change all the occurrences for a
specific value in your spreadsheet. This can be done by using the find and
replace function in Excel.
1. Go to the find and select button.it will be in the same place that your
find button was located. You may also use control +H.
2. You will now see the find box except the replace tab will be selected
this time.
3. Inside this dialog box:
a. Enter the text that needs to be found in the find what field.
b. Enter what the text needs to be replaced within the replace with
field.
Note: if you do not have something to replace it with you can leave the field
blank, and it will delete all the instances
c. Select the find next button
d. If you want to replace everything in a single, click you will
choose the replace all button and everything containing what is
in the find field will be replaced.
Excel can use the find command to search inside a specific range of cells.
You will need to choose the range that you want to search before you can
perform the find command. For example, you want to search a range
between B2 and B5. The search you conduct will only look in that range
instead of looking at the entire spreadsheet.
Advanced options
The find command can be refined by using the advanced options. You will
click on the options button to get to the advanced options. Keep in mind
that most of these options are available in the replace box as well. Below
you will see all the advanced options you can choose from.
1. Within – the within option will allow you to decide if the find
command needs to search in the worksheet that is active or
throughout the entire workbook.
2. Search – the search option will allow you to decide what order Excel
will search through your worksheet.
a. If you set this option by rows, then Excel will search across
every row before it starts searching the next row.
b. The same thing will happen if you decide to search by column.
3. Look in – the look in option will allow you to decide what needs to
be searched.
a. Comments – only the comments will be searched, all other cell
content will be ignored.
b. Formulas – if there is a formula in the cell, then the text that
makes up the formula will be searched instead of the result for
the formula being searched.
c. Values- should a cell contain a formula, then the result for the
formula will be searched instead of the actual formula being
searched.
4. Match case – the match case will allow you to request the find
command be safe-sensitive.
a. If the match case is checked, then Excel will be case-sensitive
in the find dialog box.
b. Should the match case option not be checked, then the search
will not be case-sensitive.
5. Match entire cell content – the match entire cell content will allow
you to request that your find command matches any part of the cell’s
contents or should only match what the find text is equal to
a. If this option is checked then the Excel program will find cells
for which the entire contents of the cell match the find text.
b. If it is not checked, then the program will operate at the default
settings.
Spell check
Any errors that are found, you will be presented with another dialog box
that shows you your errors and gives you suggestions on how to fix the
error. Excel will provide you with a few different options to choose from so
you can move on to the next error.
a. Ignore – the error will not be corrected.
i. Ignore once will only ignore the highlighted occurrence
once.
ii. Ignore all will ignore all the occurrences of the word.
iii. Add to the dictionary will add the word to the dictionary,
so it is not marked as incorrect again.
b. When you replace the highlighted word with one of the
suggestions, you can go down the list and choose which one is
correct before selecting one of these options.
i. The change button will only replace your current
occurrence that you have highlighted.
ii. Change all will change every occurrence of the word.
iii. Autocorrect will replace the current occurrence, but it will
also be added to the list that will be autocorrected when
the word is misspelled in the future.
After you have chosen the appropriate action for the highlighted
occurrence, spell check will move on to the next occurrence until every
occurrence has been fixed.
Chapter Two: Excel Cell References
Relative and absolute references
Any Excel references that are mentioned in your formula will change when
you copy and paste it into a different cell. You must understand why this
change occurs before you can use cell references.
There are two different types of cell references. Each of these references
will behave differently when they are moved to a different cell. The two
types of references are:
For example, if the contents of cell A1 references cell D1, then the
sequence will be completed down the column
a. When you copy the same formula to the next column, it will be
adjusted to E1. Each time you copy the formula, it will be adjusted to
follow the sequence.
b. Every row will follow the same sequence when you copy the formula
into a new row.
2. Absolute references – you will find that Excel’s cell references can
remain constant when it is copied to another cell. To do this, you will
have to use the dollar sign before a column or a row reference, so the
reference is an absolute reference.
You can mix absolute, and relative references can be mixed. Take, for
instance; you want to reference =$B4 you will use absolute referencing for
the column and relative referencing for the row. Your outcome will be that
letter will be the same, and the number will change to finish the sequence.
You do not have to stick to a single letter on your spreadsheet either. You
can switch it, so your function is =B$4. Now, when you put it in your
spreadsheet, the letter will change but the number will remain the same.
Referencing ranges
Absolute and relative referencing rules can also be applied to ranges. Your
formula will look something like this.
Reference styles
There are two different styles that you can use when you are referencing
cells and ranges.
1. A1 Style references –
The A1 style will be the most common form of referencing that you use in
Excel. This style will be made up of a letter and a number to represent the
column reference and the row number.
This style will be made up of the letter R being followed by a row number
and then the letter C followed by the column number.
R1C1 referencing will also allow you to reference a cell that is many rows
or columns that are relative to the cell you are currently working with. This
will be specified by using the square brackets around your number. Should
the row or column number be omitted, then Excel will use the current row
or column number that you are currently working on.
a. Excel 2010 and higher – go to the file menu and choose options then
you can find the style referencing under formulas.
b. Excel 2007 – on the main menu, you will go to Excel options and
then click on formulas.
c. Excel 2003 – in the tools menu you will see the options menu, and
under options, you will go to general, and from there you will be able
to change the style reference.
Named Ranges
A name for your range will be created when you allocate a specific name to
your range of cells. After you have tagged it, your highlighted range will be
able to be inserted in all your formulas, so you do not need to rely on cell
references.
In the spreadsheet that you are working with, you will need to set up a
named range cell that will reference the numbers from the market. To name
the range, you will follow these steps.
a. Choose the range that you want the name to be applied to. This
needs to include the column header.
b. Go to the formula tab and choose the button that says, ‘create
from selection.’
c. A box will appear that asks you where you want the selection
to be created from.
3. Using the name box to create a named range.
A named range can be created through the name box that is located at the
top of the excel program.
Note: the name must follow the same set of requirements mentioned above.
If a range already has the name that is entered, then the range that already
exists will automatically be chosen. If there is not an existing range, then a
new one will be created.
Working with named ranges in Excel
1. Name box –
Once the named range has been created, it is recommended that you double
check to ensure that it was created. You can do this by looking at the drop-
down menu in your name box. The name box option can be found at the top
of your worksheet, to the left of the formula bar.
The drop-down menu will show you all the named ranges that have been
defined.
Named ranges can be used with your formulas, so you do not have to mess
with cell references. So, instead of placing the cell reference in your
formula, you will enter the named range, and the same functions will be
carried out.
Sometimes you enter the name wrong, and you need to edit the name of
your range. You can do this by selecting the name manager tab in your
defined names group. From there you will see a name manager dialog box.
This dialog box will display all the defined ranges. Choose the range name
that needs to be modified; you can edit the name by:
a. Change the range with the refers field, this is the field at the bottom
of the dialog box. Once you are done, you can click the close button.
b. You can also select the edit button and edit the name of the range. By
opening the edit dialog box, there are options in this dialog box that
will allow you to edit various features you may use such as the range.
Example:
1 = June 3, 1938
2 = June 4, 1938
So, when you enter 1 into your spreadsheet, your date will be displayed in
mm/dd/yyyy format (depending on the cell formatting).
Example:
0 = 00:00 hrs
0.6 = 1:00
Therefore, when you place the decimal value in for your time, it will be
displayed as the time that is associated to that decimal as you saw above
(depending on the cell formatting).
When you enter the decimal into Excel, you will see the values change to
show you the appropriate date and time (depending on the cell formatting).
Since Excel will store dates and times as numbers, they can be added,
subtracted, and compared to another date or time.
The first cell of column B contains the formula =C3 – C1 to calculate the
number of days between 08/01/2017 and 08/31/2017. The outcome is 30
days.
Using the same scenario as above, we will change the dates to times so you
can learn how to subtract time. In cell c3 you have 16:45, and in C1 you
have 14:25. The difference between the times is 2:20.
Because you can store dates and time together, you can use that format to
subtract time as well. Make sure you have your time formatted hh: mm.
If you plan on adding time to a date and time, then it should be formatted
mm/dd/yyyy hh:mm
A common problem
Some of the results that you get from the formulas that you use above may
not require special formatting after they have been entered the spreadsheet.
This may make you think that the formula has not worked, but that is not
always the case.
The cells can be formatted to correct the result by going to general >date,
time or date and time format depending on the formatting that is required.
If you do not see the formatting style you need, then choose the option that
says ‘more number formats’ from the drop-down. This will open a dialog
box where several other formats have been pre-programmed, or you can
create your own format.
Chapter Four: Excel Conversions
Converting text to numbers
There will be times when your spreadsheet contains text for a numeric
value, but you need the numeric value, so you can complete your
calculations.
Excel has an error checking option that can be set up to alert you when a
cell contains text representations of numbers. The alert will be indicated by
a small triangle that is found in the upper left corner of the cell. You will
also see an error indicator that will convert the text into numerical values.
For the error checking method to work correctly, you will need to make
sure that the error checking option is turned on for numbers stored as text.
To change this option, follow the five steps listed below.
The text to columns command will convert the data in your worksheet. But,
you can only use this method on one column at a time.
Here are the steps you will follow to convert text to numbers.
1. Click on the range of cells that you would like to convert (you cannot
click on one more than one column).
2. On the data tab, click on the text to column option
a. A new window will appear on your screen providing you with
more options for when your data is converted.
i. The delimited option should be checked before you click
on the next button.
ii. None of the delimiter options need to be checked.
iii. On the last screen, you should see a selection of column
data formats. You will want to select general before you
click the finish button.
You also have the option to use the Excel paste special command when it
comes to converting text to numbers in a range of cells. When you use this
method, a zero will be added to each column in your selected range. By
doing this, Excel will be able to convert any text representation of numbers
into numeric values. However, it will leave the cells alone that do not
contain numeric text.
The value function will convert a text value into a number by extracting
numeric values from complicated text strings.
Example 2: you can use the value function with the left function to extract
numeric values from a string of text.
The concatenation operator (&) will join the text and numbers together, so
they are placed in a single text string. So, if you concatenate a text string
and number that are empty, you will get a return of a text string that
contains just the number.
The formula that you will use for Excel concatenation is: =” & (column
letter and line number).
There are three functions that were designed by Excel so you can convert
your numbers into a text value.
1. Text function
2. Dollar function
3. Fixed function
Text function
The text function will convert any number in your spreadsheet to text by
using a user-specified format.
Syntax
Dollar function
The dollar function will round a specified number of decimal places while
converting the rounded number to text, all while using the currency format.
Syntax
Note: the currency format that is used in the dollar function will only
happen if the setting is enabled on your computer.
Fixed function
The fixed function will round the number to a specified number of decimal
places while converting the rounded number to text.
Syntax
The error checking option will set up an alert to let you know when any cell
contains a text representation of a date. You will see a small colored triangle
at the top of the cell if there is something wrong with it.
When your cell displays an error indicator, you will use the error checking
method to; convert the text into a numeric date.
1. Select the cell(s) that contain the value you want to convert.
a. A warning symbol will appear next to the cell. If you hover
over the warning symbol, then a warning message will appear
telling you that your date is in text format.
2. Click on the warning label, so the error checking menu appears.
a. Selecting one of the options, so your data is converted.
The error checking option will have to be enabled before it can adequately
display the date. To make sure that the cells contain two digits, you will
follow the steps below.
The text to columns option will convert your text into dates. The most
prominent advantage to using this method is that Excel can recognize
several date formats. But, the text to columns method can only be used on
one column at a time.
The datevalue function will convert the text representation for a date into a
serial number. Keep in mind the function will only be used when converting
a text string that needs to be formatted into a numerical date.
Syntax
Example
A1: 01/03/2018
Using an apostrophe
Note: the apostrophe will not be shown in the cell, but it will inform Excel
to treat the contents of the cell as text.
Using the text to column method will convert an entire column of data. It is
important to remember that you will only be converting a single column at a
time.
The Excel text function will take the numeric value that you supply and
convert it into a format that you specify (text).
Syntax
Freezing Panes
Excel will allow you to freeze pans so you can scroll through your
workbook while the lines or columns you need to see are fixed in place.
The top row of your Excel spreadsheet you will Click on the option freeze
top row’ on the freeze panes drop down. Most of the time this option can be
found in the window group under the view tab.
Note: by using this command, you will be freezing the top row that is
currently visible in your workbook. If the top row that you currently see is
not the row you want to freeze, scroll until you get to the ‘top’ row you
want to be frozen.
The first column of your spreadsheet can be frozen by selecting the ‘freeze
first column’ option in the freeze panes drop-down menu.
Note: this command will freeze the first column visible in your spreadsheet.
More than one row or column can be frozen in your Excel spreadsheet. To
do this, you will continue to use the freeze panes option which can be found
under the freeze panes dropdown. When you use this option, the rows and
columns that you freeze will stay on your screen while you scroll through
the workbook.
Every row that is above the selected row and every column that is to the left
of the selected column will be frozen.
Unfreezing panes
After you have frozen columns or rows in your spreadsheet, you will want
to unfreeze them once you are done with the project. To do this, go back to
the drop-down menu under the freeze pane option. The top option says,
‘unfreeze panes.’ Clicking on this will reset your spreadsheet, so the view is
back to normal.
Zoom
The zoom command can change the scale of the spreadsheet electronically.
This will not change the underlying characteristics of the spreadsheet.
Therefore, the printout of your spreadsheet will stay the same.
Click on the view tab on your Excel ribbon, on this ribbon, the zoom option
will be in the zoom group. Selecting zoom will open a dialog box. In this
dialog box, you can select the magnification of your spreadsheet.
You may also zoom to a selection. When you select this option, you will be
adjusting the zoom scale, so it fits the cells you have selected in the current
view.
You will see a few shortcuts to these options on your Excel ribbon. By
using the shortcuts, you can change your spreadsheet, so it is back to its
original size with a single click.
When you zoom out on your spreadsheet, so it is less than forty percent, the
name ranges will automatically be displayed. You will find this helpful
when you are trying to keep track of the name ranges that are in your
project.
Keyboard shortcuts
To quickly access the zoom dialog box, push these three buttons. You must
press these buttons at the same time, so it works correctly.
Alt+V Z
Using an Intellimouse
If you are working with a mouse that has a roller wheel, you can use the
zoom on roll with IntelliMouse option. By using this option, you will be
able to zoom in and out of the spreadsheet with the wheel on your mouse.
Depending on the version of Excel that you are using will depend on where
you can find your Intellimouse option.
2010 or higher
1. File
2. Options
3. Advanced
4. Zoom on roll with Intellimouse
2007
1. Office button
2. Options
3. Advanced
4. Zoom on roll with Intellimouse
2003
1. Tools
2. Options
3. General
4. Zoom on roll with Intellimouse
Show Formulas
Show all formulas
To show the formula you are using in all the cells of your spreadsheet, you
can use a keyboard shortcut. By pressing Ctrl +`. On most keyboards, the `
button can be located to the left of the 1 button. When you need to hide the
formula, press the same key combination.
Example
`=VALUE ()
There will be times that you need to hide columns in your spreadsheet. Two
reasons you may need to hide the columns are:
In all three situations, you need to know how to unhide the columns when
you need to look at them later.
Hiding columns
Unhiding columns
1. Choose the column that needs to be unhidden. This can be down one
of two ways.
a. Drag the headers of the columns on either side of the columns
that are hidden.
b. Select the left corner of the worksheet, so the entire worksheet
is selected.
2. Unhide the columns
a. Select format, click on ‘hide & unhide > unhide columns’
b. Right-click and select unhide on your menu.
You may want to hide rows in your spreadsheet for the same reason that
you would want to hide a column. However, it is essential to know that if
you are hiding rows, you should use the autofiller method.
Hiding rows
Unhiding rows
The gridlines in your spreadsheet are only visible when you are looking at
the spreadsheet electronically, but when you print the spreadsheet, these
lines will not appear. But, you may want to hide the gridlines when you are
viewing the workbook on your computer. There are two different ways you
can accomplish this goal.
1. Using the de-selecting option
2003
1. Go to tools
2. Click on options
3. In the dialog box navigate to the view tab
4. Uncheck the gridlines box which is located towards the bottom of the
box.
Another way to hide the gridlines is to color the background of your cell
white. This method is best used if you want to hide the gridlines in a range
of cells or the entire workbook.
1. Highlight the cells that you would like to hide the gridlines on
2. Use the down arrow located next to the fill color.
3. Selecting white will give your worksheet the appearance of removing
the gridlines from your Excel worksheet.
Chapter Six: Formatting Your Excel Spreadsheet
Dates, currency, time, and percentage values will be stored in numeric value
which means that the user often must rely on how the spreadsheet is
formatted to understand what the numbers represent.
Take, for example, a cell that contains a value like 0.6 could represent the
following.
1. Time: 1:00
2. Date and time: Jan 2, 1901 1:00
3. Currency: $0.60
4. Percentage: 60%
5. A simple number: 0.6
Below you will see the various ways that formatting that can be used in
Excel for numeric values
1. A percentage
a. Formatted value: 60%
b. Underlying value: 0.6
2. Currency
a. Formatted value: $60.50
b. Underlying value: 60.50
3. Date
a. Formatted value: 05 June 2000
b. Underlying value: 52315
4. Time
a. Formatted value: 12:28 am
b. Underlying value: 0.51876
5. Fraction
a. Formatted value: 1 ¾
b. Underlying value: 1.75
To format the data that appears in your Excel cell, you will need to select
the cells that have to be formatted. The most common formatting options
can be located directly from the home tab on the top ribbon.
But, if you want the full menu, you will need to use the ‘format cells’ dialog
box that you will find by using one of the following methods.
It is vital that you have the number tab selected when you are looking at the
format cells dialog box. From there, you can select the formatting type you
want to be applied to your spreadsheet. When a category is selected, you
may be presented with extra options on the right side of the dialog box;
these options can be used to specify the formatting style you are looking
for.
After the details for your formatting have been selected, you will need to
click okay, so the dialog box can be closed.
Note: the formats listed will only work on numbers, therefore, if you try to
apply the date format to a cell that contains text, your cell will not change.
Date formatting
Excel offers several date formats that can be applied to your cells that hold
a date value. You will access each of these formats in a different way. But,
if none of the standard date formats are satisfactory, Excel will allow you to
define your own format.
Applying a standard date format
In the Excel versions 2007 and later, there is a selection of standard formats
that include date formats located in the drop-down menu in the number
group. If you want to apply a standard date format, you will select the cells
that you wish to format before clicking on the format cells drop-down box.
In this menu, you are several formats that can be selected for your cells.
For example, you can choose a short date (1/1/16) or the extended date
(Wednesday, January 1, 2016).
The format you use will depend on the settings on your computer.
1. Find the format cells dialog box by clicking on the dialog box
launcher as explained above.
2. In the format cells dialog box:
a. Click the number tab
b. Choose the date category
c. Select a date format that is listed and click okay.
Excel has an option that you can use if you want to create your own custom
format. Before you can start defining your own format, you need to select
the cells that need to be formatted before you open the format cells dialog
box.
You will access the format dialog box using the steps described earlier.
Below you will see the numerical options that you can choose from when
you are creating your own format.
The characters you will use when you create your own formatting for
currency, integer or decimals are:
Excel also allows you to define at least three of the primary formats for one
cell. Should the cell contain a value, the formats can be applied depending
on if the number is positive, zero, or negative.
1. When one text format is supplied, then the format will be applied to
all the numbers.
2. Should two text formats be supplied, then the first will be applied to
positive numbers and zeros while the second is applied to negative
numbers.
3. Three text formats will apply the first format to positive numbers, the
second to negative numbers, and the third to the zero value.
Formatting percentages means you will use 0, #, and. characters like you
would if you are formatting an integer or decimal. But, for the percentage
formatting, Excel will display the number multiplied by one hundred,
followed by a percent sign.
When you are formatting a cell for a date, time, or date and time, you will
use the same characters that are used when formatting date. However, your
time characters will be different.
1. H – Hour
a. H – one to two-digit representation
b. Hh – two-digit representation of the hour
2. M – minute
a. M – a single digit representation
b. Mm – two-digit representation
3. S – seconds
a. S – one-digit representation
b. Ss – two-digit representation
4. AM/PM – morning or night representation. This should only be used
when using a twelve-hour clock.
Merging cells
When you merge cells, you will be taking multiple cells and creating one
larger cell that covers several rows or columns.
You will find the merge button in the alignment group on your home tab.
Just as the name suggests, you will be merging the cells you have
highlighted, so their content is centered horizontally or vertically.
Unmerging cells
As you merge cells in Excel, there are a few limitations you should be
aware of.
1. After a cell has been merged, the short command will not work.
2. You may only merge cells that form a rectangular shape.
3. The contents of two or more cells cannot be merged.
Wrap text
If the contents of a cell are too long, then there are two things Excel will do.
The text will either overlap the adjacent cells, or the adjacent cells will
become filled with the value, but, the text will be cut off at the cell
boundary. When this happens, you will want to use wrap text, so your text
is fully displayed in the cell.
There are two ways that you can enable wrap text in your Excel
spreadsheet.
1. This method is simple. You will click on the button that says wrap
text. You will find this button on your home tab in the group entitled
alignment.
2. The second method will involve you accessing wrap text through the
format cells dialog box. It does not matter what version of Excel you
are using; this method will work on them all.
a. Open the format cell dialog box
b. In the dialog box you will:
i. Choose the alignment tab
ii. Check the box next to wrap text
iii. Click okay.
The wrap text option can also be enabled by forcing a line break. You can
force a line break by using two simple steps.
Note: auto-sizing cells will not work with merged cells. If there is wrapped
text in a merged cell, the cell will need to be resized manually.
Conditional formatting
1. The outcome of the formula (which will rely on the values of the cell
or the cells in the same worksheet).
2. The value in the current cell you are working with.
3. The value of another cell in the same spreadsheet.
Before you open the conditional formatting menu, you will need to select
the cells that the formatting needs to be applied to. From there, you will
click on the conditional formatting option that is found in the styles group
on the home tab. When you click on this option, the drop-down menu for
conditional formatting will appear.
This menu will provide you with conditional formatting options that can be
applied to your cell.
1. New rule – you can specify more complex rules that pertain to the
result of a formula.
2. Highlight cells rule – the formatting will be applied to the cells that
satisfy a condition.
3. Data bars / color scales / icon sets - the formatting will only be
applied to the cells in the range depending on what their relationship
is to one another.
4. Top/ bottom rule – the formatting will be applied to the cells that
satisfy a statistical condition in relation to the cells in the range
selected.
Chapter Seven: Subtotals in Excel
The subtotal command used by Excel provides a quick way for you to
produce a subtotal for individual fields in a table of data. Keep in mind that
this command will not be the same as the subtotal function that performs
mathematical operations in the range of cells that are visible.
These options will inform Excel that it should show the subtotal each time
the value in that column changes and that the subtotal needs to display the
sum of the data in the sales column.
Note: when you click on the outlines found to the left of your table, you can
hide or display details for every section found in your data table.
The dialog box offers other options in addition to the ones mentioned
above. Each option will be detailed below.
1. At each change in – this field will allow you to pick the field in your
data table where the subtotals need to be applied
2. Use function – this field will enable you to pick a mathematical
operation that will need to be performed on the group of data.
3. Add subtotal to – here you can decide which column of your table the
mathematical operation should be applied to. Multiple fields can be
selected to apply the subtotal operation, although this operation will
only make sense for any fields that contain numeric values.
4. Replace current subtotals – the replace subtotals checkbox gives you
the option to insert more than one subtotal to your data table.
a. The replace current subtotals box will place a second subtotal
request in thus replacing the sum subtotal with the average.
b. If the box is not checked, then the second subtotal request will
be displayed alongside the sum subtotals.
5. Page break between groups – this check box will insert a page break
after every data set. This is best used when you want to print out your
workbook.
6. Summary below data – this check box will specify where the group
summaries need to be placed.
a. The below box being checked will place the subtotals below
every data group
b. The box not being checked will place the subtotals above each
data group.
Removing subtotals
Creating a hyperlink
The different types of hyperlinks that are listed on the left-hand side of the
dialog box. Each type is described below.
Removing hyperlinks
There are two methods you can use to remove a hyperlink from your
spreadsheet once you have clicked on the cell that contains the hyperlink.
1. Use the right mouse button and choose the option that says remove
hyperlink in your right menu.
2. Go to the editing group on the home tab. You should see an option
that says clear. From there you can remove the hyperlinks in your
spreadsheet.
Note: when this command is used, the hyperlinks in the cells you have
selected will be removed. The formatting of the cells will not be changed.
Conclusion
Thank you for making it through to the end of this book, let’s hope it was
informative and able to provide you with all the tools you need to achieve
your goals whatever they may be.
The next step is to begin using Excel. If you are a beginner, then this book
was hopefully able to show you things about the Excel program that you did
not know about before. Everything in this book was compiled to provide
you with the best strategies that you can use while you complete your Excel
tasks.
As you have learned, Excel can be difficult. You need to be familiar with
the tools to get the most out of it. With practice, study, and
Do not forget to look up the tips and tricks book as well as the advanced
strategies book in the same series!
Finally, if you found this book useful in any way, a review on Amazon is
always appreciated!