Excel 2024 - The Ultimate Beginners Guide
Excel 2024 - The Ultimate Beginners Guide
TAYLOR GRANT
Copyright © 2024 Taylor Grant
All rights reserved.
ISBN: 9798332449710
Introduction
Welcome to the world of Microsoft Excel! In this book, you will find everything you need
to confidently start using Excel and master advanced features that will help you efficiently
manage data. Whether you are a beginner or an experienced user, you will find useful tips,
step-by-step instructions, and answers to frequently asked questions.
This book will guide you step by step through everything Excel has to offer, from basic
operations to advanced analytical tools. You will learn how to create and format tables,
use powerful functions and formulas, visualize data with charts and graphs, and conduct
in-depth data analysis.
No matter your field, whether it is business, education, research, or personal use, Excel
provides tools that make working with data simpler and more efficient. This book will be
your reliable companion in mastering all the capabilities of Excel, helping you increase
productivity and achieve better results.
Now, let's begin our journey into the amazing world of Excel and discover how this
powerful tool can assist you in your work, studies, and daily life.
3
Content
INTRODUCTION ...................................................................................... 3
PART VIII WORKING WITH BIG DATA AND BUSINESS INTELLIGENCE ... 119
3-D..................................................................................................... 142
A ........................................................................................................ 142
B ........................................................................................................ 143
C ........................................................................................................ 143
D........................................................................................................ 145
E ........................................................................................................ 147
F ........................................................................................................ 148
G........................................................................................................ 149
H........................................................................................................ 149
I ......................................................................................................... 150
J ......................................................................................................... 150
L ........................................................................................................ 151
M ....................................................................................................... 151
N ....................................................................................................... 152
O ....................................................................................................... 152
P ........................................................................................................ 153
Q ....................................................................................................... 155
R ........................................................................................................ 156
S ........................................................................................................ 157
T ........................................................................................................ 158
U ........................................................................................................ 159
V ........................................................................................................ 159
W ....................................................................................................... 160
X ........................................................................................................ 161
Excel’s flexibility makes it suitable for various tasks. For example, you can
use it for simple to-do lists or complex financial modeling.
Tip: Explore different templates available in Excel for various needs like
budgets, calendars, and invoices. This will save you time and provide a
structured starting point.
Efficiency:
Automating tasks with macros and formulas can drastically reduce the time
spent on repetitive tasks.
Tip: Start by learning basic automation like filling series and simple macros before moving
to more complex tasks.
10
Data Analysis:
Excel’s data analysis tools like PivotTables and data visualization options help in making
data-driven decisions.
Tip: Use the Analyze tab for quick insights and recommendations based on your data.
Career Opportunities:
Proficiency in Excel is often required in job descriptions across various industries.
Tip: Highlight your Excel skills on your resume and be ready to demonstrate your
proficiency in interviews.
(fig. 1.1)
• On macOS:
1. Open the "Applications" folder and find Excel there, then double-click the icon.
11
2. Use Spotlight search by typing "Excel." (fig. 1.2).
(fig. 1.2).
• Closing Excel:
1. Click the "Close" button in the upper-right corner of the window (Windows) or
the upper-left corner (macOS).
2. Use keyboard shortcuts Alt+F4 (Windows) or ⌘+Q (macOS). (fig. 1.3).
(fig. 1.3)
1. Click "File" > "Save As," choose a location to save, enter a file name, and click
"Save." (fig. 1.4).
12
(fig. 1.4)
Saving changes:
If the document has been saved previously, click "File" > "Save" or use the
keyboard shortcuts Ctrl+S (Windows) or ⌘+S (macOS). (fig. 1.5).
(fig. 1.5)
1. Click "File" > "Open," select the file you want to open, and click "Open." (fig. 1.6).
13
(fig. 1.6)
Element DescripMon
Verical Scroll
Allows you to scroll the sheet verically.
Bar
The Zoom Slider allows you to change the zoom level of the
Zoom Slider
acive worksheet.
Horizontal
Allows you to scroll the worksheet horizontally.
Scroll Bar
Each of the 16,384 columns in the worksheet has a header,
Column designated by lekers from A to XFD. Click the column header
Headers to select all cells in the column, or drag the column boundary
to change the column width.
Click this bukon to add a new worksheet to the workbook. The
New Sheet
new sheet tab will appear aler the last exising tab in the row
Bukon
of sheet tabs.
Clicking this bukon hides the ribbon, freeing up workspace.
Ribbon Collapse
Double-clicking any tab (or pressing <Ctrl+F1>) brings the
Bukon
ribbon back.
Provides access to the Microsol Office Backstage view, which
File Bukon contains many opions for working with documents (including
prining) and for seong Excel preferences.
Allow you to scroll through the sheet tabs for viewing and
Sheet Tab Scroll
selecing. You can also right-click these bukons to get a full list
Bukons
of sheets in the workbook.
14
Page View Clicking one of these bukons changes the way the worksheet is
Bukons displayed.
These three bukons allow you to minimize, maximize/restore,
Window
or close the current window. This standard set of control
Control Bukons
bukons is common to most Windows applicaions.
The main locaion for Excel commands. Clicking any tab
Ribbon unfolds it on the ribbon, changing the set of displayed
elements.
Each row in the worksheet has a header represented by a
number from 1 to 1,048,576. Click the row header to select all
Row Numbers
cells in the row, or drag the boundary between two row
numbers to change the row height.
This customizable toolbar contains frequently used commands.
Quick Access
The Quick Access Toolbar is always visible, regardless of the
Toolbar
selected tab.
Ribbon Display A dropdown control that allows you to select one of three
Opions ribbon display opions.
Displays the address of the acive cell or the name of the
Name Box
selected cell, range, or object.
Similar to a menu bar. Clicking any tab header displays the
Tab List
corresponding set of Excel commands on the ribbon.
Displays the program name and the name of the current
workbook. It also contains the Quick Access Toolbar (on the
Title Bar
lel) and a set of control bukons (on the right) that can be used
to change the appearance of the window.
This bar displays various messages and the status of keys like
<Num Lock>, <Caps Lock>, and <Scroll Lock>. It also shows
Status Bar general informaion about the selected range of cells. Right-
clicking the status bar allows you to choose the type of
informaion displayed for the range.
Formula Bar When entering data or a formula in a cell, it appears in this bar.
Cell Cursor (or
This is a dark outline that highlights the current acive cell (one
Acive Cell
of the 17,179,869,184 cells in each worksheet).
Indicator)
Each of these tabs, resembling notebook tabs, represents a
separate sheet in the workbook. A workbook can have any
Sheet Tabs
number of worksheets; each sheet has a name that appears on
the sheet tab.
15
(fig. 1.7)
16
Tip: Familiarize yourself with these key elements of the Excel interface to navigate and
utilize its features effectively. Practice moving between different tabs and exploring the
options available under each one.
17
Chapter 2: Entering and Editing Data
A cell is the basic unit of data storage in Excel. Each cell is located at the intersection of a
row and a column and has a unique address consisting of the column letter and row
number (e.g., B2). (fig. 2.1).
(fig. 2.1.)
Detailed Explanation: Cells can hold various types of data, such as text, numbers, dates,
and formulas. Understanding how to reference cells using their addresses is crucial for
effective data management in Excel.
Tip: Always ensure that the data type in each cell matches its intended use. For example,
use number formatting for financial data and date formatting for calendar dates.
18
2.3. Editing Data
To edit data in a cell:
1. Double-click the cell or press F2 to enter edit mode.
2. Modify the data as needed.
3. Press Enter to complete the changes.
Tip: Use the F2 key to quickly enter edit mode. This shortcut is particularly useful when you
need to make small adjustments to existing data. When editing data, ensure that you do
not accidentally overwrite important information. Always review changes before pressing
Enter.
19
2.5. Using the Clipboard
The Clipboard allows you to copy and paste multiple items. To use the Clipboard:
1. Copy several items using Ctrl+C (Windows) or ⌘+C (macOS).
2. Open the Clipboard pane by clicking "Home" > "Clipboard."
3. Select the item from the Clipboard that you want to paste. (fig. 2.2).
Tip: The Clipboard pane is particularly useful when you need to copy multiple pieces of data
from different locations and paste them in a different order.
(fig. 2.2)
Paste Special provides various options for pasting data, such as pasting values only,
formats, or formulas. To use Paste Special:
20
(fig. 2.3)
Detailed Explanation: Paste Special is a powerful feature that allows you to control exactly
how data is pasted. For example, you can paste only the values without the formatting or
formulas.
Tip: Use Paste Special to avoid carrying over unwanted formatting or to perform
calculations on the pasted data.
21
Chapter 3: Basic Operations on the Worksheet
1. Click the "+" button at the bottom of the Excel window, next to the tabs of
existing sheets (fig. 3.1).
(fig. 3.1)
Managing Worksheets:
Renaming:
• Right-click on the sheet tab, select "Rename," and enter a new name (fig. 3.2).
Moving:
• Drag the sheet tab to a new location.
Deleting:
• Right-click on the sheet tab and select "Delete" (fig. 3.2).
22
(fig. 3.2).
1. Renaming Sheets:
• Give meaningful names to your sheets to easily identify the data contained
within each one.
Tip: Use names that reflect the content or purpose, like "Sales Q1" or "Budget 2024."
2. Moving Sheets:
Organize your sheets in a logical order to enhance navigation and workflow.
Tip: Group related sheets together, for example, by project or data type.
3. Deleting Sheets:
Be cautious when deleting sheets to avoid losing important data.
Tip: Always double-check the content of a sheet before deleting it, or consider backing up
your workbook.
1. Select the row or column next to where you want to insert new elements.
23
To move rows or columns:
2. Drag the selected item to a new location, holding down the mouse button.
(fig. 3.3).
1. Inserting Rows/Columns:
o Inserting new rows and columns can help structure your data better.
Tip: Use the "Insert" menu to add multiple rows or columns at once.
2. Deleting Rows/Columns:
Tip: Ensure no important data is within the rows or columns you plan to delete.
3. Moving Rows/Columns:
o Moving rows and columns can help reorganize data for better analysis
and presentation.
Tip: Be aware that moving data might affect formulas and references.
24
3.3. Hiding and Unhiding Rows and Columns
(fig. 3.4)
1. Hiding Rows/Columns:
Tip: Use hiding to simplify complex worksheets during presentations or when sharing with
others.
2. Unhiding Rows/Columns:
25
Tip: Keep track of hidden rows/columns to avoid confusion.
To group data:
To ungroup data:
(fig. 3.5)
1. Grouping Data:
Tip: Use grouping for sections of data that are frequently analyzed together.
2. Ungrouping Data:
26
3.5. Printing Worksheets and Print Setup
To set up printing:
2. In the print preview window, adjust settings such as page orientation, paper size,
and margins
To print a worksheet:
1. Print Setup:
Tip: Use print preview to check how your worksheet will look when printed.
2. Printing Worksheets:
Tip: Double-check print settings for headers, footers, and scaling before printing.
27
Part II
Formatting Data and
Worksheets
Chapter 4: Formatting Cells
3. Use the drop-down menus to select the font and text size (fig. 4.1).
(fig. 4.1)
Detailed Explanation: Changing the font and text size helps to improve the readability of
your data and make important information stand out.
Tip: Use consistent fonts and text sizes throughout your worksheet to maintain a
professional and cohesive look.
29
(fig. 4.2)
Detailed Explanation: Adjusting text and cell fill colors can help highlight important data or
differentiate between various data categories.
Tip: Use contrasting colors for text and cell fills to ensure readability. Avoid using too many
different colors, as this can make the worksheet look cluttered.
2. On the "Home" tab, use the alignment buttons to align text left, center, or right
(fig. 4.3).
(fig. 4.3)
30
Detailed Explanation: Proper text alignment improves the visual structure of your
worksheet, making it easier to read and understand.
Tip: Use center alignment for headings and left alignment for text data to maintain a clean
and organized appearance.
2. On the "Home" tab, use the "Borders" button to select the type of border (fig.
4.4).
(fig. 4.4)
Detailed Explanation: Adding borders to cells helps to separate data and create a clear
visual distinction between different sections of your worksheet.
Tip: Use thicker borders for the outer edges of tables and thinner borders for internal lines
to enhance readability.
2. On the "Home" tab, use the "Number Format" drop-down menu to choose the
desired format (e.g., "Number," "Date," "Time") (fig. 4.5).
31
(fig. 4.5)
Detailed Explanation: Properly formatting numbers and dates ensures that your
data is displayed correctly and is easy to interpret.
Tip: Use number formatting to display financial data with the appropriate currency
symbols and decimal places. Use date formatting to ensure dates are consistently
displayed.
A range is a group of cells that are operated on as a group. You can select a range by
clicking and dragging the mouse over the desired cells (fig. 5.1).
32
(fig. 5.1)
Detailed Explanation: Selecting ranges allows you to apply formatting, formulas, and other
operations to multiple cells at once, improving efficiency.
Tip: Use named ranges to simplify complex formulas and make your worksheet easier to
understand.
To create a table:
(fig. 5.2)
33
To format a table:
2. On the "Design" tab, choose formatting styles and options (fig. 5.3).
(fig. 5.3)
Detailed Explanation: Tables provide a structured way to manage and analyze data, with
built-in features for filtering, sorting, and formatting.
Tip: Choose table styles that enhance readability and match the overall design of your
worksheet.
• Filtering and Sorting: Tables include built-in tools for filtering and sorting data.
(fig. 5.4).
34
(fig. 5.4)
Detailed Explanation: Using tables simplifies data management and ensures consistency in
formatting and functionality.
Tip: Convert ranges to tables whenever possible to take advantage of these features and
improve your data workflow.
Structured references make it easy to refer to data in tables. Instead of using regular cell
references (e.g., A1), you can use column names.
Tip: Use structured references to make your formulas more intuitive and less prone to
errors, especially in large datasets.
35
Part III
Working with Formulas and
Functions
Chapter 6: Introduction to Formulas and Functions
Formulas and functions in Excel are powerful tools for performing calculations and
analyzing data. A formula always begins with an equal sign (=) and can include operators,
cell references, and built-in functions (fig. 6.1).
(fig. 6.1)
Detailed Explanation: Formulas are essential for automating calculations and improving
data analysis efficiency. Understanding how to construct and use formulas is fundamental
to leveraging Excel's full potential.
Tip: Start with simple formulas to get comfortable with the syntax and gradually progress
to more complex calculations.
37
6.2. Basic Formulas (SUM, AVERAGE, MAX, MIN)
• SUM:
(fig. 6.2)
38
• AVERAGE:
(fig. 6.3)
39
• MAX:
(fig. 6.4)
40
• MIN:
(fig. 6.5)
Detailed Explanation: These basic functions are fundamental for everyday calculations and
data analysis. They help summarize and interpret data quickly.
Tip: Use the AutoSum feature on the Home tab to quickly apply these functions to your
data.
41
6.3. Frequently Used Functions (IF, VLOOKUP, HLOOKUP, COUNT,
COUNTIF)
• IF:
(fig. 6.6)
• VLOOKUP:
o This function looks for a value in the first column of a table and returns
a value in the same row from another column.
To use the VLOOKUP function in Excel, you can follow these steps:
42
• Prepare your data table:
o Ensure your data table contains a column where you will look for a
value and column(s) from which you want to return a value.
• Example data:
o Enter the formula in the cell where you want to see the result.
§ "Jane": the value you are looking for in the first column of
the table.
§ A2:B4: the range of the table where your search and return
data are located.
• Result:
o The cell with the formula will display the phone number "234-5678".
43
(fig. 6.7)
• HLOOKUP:
• Ensure your data table contains a row where you will look for a value and row(s)
from which you want to return a value.
Example data:
• Suppose you have a table with product names in the first row and their prices in
the second row:
44
A B C
1 Product1 Product2 Product3
2 10 20 30
Using the HLOOKUP function:
• Enter the formula in the cell where you want to see the result.
o "Product2": the value you are looking for in the first row of the table.
o A1:C2: the range of the table where your search and return data are
located.
o 2: the row number from which you want to return the value (in this
case, the second row with prices).
o FALSE: exact match (if it doesn't find an exact match, it will return an
error).
45
Result:
• The cell with the formula will display the price "20".
(fig. 6.8)
46
• COUNT:
(fig. 6.9)
47
• COUNTIF:
(fig. 6.10)
Detailed Explanation: These functions are widely used in various data analysis scenarios.
They provide conditional logic (IF), lookup capabilities (VLOOKUP, HLOOKUP), and counting
functionalities (COUNT, COUNTIF).
48
Tip: Familiarize yourself with these functions by practicing with different datasets. This will
enhance your data analysis skills and efficiency. When using lookup functions like
VLOOKUP and HLOOKUP, ensure your data is organized correctly for accurate results.
AND Function
Description: This function returns TRUE if all arguments are true.
Format:
=AND(condition1, condition2)
Example Data
Suppose you have the following values in columns A and B:
A B
10 20
15 25
30 5
25 30
20 15
• In cell C2: FALSE (because the value in A2 is 10, which is not greater than 10)
• In cell C3: TRUE (because the value in A3 is greater than 10 and the value in B3 is
less than 30)
49
• In cell C4: TRUE (because the value in A4 is greater than 10 and the value in B4 is
less than 30)
• In cell C5: FALSE (because the value in B5 is 30, which is not less than 30)
• In cell C6: TRUE (because the value in A6 is greater than 10 and the value in B6 is
less than 30)
Example Formula in Cells
If you want to apply the formula to each row:
=AND(A2>10, B2<30)
You can copy this formula to other cells, such as C2, C3, C4, etc.
(fig. 7.1)
OR:
1. This function returns TRUE if any argument is true.
2. Format: =OR(condition1, condition2) (fig. 7.2).
OR Function
Description: This function returns TRUE if any argument is true.
Example Data
Suppose you have the following values in columns A and B:
50
A B
10 20
15 25
30 5
25 30
20 15
The formula to check if the values in column A are greater than 20 or the values in column
B are less than 10 will look like this:
=OR(A2>20, B2<10)
Result
This formula will return:
• In cell C2: FALSE (because the value in A2 is not greater than 20 and the value in
B2 is not less than 10)
• In cell C3: FALSE (because the value in A3 is not greater than 20 and the value in
B3 is not less than 10)
• In cell C5: FALSE (because the value in A5 is not greater than 20 and the value in
B5 is not less than 10)
• In cell C6: FALSE (because the value in A6 is not greater than 20 and the value in
B6 is not less than 10)
Example Formula in Cells
If you want to apply the formula to each row:
=OR(A2>20, B2<10)
You can copy this formula to other cells, such as C2, C3, C4, etc.
51
(fig. 7.2)
Detailed Explanation: Logical functions are used to test multiple conditions and return a
Boolean value (TRUE or FALSE). They are often used in conjunction with other functions to
create complex formulas.
Tip: Use logical functions to build dynamic formulas that respond to different data
conditions.
• SUMIF:
52
(fig. 7.3)
• RANDBETWEEN:
(fig. 7.4)
Tip: Use the RANDBETWEEN function to generate random data for simulations and testing.
• COUNTIF:
53
o This function counts the number of cells in a range that meet a
condition.
(fig. 7.5)
MODE:
54
(fig. 7.6)
VAR:
55
(fig. 7.7)
Detailed Explanation: Statistical functions help in summarizing and analyzing data sets.
They are used to count, average, apply conditions to data, find the mode, and calculate
variance.
Tip: Use COUNTIF to apply specific conditions when counting data points, improving the
accuracy of your analysis. The MODE function is useful for identifying the most common
value in a dataset, while the VAR function provides insight into the spread and variability of
data points. These functions are essential for comprehensive statistical analysis.
56
7.4. Text Functions (TRANSPOSE, TRIM, TEXTJOIN)
• TRANSPOSE:
Result:
A14
B 25
C 36
(fig. 7.8)
In Excel, select the range where you want to place the transposed data, then enter the
formula and press Ctrl+Shift+Enter to confirm it as an array formula (for Excel versions
prior to Office 365).
TRIM:
1. This function removes extra spaces from text.
2. Format: =TRIM(text) (fig. 7.9).
57
Example for TRIM
Using the TRIM function, you can remove the extra spaces from the text.
Original Text:
" Hello World Hello World "
Trim Formula:
=TRIM(B2)
Result:
"Hello World Hello World "
(fig. 7.9)
Detailed Explanation: The TRIM function is useful for cleaning up text data by removing
extra spaces, which can help in standardizing and preparing data for analysis.
Tip: Use the TRIM function to clean up text fields and remove unnecessary spaces, ensuring
that your text data is consistent and easier to work with.
TEXTJOIN:
1. This function joins text from multiple ranges and/or strings and inserts a
delimiter between each text value.
2. Format: =TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...) (fig. 7.10).
A1 Apple
A2 Banana
A3 Cherry
Using the TEXTJOIN function, you can combine these text values with a delimiter.
58
TEXTJOIN Formula:
=TEXTJOIN(", ", TRUE, A1, A2, A3)
Result:
"Apple, Banana, Cherry"
(fig. 7.10)
Detailed Explanation: The TEXTJOIN function is useful for combining text from multiple
cells into a single cell, with a specified delimiter between each text value. It also allows you
to choose whether to ignore empty cells. Text functions, in general, are used to
manipulate and format text data. They are useful for cleaning up text entries and creating
dynamic text strings.
Tip: Use the TEXTJOIN function to efficiently concatenate text values from multiple cells,
making it easier to create comprehensive and well-formatted text strings. This is especially
useful for creating lists or concatenating data for reporting purposes. Additionally, use the
TRIM function to clean up data imported from other sources that may contain irregular
spacing.
Format:
=PV(rate, nper, pmt, [fv], [type])
Parameters:
59
• rate: The interest rate per period.
• pmt: The payment made each period; it remains constant over the life of the
annuity.
• [fv]: (Optional) The future value or cash balance after the last payment. If
omitted, it defaults to 0.
Parameter Value
Rate 4%
Nper 20
Pmt -20000
Fv 0
Type 0
Formula:
=PV(0.04, 20, -20000, 0, 0)
Result:
The present value of an investment with a 4% annual interest rate, receiving $20,000
annually for 20 years, with no future value, is approximately $236,192.77.
(fig. 7.11)
60
FV (Future Value):
1. This function calculates the future value of an investment.
2. Format: =FV(rate, nper, pmt, [pv], [type]) (fig. 7.12).
Task: You plan to invest $5,000 annually in a retirement fund that promises an annual
interest rate of 8% for the next 25 years. Calculate the future value of your investment to
determine how much you will have saved by the end of the investment period.
Parameters:
3. pmt: The payment made each period; it remains constant over the life of the
annuity.
4. [pv]: (Optional) The present value or total amount that a series of future
payments is worth now. If omitted, it defaults to 0.
Example:
Parameter Value
Rate 8%
Nper 25
Pmt -5000
Pv 0
Type 0
Formula:
=FV(0.08, 25, -5000, 0, 0)
Result:
The future value of investing $5,000 annually for 25 years at an 8% annual interest rate is
approximately $36529.70.
61
(fig. 7.12)
NPV (Net Present Value):
This function calculates the net present value of an investment based on a series of cash
flows and a discount rate.
Format:
=NPV(rate, cash_flows) + Initial_Investment (fig. 7.13).
Parameters:
• cash_flows: The series of cash flows representing the income or payments over
the investment period.
Recommendations:
• Ensure the cash flows are entered in the correct sequence, reflecting the actual
timing of the payments.
Task: You are considering an investment that requires an initial outlay of $10,000 and
promises to return $3,000 annually for the next 5 years. Calculate the net present value of
this investment using a discount rate of 7% to determine if it's a worthwhile investment.
62
Example:
• Formula:
=NPV(0.07, 3000, 3000, 3000, 3000, 3000) - 10000
• Result:
The net present value of this investment with a 7% discount rate is
approximately $2,150.09.
(fig. 7.13)
SYD (Sum-of-Years' Digits)
This function calculates the depreciation of an asset based on the sum-of-years' digits
method, which accelerates depreciation by applying a decreasing fraction of the
depreciable cost over the life of the asset.
Format:
=SYD(cost, salvage, life, per) (fig. 7.14).
Parameters:
2. salvage: The value of the asset at the end of its useful life.
63
4. per: The period for which the depreciation is calculated.
Recommendations:
• Use this function for assets that lose value quickly in the early years of their
useful life.
• Ensure that the periods are consistent (e.g., annual periods for annual
depreciation).
Task: You purchased machinery for $50,000, which you expect to have a salvage value of
$5,000 at the end of its 10-year useful life. Calculate the depreciation expense for the third
year using the sum-of-years' digits method.
Example:
Parameter Value
Cost 50000
Salvage 5000
Life 10
Period 3
Formula:
=SYD(50000, 5000, 10, 3)
Result:
The depreciation expense for the third year is approximately $6,545.45.
(fig. 7.14)
64
Tip: Use financial functions to perform in-depth financial analysis, making it easier to
evaluate investment opportunities and financial strategies.
Excel allows you to enter and format dates and times in various ways. You can choose the
format that best suits your needs.
Detailed Explanation: Excel recognizes dates and times as serial numbers, which allows for
a wide range of formatting and calculations. Understanding how to format these correctly
is crucial for accurate data representation and analysis.
Tip: Always use Excel's date and time formats to ensure consistency and avoid errors in
calculations.
• TODAY:
o Format: =TODAY()
• NOW:
o Format: =NOW()
• DATE:
o This function creates a date from the specified year, month, and day
values.
• YEAR:
o Format: =YEAR(date)
65
• MONTH:
o Format: =MONTH(date)
• DAY:
o Format: =DAY(date)
Detailed Explanation: These functions are essential for working with dates in Excel. They
help in extracting specific parts of a date and performing date-related calculations.
Tip: Use the TODAY and NOW functions for dynamic date and time entries that update
automatically.
HOUR:
• Format: =HOUR(time)
• Example: If cell A1 contains the time 14:35:50, the formula =HOUR(A1) will
return 14.
MINUTE:
• Format: =MINUTE(time)
• Example: If cell A1 contains the time 14:35:50, the formula =MINUTE(A1) will
return 35.
SECOND:
• Format: =SECOND(time)
• Example: If cell A1 contains the time 14:35:50, the formula =SECOND(A1) will
return 50.
66
Here's a table summarizing the examples: (fig. 8.1).
Time HOUR Formula Result MINUTE Formula Result SECOND Formula Result
14:35:50 =HOUR(A1) 14 =MINUTE(A1) 35 =SECOND(A1) 50
(fig. 8.1)
Detailed Explanation: Time functions allow you to break down a time value into its
component parts (hours, minutes, seconds), which can be useful for detailed time analysis
and calculations.
Tip: Combine date and time functions to perform comprehensive date-time analyses, such
as calculating the duration between two timestamps.
67
Part IV
Creating Visualizations
Chapter 9: Creating Charts
Charts in Excel are a powerful tool for visualizing data. They help to better
understand and analyze information by presenting it in a graphical format. Excel
offers many types of charts, each suited for different purposes (fig. 9.1).
(fig. 9.1)
Detailed Explanation: Charts convert raw data into visual representations, making
patterns and trends easier to identify. This is especially useful for presentations and
reports where data needs to be communicated clearly and effectively.
Tip: Choose the chart type that best matches the nature of your data and the story you
want to tell.
• Line Charts:
• Column Charts:
• Histograms:
69
• Pie Charts:
• Scatter Plots:
• Combination Charts:
Detailed Explanation: Each chart type serves a specific purpose and is best suited for
certain types of data. For example, line charts are excellent for time-series data, while pie
charts are useful for showing proportions.
Tip: Experiment with different chart types to see which best visualizes your data. Excel's
"Recommended Charts" feature can provide helpful suggestions.
To create a chart:
1. Select the data you want to use for the chart. For example, suppose you have
the following data in your worksheet:
Month Sales
Jan 5000
Feb 6000
Mar 7000
Apr 8000
2. Go to the "Insert" tab and choose the chart type. For this example, we will
create a column chart:
o In the Charts group, click on the "Column" chart icon and select the
"Clustered Column" chart type (fig. 9.2).
To customize a chart:
70
2. Use the "Design" and "Format" tabs to change styles, colors, and other settings:
Example:
Consider the following data and steps to create and customize a column chart:
Data:
Month Sales
Jan 5000
Feb 6000
Mar 7000
Apr 8000
4. Use the "Design" tab to apply a predefined style. For example, choose a style
that highlights the columns with different shades of blue.
5. Use the "Format" tab to change the color of the columns to green, and adjust
the axis titles for better clarity .
71
(fig. 9.2)
Detailed Explanation: Customizing charts allows you to tailor the appearance and
functionality to better fit your needs and make the chart more readable and visually
appealing.
Tip: Use the "Design" tab to apply predefined styles and the "Format" tab for detailed
adjustments. Consistent color schemes and styles improve the overall presentation.
72
(fig. 9.3)
Detailed Explanation: Switching rows and columns can change the way data is
presented in the chart, which might provide a clearer or more meaningful view of
the data.
Tip: Use this feature to quickly experiment with different data orientations to find the most
effective visualization.
To resize a chart:
2. Drag the corners or edges of the chart to change its size (fig. 9.4).
1. Right-click on an element (e.g., axis, legend, data series) and select "Format."
2. Use the available options to customize the appearance of the element (fig. 9.4).
73
(fig. 9.4)
Detailed Explanation: Resizing and formatting chart elements help to better integrate the
chart into your worksheet and enhance its readability. Properly formatted charts can
significantly improve data interpretation.
Tip: Ensure that all chart elements are clearly visible and appropriately labeled. Use
formatting options to highlight key data points and trends.
Conditional formatting in Excel allows you to automatically change the format of cells
based on their values. This is useful for visually highlighting important information and
analyzing data.
Tip: Use conditional formatting to quickly draw attention to key data points and to make
your worksheets more interactive and informative.
74
3. Choose "New Rule" and set up the conditions. (fig. 10.1).
(fig. 10.1)
Tip: Start with simple rules and gradually add more complexity as needed. You can apply
multiple rules to the same range for more nuanced formatting.
• Format: =A1>100
• Steps:
1. Select the range of cells you want to format. For example, if your data
is in column A, select A1
75
6. Click "Format," choose a red fill color, and click OK (fig. 10.2).
Tip: Use this type of conditional formatting to quickly identify values that exceed a certain
threshold, such as sales targets or budget limits.
Example Data:
Value
90
110
150
80
120
Formatted Data:
(fig. 10.2)
76
• Steps:
5. Select a two-color or three-color scale that fits your data (fig. 10.3).
Tip: Color scales are particularly useful for heat maps and other types of visual analysis
where relative values need to be compared.
Example Data:
Value
10
50
90
130
170
Formatted Data with Color Scale:
(fig. 10.3)
77
Creating Icon Sets:
• Format: Choose from various icon sets such as arrows, traffic lights, or stars to
represent different ranges of values. (fig. 10.4).
• Steps:
Tip: Use icons to convey information at a glance, such as performance metrics or risk levels.
This helps stakeholders quickly understand the data without needing to read detailed
numbers.
Example Data:
Value
30
60
90
120
150
78
(fig. 10.4)
79
Part V
Managing and Analyzing
Data
Chapter 11: Sorting and Filtering Data
Sorting data allows you to arrange the data in a table in ascending or descending order.
To sort data:
2. Go to the "Data" tab and choose "Sort Smallest to Largest" or " Sort Largest to
Smallest" (fig. 11.1).
(fig. 11.1)
Detailed Explanation: Sorting helps in organizing data to find trends or to prepare for
further analysis. It can be done alphabetically, numerically, or by date.
Tip: Sort data to quickly locate specific information or to arrange data in a meaningful
sequence for better readability.
Filtering data allows you to display only the rows that meet certain criteria.
81
To enable filtering:
o This will add a dropdown arrow to each column header (fig. 11.2).
3. Click the arrow in the column header and choose the filtering criteria.
o For example, if you want to filter for sales greater than 150, click the
arrow in the "Sales" column, choose "Number Filters," and set the
criteria to "Greater Than" 150 (fig. 11.2).
Example:
Product Sales
A 150
B 200
C 120
D 300
E 180
3. Click on "Filter."
82
Before Filtering:
Product Sales
A 150
B 200
C 120
D 300
E 180
(fig. 11.2)
Detailed Explanation: Filtering helps in focusing on specific data points by hiding the rows
that don't meet the criteria. This makes it easier to analyze subsets of your data.
Tip: Use filters to manage large datasets efficiently, allowing you to quickly view only the
relevant information.
83
(fig. 11.3)
Detailed Explanation: Advanced filters provide more flexibility than standard filters,
enabling you to use complex criteria and extract specific data sets.
Tip: Use advanced filters when you need to apply multiple criteria or perform more detailed
data analysis.
84
Detailed Explanation: Combining sorting, filtering, and conditional formatting can enhance
data analysis by visually highlighting important data points and making them easier to sort
and filter. Conditional formatting allows you to apply visual cues to your data, such as
different colors for different value ranges. By sorting and filtering based on these visual
cues, you can quickly identify and analyze key information within your dataset.
Tip: Apply conditional formatting first to highlight the data, then sort or filter based on the
highlighted values to quickly find and analyze key information. This approach helps in
managing large datasets efficiently and making data analysis more intuitive. By following
these steps, you can effectively use conditional formatting along with sorting and filtering
to enhance your data analysis in Excel.
Data validation allows you to set rules for data entry in cells, helping to prevent errors.
1. Select the cell or range of cells where you want to apply data validation.
o From the "Allow" dropdown menu, choose the type of data you want
to allow (e.g., Whole number, Decimal, List, Date, Time, Text Length,
Custom).
o Set the criteria for the selected data type. For example:
85
§ If you choose "List," you can enter a list of valid entries
separated by commas.
o Check the box for "Show input message when cell is selected."
o Enter a title and input message to guide users on what data to enter.
o Check the box for "Show error alert after invalid data is entered."
o Enter a title and error message to display when invalid data is entered.
(fig. 12.1)
Detailed Explanation: Data validation ensures that users enter data correctly by restricting
the type of data or the range of values that can be entered into a cell. This helps maintain
data integrity and accuracy. For instance, you can limit entries to specific ranges, dates, or
custom criteria, thereby reducing the chances of incorrect data entry.
Tip: Use data validation to enforce data entry standards, such as limiting entries to specific
ranges, dates, or custom criteria. This practice is essential for maintaining clean and
accurate datasets, which is crucial for analysis and reporting.
86
12.3. Data Validation Lists (Drop-Down Menus)
Data validation lists allow you to create drop-down menus for selecting values.
1. Select the cells for which you want to set up the drop-down menu.
• For example, select cell A1 or range A1
.
Settings tab:
• Allow: Choose "List" from the dropdown menu.
• Source: Specify the values for the drop-down menu. You can either type the
values directly into the Source box separated by commas (e.g., 1,2,3) or select a
range of cells that contain the list values
Click OK to apply the data validation list.
(fig. 12.2)
Detailed Explanation: Drop-down lists make data entry easier and more accurate by
providing users with a predefined list of valid entries. This reduces the chances of typing
errors and ensures consistency in the data. By restricting input to specific values, you can
maintain data integrity and standardization across your worksheet.
87
Tip: Use data validation lists for fields with a limited set of valid values, such as categories,
statuses, or product names. This practice is particularly useful in ensuring that entries are
consistent and free of errors, making data management and analysis more reliable.
88
Part VI
Protecting Data
Chapter 13: Data Protection
Protecting a worksheet and workbook allows you to restrict the ability to modify data.
To protect a worksheet:
(fig. 13.1)
To protect a workbook:
90
(fig. 13.2)
Detailed Explanation: Worksheet protection prevents users from making unauthorized
changes to the structure and content of your worksheet, while workbook protection
safeguards the overall structure of the workbook, including the arrangement of sheets.
Tip: Use worksheet protection to lock specific cells or ranges that should not be edited, and
apply workbook protection to prevent users from adding, deleting, or moving sheets.
You can restrict access to specific ranges of data using protection features.
For example, you can allow changes only to specific cells by following these steps:
91
(fig. 13.3)
92
Part VII
Advanced Features and Tools
Chapter 14: Using Macros and VBA
Macros and VBA (Visual Basic for Applications) allow you to automate routine tasks in
Excel, significantly enhancing efficiency. Macros are sequences of commands and
functions recorded to perform tasks automatically. VBA is the programming language used
to write macros.
Detailed Explanation: Macros save time and reduce the potential for human error by
automating repetitive tasks. VBA extends the functionality of macros by allowing for more
complex and flexible automation.
Tip: Start by recording simple macros to get familiar with the process, then gradually
explore VBA programming to create more sophisticated automation solutions.
2. Enter a name for the macro and, if needed, assign a shortcut key.
4. When finished, click "Stop Recording" on the same tab (fig. 14.1).
(fig. 14.1)
94
To run a macro:
2. Choose the macro from the list and click "Run" (fig. 14.2).
(fig. 14.2)
Example:
Recording a Macro:
o Name: FormatCells
3. Perform Actions:
o Select cells A1
95
4. Stop Recording:
VBA (Visual Basic for Applications) programming allows you to create more complex and
flexible macros in Excel. Here is an introduction to some basic VBA syntax elements and
how to create and run VBA code.
Getting Started with VBA
1. Open the VBA Editor:
• Go to the "Developer" tab. If the "Developer" tab is not visible, you need to
enable it:
§ Click on the "File" tab.
§ Select "Options."
§ In the right pane, check the "Developer" box and click OK.
(fig. 14.3)
96
(fig. 14.3)
• In the "Developer" tab, click on "Visual Basic" to open the VBA editor. (fig. 14.4).
97
(fig. 14.4)
(fig. 14.5)
98
Key VBA Concepts
1. Sub and End Sub
• Description: Each VBA procedure (macro) starts with Sub followed by the
procedure name and ends with End Sub. This defines the beginning and end of
the macro.
• Usage:
Sub HelloWorld()
' Your code goes here
End Sub
2. Dim
Description: Dim is used to declare variables. Declaring variables helps manage memory
efficiently and makes your code easier to understand.
Usage:
Dim message As String
message = "Hello, world!"
MsgBox message
Explanation:
• Dim message As String declares a variable named message of type String.
• message = "Hello, world!" assigns the text "Hello, world!" to the message
variable.
• MsgBox message displays the content of message in a message box.
3. MsgBox
Usage:
• MsgBox "Hello, world!"
Explanation:
• MsgBox "Hello, world!" displays a dialog box with the text "Hello, world!"
4. If...Then...Else
Usage:
99
Dim score As Integer
score = 85
If score >= 90 Then
MsgBox "Grade: A"
ElseIf score >= 80 Then
MsgBox "Grade: B"
Else
MsgBox "Grade: C"
End If
Explanation:
• If score >= 90 Then checks if the value of score is greater than or equal to 90.
• MsgBox "Grade: A" displays "Grade: A" if the condition is True.
• ElseIf score >= 80 Then checks if the value of score is greater than or equal to 80
if the first condition is False.
• MsgBox "Grade: B" displays "Grade: B" if the second condition is True.
• Else runs if all previous conditions are False.
• MsgBox "Grade: C" displays "Grade: C."
100
(fig. 14.6)
Detailed Explanation: VBA enables you to write custom scripts to control Excel's behavior.
By using VBA, you can automate repetitive tasks, create custom functions, and develop
complex algorithms to manipulate data. Understanding the basic syntax of VBA is the first
step in creating powerful automation scripts.
Tip: Practice writing simple VBA scripts to build your confidence before tackling more
complex automation tasks. Start with basic tasks like displaying messages or performing
simple calculations, and gradually move on to more advanced topics like loops, functions,
and error handling. By mastering the basics of VBA programming, you can unlock the full
potential of Excel and create highly customized and efficient workflows.
Power Query is a powerful tool for importing, transforming, and cleaning data. It allows
you to connect to various data sources, modify them, and load them back into Excel.
Detailed Explanation: Power Query streamlines the data preparation process, making it
easier to collect, shape, and combine data from different sources. This is particularly useful
for handling large datasets and performing complex data manipulations.
101
Tip: Use Power Query to automate repetitive data preparation tasks and ensure data
consistency across your Excel projects.
(fig. 15.1)
Detailed Explanation: Power Query supports a wide range of data sources, including Excel
files, databases, web pages, and cloud services. Configuring connection settings allows you
to specify parameters such as file paths, database credentials, and web URLs.
Tip: Save frequently used connections as templates to save time and ensure consistency
when importing data from the same sources.
After importing data, you can perform various transformations to prepare it for analysis:
102
• When the data preview window appears, click on Transform Data. This will
directly open the Power Query Editor.
(fig. 15.2)
103
(fig. 15.3)
Detailed Explanation:
The Power Query Editor provides a user-friendly interface for transforming data. Common
transformations include filtering rows, sorting columns, replacing values, and changing
data types. These transformations help prepare your data for analysis by ensuring it is
clean, consistent, and correctly formatted.
Tip: Experiment with different transformations to understand their effects on your data.
Power Query keeps a record of each step, allowing you to undo changes if needed. If the
Power Query Editor does not open automatically, you can open it from the Queries &
Connections pane by double-clicking on the query.
Combine data from different sources into a single table for unified analysis.
Example: You have two tables: one with customer information and another with their
orders. Use Power Query to merge these tables into a single dataset that combines
customer details with their respective orders.
Steps:
104
• Select the matching column (e.g., Customer ID) from both tables to combine the
data.
• Click OK and adjust the resulting table as needed.
3. Load the Merged Table into Excel:
• Click Close & Load to load the merged table into Excel.
Removing Duplicates:
Example: You have a list of customer emails, but some emails are repeated. Use Power
Query to remove duplicate entries and maintain a clean email list.
Steps:
1. Import the table with email data into Power Query Editor:
• Go to the Data tab in Excel.
• Click on Get Data and select your data source for the table with email data.
• Click Transform Data to open the table in the Power Query Editor.
2. Remove Duplicates:
• Select the email column.
• Go to the Home tab and click on Remove Duplicates.
3. Load the Cleaned Data into Excel:
• Review the cleaned data and click Close & Load to update the table in Excel. (fig.
15.4).
(fig. 15.4)
105
Transforming Data Formats (e.g., Date and Time):
Steps:
1. Import the table with date data into Power Query Editor:
• Go to the Data tab in Excel.
• Click on Get Data and select your data source for the table with date data.
• Click Transform Data to open the table in the Power Query Editor.
2. Change Data Type:
• Select the date column.
• Go to the Transform tab and click on Data Type, then choose Date.
• Optionally, use Format to specify a particular date format.
3. Load the Standardized Data into Excel:
• Click Close & Load to apply the changes in Excel. (fig. 15.5).
(fig. 15.5)
Example: You want to analyze sales data for a particular product. Use Power Query to
filter the dataset to include only records for that product.
Steps:
106
• Go to the Data tab in Excel.
• Click on Get Data and select your data source for the sales data.
• Click Transform Data to open the table in the Power Query Editor.
2. Apply Filter:
• Click on the filter icon next to the Product column.
• Select the product you want to analyze from the dropdown list.
• Click OK to apply the filter.
3. Load the Filtered Data into Excel:
• Click Close & Load to load the filtered data into Excel. (fig. 15.6).
(fig. 15.6)
Detailed Explanation: Power Query's versatility makes it an essential tool for data
analysts. By merging tables, you can integrate related datasets for a comprehensive
analysis. Removing duplicates helps maintain data quality by ensuring each entry is
unique. Transforming data formats ensures uniformity, making it easier to analyze and
visualize data. Filtering allows for targeted data analysis by focusing on specific subsets of
data.
Tip: Save your Power Query transformations as queries to reuse them in different projects.
This enhances productivity and ensures consistency across multiple analyses.
107
Chapter 16: Introduction to Power Pivot
Power Pivot is a powerful tool for analyzing large volumes of data and creating complex
data models. It allows you to load large datasets, create relationships between tables, and
perform sophisticated calculations.
Detailed Explanation: Power Pivot extends the capabilities of Excel by enabling you to
work with large datasets that exceed Excel's row limit. It provides advanced data modeling
features, such as the ability to create relationships between tables and perform complex
calculations using DAX (Data Analysis Expressions).
Example: Consider a sales dataset with millions of rows that Excel alone cannot handle
efficiently. Power Pivot allows you to import this large dataset, create relationships with
other datasets (e.g., product details, customer information), and perform advanced
calculations to analyze sales trends, performance metrics, and customer behavior.
Tip: Use Power Pivot to handle complex data analysis tasks that require integrating data
from multiple sources and performing detailed calculations.
108
(fig. 16.1)
(fig. 16.2)
3. In the Power Pivot window, select "Get External Data" and choose the data
source:
• Options include databases, Excel files, and online services. (fig. 16.3).
109
(fig. 16.3)
Example: You need to analyze sales data from multiple sources, including an Excel file and
an SQL database. Using Power Pivot, you can import the data from both sources into a
single data model, enabling comprehensive analysis and reporting.
Tip: Regularly update your data connections to ensure that you are working with the most
current data available.
In Power Pivot, you can create relationships between tables to build a unified data model.
This enables you to perform cross-table analysis.
Sample Data:
Sales Table:
110
Customer Table:
Product Table:
• Ensure the first row is used as headers by clicking on Use First Row as Headers in
the Home tab.
• Click Close & Load To and select Only Create Connection, then check the box for
Add this data to the Data Model.
• Open the Power Pivot window by clicking on the Power Pivot tab and selecting
Manage.
• Ensure that the column headers are correctly displayed. (fig. 16.4).
111
(fig. 16.4)
• For example, drag the "CustomerID" field from the Sales table to the
"CustomerID" field in the Customer table.
• Similarly, drag the "ProductID" field from the Sales table to the "ProductID" field
in the Product table. (fig. 16.5).
112
(fig. 16.5)
• Ensure that the relationships are correctly defined to maintain data integrity.
Detailed Explanation: Creating relationships between tables allows you to build a unified
data model. This enables you to perform cross-table analysis, such as creating pivot tables
that draw data from multiple tables.
Example: You have a sales table, a customer table, and a product table. By creating
relationships between these tables based on common fields (e.g., CustomerID, ProductID),
you can analyze sales data in relation to customer demographics and product details.
Tip: Ensure that your data model is well-structured by defining clear and accurate
relationships between tables. This will improve the accuracy and efficiency of your data
analysis.
113
16.4. Examples of Using Power Pivot for Data Analysis
• Combine data from different tables into a single pivot table for comprehensive
analysis.
(fig. 16.6)
114
• Select the checkboxes next to the fields you want to use in your pivot table. The
fields will automatically be placed in the appropriate areas (Rows, Columns,
Values, Filters) (fig. 16.7).
(fig. 16.7)
• Select the checkbox next to Country from the Customer Table to add it to the
Rows area.
• Select the checkbox next to Category from the Product Table to add it to the
Columns area.
• Select the checkbox next to Amount from the Sales Table to add it to the Values
area (make sure it is set to Sum).
• You can further customize the pivot table by adding filters, sorting, and
formatting as needed. (fig. 16.8).
115
(fig. 16.8)
• Use DAX to create calculated columns and measures that provide deeper
insights into your data.
116
(fig. 16.9)
• Visualize large datasets with pivot charts and graphs to identify trends and
patterns.
117
(fig. 16.10)
Detailed Explanation: Power Pivot's advanced features make it an essential tool for data
analysts. By leveraging pivot tables, DAX calculations, and pivot charts, you can perform
detailed and comprehensive data analysis.
Tip: Regularly review and refine your data models and DAX formulas to ensure they meet
your analytical needs and provide accurate results.
118
Part VIII
Working with Big Data and
Business Intelligence
Chapter 17: Data Analysis Tools in Excel
The Solver tool helps you find optimal values for specified parameters. To use it:
(fig. 17.1)
120
Detailed Explanation: Solver is an optimization tool that can help you find the best
solution to a problem by changing multiple variables while satisfying certain constraints.
It's commonly used for linear programming, maximizing or minimizing objectives, and
scenario analysis.
Example: Optimizing Product Mix for Maximum Profit You want to determine the optimal
mix of two products (Product A and Product B) to maximize profit, considering production
constraints and resource availability.
• Unit Profit: The profit earned per unit for each product.
• Units Produced: The number of units produced (these are the values Solver will
adjust).
• Total Profit: The total profit for each product and the overall total profit.
• By Changing Variable Cells: $C$2:$C$3 (the units produced for each product).
Add Constraints:
121
o Go to the Data tab and click on Solver.
o To: Max
4. Add Constraints:
§ Relation: <=
§ Constraint: 150
§ Click Add
§ Relation: <=
§ Constraint: 150
§ Click Add
§ Relation: <=
§ Constraint: 200
§ Click Add
122
o Click Solve in the Solver Parameters dialog box.
o Solver will adjust the values in $C$2 and $C$3 to maximize $D$3 while
respecting the constraints.
(fig. 17.2)
Tip: Use Solver to optimize business decisions, such as minimizing costs or maximizing
profits, by adjusting relevant variables.
What-If Analysis includes tools like "Goal Seek" and "Data Table."
1. Go to the "Data" tab and select "What-If Analysis" > "Goal Seek":
o The target cell is the cell you want to achieve a specific value.
o The changing cell is the input cell that Goal Seek will adjust to achieve
the target value.
3. Click "OK":
123
o Goal Seek will adjust the changing cell value to achieve the target value
in the target cell. (fig. 17.3).
(fig. 17.3)
Detailed Explanation: What-If Analysis allows you to explore different scenarios and their
outcomes based on varying input values. "Goal Seek" adjusts a single input value to
achieve a desired output, while "Data Table" examines how changes in one or two
variables affect the result.
Example: You want to find out how much sales need to increase to reach a revenue target.
Set the target cell to the revenue cell, specify the desired revenue value, and set the
changing cell to the sales quantity. Goal Seek will determine the required sales
quantity to meet the revenue target.
Tip: Use What-If Analysis to test assumptions and predict outcomes in financial models and
business plans.
124
o Adjust the forecast parameters, such as the forecast start date and
confidence interval.
(fig. 17.4)
Detailed Explanation: Forecasting tools in Excel help predict future values based on
historical data. This feature is useful for trend analysis, seasonal forecasts, and projecting
future performance.
Example: You have sales data for the past year and want to forecast sales for the next six
months. Select the sales data range, open the Forecast Sheet dialog box, and configure the
parameters. Excel will create a new sheet with the forecasted sales values.
Tip: Regularly update your forecasts with new data to improve their accuracy and
relevance.
125
• Forecasting Financial Performance:
Detailed Explanation: These tools are integral for data-driven decision-making in business.
They help analyze complex data, identify trends, and develop strategic plans.
Tip: Leverage these tools in conjunction with other Excel features, such as pivot tables and
charts, to create comprehensive analytical reports.
Power BI is a powerful tool for data visualization and creating interactive reports. It allows
you to connect to various data sources and create dashboards.
Detailed Explanation: Power BI enables users to transform raw data into meaningful
insights through interactive visualizations and reports. Its ability to connect to a wide
range of data sources makes it a versatile tool for business intelligence.
Tip: Utilize Power BI to create dynamic dashboards that provide real-time insights and
enable better decision-making.
126
18.2. Importing Data from Excel to Power BI
(fig. 18.1)
o Navigate to the location of your Excel file and select it. (fig. 18.2).
127
(fig. 18.2)
o Power BI will import the selected data and display it in the Fields pane
(fig. 18.3).
(fig. 18.3)
128
Detailed Explanation: Importing data from Excel to Power BI is a straightforward process.
Once the data is loaded, it can be transformed and visualized using Power BI's powerful
tools.
Tip: Ensure your Excel data is clean and well-organized before importing it into Power BI to
streamline the data visualization process.
2. Double-click visual elements to add them to the canvas and customize their
settings:
(fig. 18.4)
Detailed Explanation: Power BI provides a wide range of visual elements, including charts,
graphs, and maps, which can be customized to fit your reporting needs. Reports and
dashboards can be interactive, allowing users to drill down into details.
Tip: Design your reports and dashboards with the end-user in mind. Ensure that the most
important metrics are easily accessible and that the visuals are clear and intuitive.
129
18.4. Examples of Using Power BI for Data Visualization
Example:
o Create a line chart that shows monthly sales trends over the past year.
Add filters to allow users to view sales by region or product category.
Example:
Example:
Example:
Detailed Explanation: Power BI's versatility makes it ideal for a wide range of data
visualization needs. Whether you are analyzing sales data, customer behavior, or
marketing performance, Power BI provides the tools to create insightful and actionable
reports.
130
Tip: Regularly update your Power BI dashboards with the latest data to ensure that your
insights remain current and relevant.
131
Part IX
Collaboration and
Integration with Other
Systems
Chapter 19: Collaboration in Excel
Excel allows multiple users to edit the same file simultaneously. To co-author a file:
3. Enter the email addresses of the users you want to share the file with:
o Choose whether the users can edit or only view the file, then click
Send
Tip: Use OneDrive or SharePoint for file storage to take advantage of co-authoring
features. Ensure all collaborators have appropriate permissions set for editing or viewing
the file.
Example:
133
19.2. Using Comments and Notes
Comments and notes allow you to leave remarks and discuss changes:
o This opens a comment box where you can type your remarks.
o Your comment will be saved and associated with the selected cell
o Notes are simpler annotations that appear as a small red triangle in the
cell.
Detailed Explanation: Comments are useful for leaving feedback or questions within a
worksheet, facilitating communication among collaborators. Notes, on the other hand, are
simpler annotations that can be used for additional information or reminders.
Tip: Use comments for interactive discussions that require responses and use notes for
static annotations.
Example:
134
o This setting highlights changes made to the workbook in real-time.
o You can specify which changes to track and how to display them.
Tip: Enable change tracking for collaborative projects to ensure transparency and
accountability. Regularly review tracked changes to keep the workbook updated and
accurate.
Example:
• Step 3: Configure the settings to track changes made by specific users or within a
certain date range.
2. Choose the source or target application (e.g., Access, SQL Server, text file).
Detailed Explanation: Importing and exporting data between Excel and other applications
enables seamless data integration. This is crucial for leveraging data from multiple sources
and maintaining consistency across different platforms.
Tip: Regularly update your data connections to ensure that you are working with the most
current data available. Use the appropriate data formats to avoid compatibility issues.
135
20.2. Using Excel with Microsoft Teams and SharePoint
Excel integrates closely with Microsoft Teams and SharePoint, making it easy to share files
and collaborate:
1. Save the Excel file in a SharePoint document library or Microsoft Teams team.
Tip: Take advantage of Microsoft Teams' chat and discussion features to facilitate real-
time communication and collaboration around your Excel files.
Power Automate allows you to automate routine tasks and data integration between
applications:
Tip: Use Power Automate to streamline processes and reduce manual intervention. Start
with simple flows and gradually build more complex automation as you become more
familiar with the tool.
136
Chapter 21: Data Protection and Security in Excel
o IRM helps control who can access, copy, print, or forward sensitive
files.
o Where to Find:
o Where to Find:
o Where to Find:
137
§ Configure labels and policies to classify and protect your
data.
Detailed Explanation: IRM allows you to control access and usage rights for your Excel
files, preventing unauthorized actions such as copying or printing. DLP policies help
identify and protect sensitive information, while Azure Information Protection provides
advanced classification and labeling features.
Tip: Implement DLP policies to automatically monitor and protect sensitive information
across your organization.
Example:
• IRM:
1. Step 1: Open your Excel file and go to File > Info > Protect Workbook >
Restrict Access.
2. Step 2: Choose the appropriate restrictions for your file.
• DLP:
• AIP:
o Where to Find:
138
2. Encrypt Sensitive Files:
o Where to Find:
o Where to Find:
o Where to Find:
Detailed Explanation: Adopting these best practices enhances the security of your Excel
files and ensures that your data is protected against unauthorized access and data
breaches.
Tip: Implement a data protection policy within your organization to standardize security
practices and ensure compliance with data protection regulations.
Example:
• Complex Passwords:
1. Step 1: Go to File > Info > Protect Workbook > Encrypt with Password.
2. Step 2: Enter a strong password.
• Encrypt Files:
139
1. Step 1: Go to File > Info > Protect Workbook > Encrypt with Password.
2. Step 2: Enter a strong password to encrypt the file.
• Limit Access:
1. Step 1: Go to File > Share > Share with People.
2. Step 2: Set permissions to Can edit or Can view.
• Back Up Data:
1. Step 1: Use OneDrive or SharePoint for automatic backups.
2. Step 2: Regularly export your Excel files to a secure location.
140
Excel Glossary
3-D
• 3-D reference: A reference to a range that spans two or more worksheets in a
workbook.
• 3-D walls and floor: The areas surrounding many 3-D chart types that give
dimension and boundaries to the chart. Two walls and one floor are displayed
within the plot area.
A
• Activate: To make a chart sheet or worksheet the active, or selected, sheet. The
sheet that you activate determines which tabs are displayed. To activate a sheet,
click the tab for the sheet in the workbook.
• Active cell: The selected cell in which data is entered when you begin typing.
Only one cell is active at a time. The active cell is bounded by a heavy border.
• Active sheet: The sheet that you're working on in a workbook. The name on the
tab of the active sheet is bold.
• Alternate startup folder: A folder in addition to the XLStart folder that contains
workbooks or other files that you want to be opened automatically when you
start Excel and templates that you want to be available when you create new
workbooks.
• Array: Used to build single formulas that produce multiple results or that
operate on a group of arguments that are arranged in rows and columns. An
array range shares a common formula; an array constant is a group of constants
used as an argument.
142
formulas are enclosed between braces { } and are entered by pressing
CTRL+SHIFT+ENTER.
• Associated PivotTable: The PivotTable that supplies the source data to the
PivotChart. It is created automatically when you create a new PivotChart. When
you change the layout of either report, the other also changes.
• Autoformat: A built-in collection of cell formats (such as font size, patterns, and
alignment) that you can apply to a range of data. Excel determines the levels of
summary and detail in the selected range and applies the formats accordingly.
• Axis: A line bordering the chart plot area used as a frame of reference for
measurement. The y-axis is usually the vertical axis and contains data. The x-axis
is usually the horizontal axis and contains categories.
B
• Base address: The relative path that Excel uses for the destination address when
you insert a hyperlink. This can be an Internet address (URL), a path to a folder
on your hard drive, or a path to a folder on a network.
• Border: A decorative line that can be applied to worksheet cells or objects, such
as charts, pictures, or text boxes. Borders distinguish, emphasize, or group items.
C
• Calculated column: In an Excel table, a calculated column uses a single formula
that adjusts for each row. It automatically expands to include additional rows so
that the formula is immediately extended to those rows.
• Calculated field (database): A field in the result set of a query that displays the
result of an expression rather than data from a database.
• Calculated item: An item within a PivotTable field or PivotChart field that uses a
formula you create. Calculated items can perform calculations by using the
contents of other items within the same field of the PivotTable or PivotChart.
143
• Category axis: A chart axis that represents the category for each data point. It
displays arbitrary text values like Qtr1, Qtr2, and Qtr3; it cannot display scaled
numerical values.
• Category field: A field that's displayed in the category area of the PivotChart.
Items in a category field appear as the labels on the category axis.
• Cell reference: The set of coordinates that a cell occupies on a worksheet. For
example, the reference of the cell that appears at the intersection of column B
and row 3 is B3.
• Chart sheet: A sheet in a workbook that contains only a chart. A chart sheet is
beneficial when you want to view a chart or a PivotChart separately from
worksheet data or a PivotTable.
• Column heading: The shaded area at the top of each Data pane column that
contains the field name.
• Column heading: The lettered or numbered gray area at the top of each column.
Click the column heading to select an entire column. To increase or decrease the
width of a column, drag the line to the right of the column heading.
144
• Conditional format: A format, such as cell shading or font color, that Excel
automatically applies to cells if a specified condition is true.
• Constant: A value that is not calculated. For example, the number 210 and the
text "Quarterly Earnings" are constants. An expression, or a value resulting from
an expression, is not a constant.
• Copy area: The cells that you copy when you want to paste data into another
location. After you copy cells, a moving border appears around them to indicate
that they've been copied.
• Criteria: Conditions you specify to limit which records are included in the result
set of a query. For example, the following criterion selects records for which the
value for the Order Amount field is greater than 30,000: Order Amount > 30000.
• Criteria pane: The area of the window that displays the criteria used to limit the
records included in the result set of your query.
• Current region: The block of filled-in cells that includes the currently selected
cell or cells. The region extends in all directions to the first empty row or column.
D
• Data form: A dialog box that displays one complete record at a time. You
can use data forms to add, change, locate, and delete records.
145
• Data marker: A bar, area, dot, slice, or other symbol in a chart that represents a
single data point or value that originates from a datasheet cell. Related data
markers in a chart constitute a data series.
• Data pane: The area of the window that displays the result set of your query.
• Data points: Individual values that are plotted in a chart. Related data points
make up a data series. Data points are represented by bars, columns, lines,
slices, dots, and other shapes. These shapes are called data markers.
• Data region: A range of cells that contains data and that is bounded by empty
cells or datasheet borders.
• Data series: Related data points that are plotted in a chart and originate from
datasheet rows or columns. Each data series in a chart has a unique color or
pattern. You can plot one or more data series in a chart. Pie charts have only one
data series.
• Data source driver: A program file used to connect to a specific database. Each
database program or management system requires a different driver.
• Data table: A range of cells that shows the results of substituting different values
in one or more formulas. There are two types of data tables: one-input tables
and two-input tables.
• Data table in charts: A grid that can be added to some charts and contains the
numeric data used to create the chart. The data table usually is attached to the
horizontal axis of the chart and replaces the tick-mark labels on the horizontal
axis.
• Data validation: An Excel feature that you can use to define restrictions on what
data can or should be entered in a cell, and to display messages that prompt
users for correct entries and notify users about incorrect entries.
146
• Default startup workbook: The new, unsaved workbook that's displayed when
you start Excel. The default startup workbook is displayed only if you haven't
included other workbooks in the XLStart folder.
• Default workbook template: The Book.xlt template that you create to change
the default format of new workbooks. Excel uses the template to create a blank
workbook when you start Excel or create a new workbook without specifying a
template.
• Default worksheet template: The Sheet.xlt template that you create to change
the default format of new worksheets. Excel uses the template to create a blank
worksheet when you add a new worksheet to a workbook.
• Dependents: Cells that contain formulas that refer to other cells. For example, if
cell D10 contains the formula =B5, cell D10 is a dependent of cell B5.
• Destination area: The range of cells that you select to hold the summarized data
in a consolidation. The destination area can be on the same worksheet as the
source data or on a different worksheet. A worksheet can contain only one
consolidation.
• Detail data: For automatic subtotals and worksheet outlines, the subtotal rows
or columns that are totaled by summary data. Detail data is typically adjacent to
and either above or to the left of the summary data.
• Drop lines: In line and area charts, lines that extend from a data point to the
category (x) axis. Useful in area charts to clarify where one data marker ends and
the next begins.
• Drop-down list box: A control on a menu, toolbar, or dialog box that displays a
list of options when you click the small arrow next to the list box.
E
• Embedded chart: A chart that is placed on a worksheet rather than on a
separate chart sheet. Embedded charts are beneficial when you want to view or
print a chart or a PivotChart with its source data or other information in a
worksheet.
• Error bars: Usually used in statistical or scientific data, error bars show potential
error or degree of uncertainty relative to each data marker in a series.
147
• Excel table: Formerly known as an Excel list, you can create, format, and expand
an Excel table to organize the data on your worksheet.
• External data: Data that is stored outside of Excel. Examples include databases
created in Access, dBASE, SQL Server, or on a Web server.
• External data range: A range of data that is brought into a worksheet but that
originates outside of Excel, such as in a database or text file. In Excel, you can
format the data or use it in calculations as you would any other data.
F
• Field (database): A category of information, such as last name or order amount,
that is stored in a table. When Query displays a result set in its Data pane, a field
is represented as a column.
• Fill handle: The small black square in the lower-right corner of the selection.
When you point to the fill handle, the pointer changes to a black cross.
• Filter: To display only the rows in a list that satisfy the conditions you specify.
You use the AutoFilter command to display rows that match one or more specific
values, calculated values, or conditions.
148
• Formula bar: A bar at the top of the Excel window that you use to enter or edit
values or formulas in cells or charts. Displays the constant value or formula
stored in the active cell.
• Formula Palette: A tool that helps you create or edit a formula and also provides
information about functions and their arguments.
G
• Goal seek: A method to find a specific value for a cell by adjusting the value of
one other cell. When goal seeking, Excel varies the value in a cell that you specify
until a formula that's dependent on that cell returns the result you want.
• Gridlines in charts: Lines you can add to a chart that make it easier to view and
evaluate data. Gridlines extend from the tick marks on an axis across the plot
area.
• Group: In an outline or PivotTable, one or more detail rows or columns that are
adjacent and subordinate to a summary row or column.
H
• High-low lines: In 2-D line charts, lines that extend from the highest to the
lowest value in each category. High-low lines are often used in stock charts.
149
I
• Identifier: A field name used in an expression. For example, Order Amount is the
identifier (field name) for a field that contains order amounts. You can use an
expression (such as Price*Quantity) in place of an identifier.
*5, Excel multiplies the value in cell B10 by 5 because cells B10 and C10 are in
the same row.
• Index: A database component that speeds up searching for data. When a table
has an index, data in the table can be found by looking it up in the index.
• Inner join: In Query, default type of join between two tables where only the
records that have the same values in the joined fields are selected. The two
matching records from each table are combined and displayed as one record in
the result set.
• Input cell: The cell in which each input value from a data table is substituted.
Any cell on a worksheet can be the input cell. Although the input cell does not
need to be part of the data table, the formulas in data tables must refer to the
input cell.
• Insert row: In an Excel table, a special row that facilitates data entry. The Insert
row is indicated by an asterisk.
• Internet Explorer: A Web browser that interprets HTML files, formats them into
Web pages, and displays them to the user.
J
• Join: A connection between multiple tables where records from related fields
that match are combined and shown as one record. Records that don't match
may be included or excluded, depending on the type of join.
150
• Join line: In Query, a line that connects fields between two tables and shows
Query how the data is related. The type of join indicates which records are
selected for the query's result set.
• Justify: To adjust horizontal spacing so that text is aligned evenly along both the
left and right margins. Justifying text creates a smooth edge on both sides.
L
• Legend: A box that identifies the patterns or colors that are assigned to the data
series or categories in a chart.
• Legend keys: Symbols in legends that show the patterns and colors assigned to
the data series (or categories) in a chart. Legend keys appear to the left of legend
entries. Formatting a legend key also formats the data marker that's associated
with it.
M
• Mapped range: A range in an XML list that has been linked to an element in an
XML map.
• Merged cell: A single cell that is created by combining two or more selected
cells. The cell reference for a merged cell is the upper-left cell in the original
selected range.
• Microsoft Excel control: A native Excel control other than an ActiveX control.
• Microsoft Visual Basic Help: To get help for Visual Basic in Excel, on the
Developer tab, in the Code group, click Visual Basic, and then under the Help
menu, click Microsoft Visual Basic Help.
151
• Moving border: An animated border that appears around a worksheet range
that has been cut or copied. To cancel a moving border, press ESC.
N
• Name: A word or string of characters that represents a cell, range of cells,
formula, or constant value. Use easy-to-understand names, such as Products, to
refer to hard-to-understand ranges, such as Sales!C20
• Name box: Box at the left end of the formula bar that identifies the selected cell,
chart item, or drawing object. To name a cell or range, type the name in the
Name box and press ENTER. To move to and select a named cell, click its name in
the Name box.
O
• ObjectLink: An OLE data format that describes a linked object, identifying the
class, document name, and name of an object. Each of these data items is a null-
terminated string.
• Offline cube file: A file you create on your hard disk or a network share to store
OLAP source data for a PivotTable or PivotChart. Offline cube files allow you to
keep working when you are not connected to the OLAP server.
• OLAP: A database technology that has been optimized for querying and
reporting, instead of processing transactions. OLAP data is organized
hierarchically and stored in cubes instead of tables.
152
• OLAP provider: A set of software that provides access to a particular type of
OLAP database. This software can include a data source driver and other client
software that is necessary to connect to a database.
• Outer join: Join in which all records from one table are selected, even if there
are no matching records in another table. Records that match are combined and
shown as one. Records that don't have matches in the other table are shown as
empty.
• Outline: Worksheet data in which rows or columns of detail data are grouped so
that you can create summary reports. The outline can summarize either an
entire worksheet or a selected portion of it.
• Outline data: The data that is contained within a worksheet outline. Outline data
includes both the summary and detail rows or columns of an outline.
• Outline symbols: Symbols that you use to change the view of an outlined
worksheet. You can show or hide detailed data by pressing the plus sign, minus
sign, and the numbers 1, 2, 3, or 4, indicating the outline level.
P
• Page break: Divider that breaks a worksheet into separate pages for printing.
Excel inserts automatic page breaks based on the paper size, margin settings,
scaling options, and the positions of any manual page breaks that you insert.
• Page break preview: Worksheet view that displays the areas to be printed and
the locations of page breaks. The area to be printed is displayed in white,
automatic page breaks appear as dashed lines, and manual page breaks appear
as solid lines.
• Parameter: In Excel, you can add, change, or remove parameters to specify cells
that are editable in the viewable worksheet data of Excel Services. When you
save the workbook, the changes are automatically reflected on the server.
153
• Parameter query: A type of query that, when you run it, prompts for values
(criteria) to use to select the records for the result set so that the same query
can be used to retrieve different result sets.
• Paste area: The target destination for data that's been cut or copied by using the
Office Clipboard.
• Pivot area: The worksheet area into which you drag PivotTable or PivotChart
fields to change the layout of the report. On a new report, dashed blue outlines
indicate the pivot area on the worksheet.
• PivotTable data: In a PivotTable, the summarized data that's calculated from the
data fields of a source list or table.
• PivotTable grand totals: Total values for all cells in a row or all cells in a column
of a PivotTable. Values in a grand total row or column are calculated by using the
same summary function used in the data area of the PivotTable.
• PivotTable list: A Microsoft Office Web Component that allows you to create a
structure similar to an Excel PivotTable. Users can view the PivotTable list in a
Web browser and change its layout in a manner similar to an Excel PivotTable.
154
• Plot area: In a 2-D chart, the area bounded by the axes, including all data series.
In a 3-D chart, the area bounded by the axes, including the data series, category
names, tick-mark labels, and axis titles.
• Precedents: Cells that are referred to by a formula in another cell. For example,
if cell D10 contains the formula =B5, cell B5 is a precedent to cell D10.
• Primary key: One or more fields that uniquely identify each record in a table. In
the same way that a license plate number identifies a car, the primary key
uniquely identifies a record.
• Print area: One or more ranges of cells that you designate to print when you
don't want to print the entire worksheet. If a worksheet includes a print area,
only the print area is printed.
• Print titles: Row or column labels that are printed at the top of or on the left side
of every page on a printed worksheet.
• Protect: To make settings for a worksheet or workbook that prevent users from
viewing or gaining access to the specified worksheet or workbook elements.
Q
• Query: In Query or Access, a means of finding the records that answer a
particular question you ask about the data stored in a database.
• Query channel: You use a query channel in a DDE conversation between the
destination application and a specific query (for example, Query1) in Query. To
use a query channel, you must have already opened the query window using a
system channel.
• Query design: All elements included in the Query window, such as tables,
criteria, the order in which fields are arranged, and so on. The design also
specifies whether Auto Query is turned on, and whether you can edit the source
data.
155
R
• Range: Two or more cells on a sheet. The cells in a range can be adjacent or
nonadjacent.
• Read-only: A setting that allows a file to be read or copied but not changed or
saved.
• Refresh (external data range): To update data from an external data source.
Each time you refresh data, you see the most recent version of the information
in the database, including any changes that were made to the data.
• Report template: An Excel template (.xlt file) that includes one or more queries
or PivotTables that are based on external data. When you save a report
template, Excel saves the query definition but doesn't store the queried data in
the template.
• Result set: The set of records returned when you run a query. You can see the
result set of a query in Query, or you can return a result set to an Excel
worksheet for further analysis.
156
• Row heading: The numbered gray area to the left of each row. Click the row
heading to select an entire row. To increase or decrease the height of a row,
drag the line below the row heading.
• R-squared value: A number from 0 to 1 that reveals how closely the estimated
values for the trendline correspond to your actual data. A trendline is most
reliable when its R-squared value is at or near 1. Also known as the coefficient of
determination.
S
• Scenario: A named set of input values that you can substitute in a worksheet
model.
• Scroll lock: With scroll lock turned on, the arrow keys scroll the active sheet
rather than make a different cell active. To turn scroll lock off or on, press the
SCROLL LOCK key.
• Section: Any combination of a worksheet, view, and scenario that you choose
when you create a report. A report can contain several sections.
• Select: To highlight a cell or range of cells on a worksheet. The selected cells will
be affected by the next command or action.
• Select All button: The gray rectangle in the upper-left corner of a datasheet
where the row and column headings meet. Click this button to select all cells on
a datasheet.
• Series axis: A chart axis that represents the depth dimension in a true 3-D chart.
It displays the series names as arbitrary text values; it cannot display scaled
numerical values.
• Series field: A field that's displayed in the series area of a PivotChart. Items in a
series field are listed in the legend and provide the names of the individual data
series.
• Series lines: In 2-D stacked bar and column charts, lines that connect the data
markers in each data series that are used to emphasize the difference in
measurement between each series.
157
• Single-mapped cell: A cell that has been linked to a non-repeating element in an
XML map.
• Sort order: A way to arrange data based on value or data type. You can sort data
alphabetically, numerically, or by date. Sort orders use an ascending (1 to 9, A to
Z) or descending (9 to 1, Z to A) order.
• Source areas: The cell ranges that you consolidate in the destination area you
specify. Source areas can be on any worksheet in a workbook, in other open or
closed workbooks, or on Lotus 1-2-3 worksheets.
• Source data: The list or table that's used to create a PivotTable or PivotChart.
Source data can be taken from an Excel table or range, an external database or
cube, or another PivotTable.
• SQL: A language used to retrieve, update, and manage data. When you create a
query, Query uses SQL to build the corresponding SQL SELECT statement. If you
know SQL, you can view or change the SQL SELECT statement.
• Standard font: The default text font for worksheets. The standard font
determines the default font for the Normal cell style.
• Summary data: For automatic subtotals and worksheet outlines, all rows or
columns that summarize detail data. Summary data usually is adjacent to and
below the detail data.
T
• Table pane: The area of the Query window that displays the tables in a query.
Each table displays the fields from which you can retrieve data.
• Template: A workbook that you create and use as the basis for other similar
workbooks. You can create templates for workbooks and worksheets. The
default template for workbooks is called Book.xlt. The default template for
worksheets is called Sheet.xlt.
158
• Text box: A rectangular object on a worksheet or chart, in which you can type
text.
• Tick marks and tick-mark labels: Tick marks are small lines of measurement,
similar to divisions on a ruler, that intersect an axis. Tick-mark labels identify the
categories, values, or series in the chart.
• Total row: A special row in an Excel table that provides a selection of aggregate
functions useful for working with numerical data.
• Totals: One of the five calculation types Query defines for you: Sum, Avg, Count,
Min, and Max.
• Tracer arrows: Arrows that show the relationship between the active cell and its
related cells. Tracer arrows are blue when pointing from a cell that provides data
to another cell, and red if a cell contains an error value, such as #DIV/0!.
• Trendline label: Optional text for a trendline, including either the regression
equation or the R-squared value, or both. A trendline label can be formatted and
moved; it cannot be sized.
U
• Up-down bars: In line charts with multiple data series, bars that indicate the
difference between data points in the first and last series.
V
• Value: The text, date, number, or logical input that completes a condition that a
field must meet for searching or filtering. For example, the field Author with the
condition equals must include a value, such as John, to be complete.
159
• Value field: A field from a source list, table, or database that contains data that
is summarized in a PivotTable or PivotChart. A value field usually contains
numeric data, such as statistics or sales amounts.
• Values area: The part of a PivotTable that contains summary data. Values in each
cell of the values area represent a summary of data from the source records or
rows.
• Vertexes: Black, square, draggable points that appear at the ends and
intersections of lines or curves in certain AutoShapes (such as freeforms,
scribbles, and curves) when you edit points on the AutoShape.
• View: A set of display and print settings that you can name and apply to a
workbook. You can create more than one view of the same workbook without
saving separate copies of the workbook.
W
• Web query: A query that retrieves data stored on your intranet or the Internet.
• What-if analysis: A process of changing the values in cells to see how those
changes affect the outcome of formulas on the worksheet. For example, varying
the interest rate that is used in an amortization table to determine the amount
of the payments.
• Worksheet: The primary document that you use in Excel to store and work with
data. Also called a spreadsheet. A worksheet consists of cells that are organized
into columns and rows; a worksheet is always stored in a workbook.
• Workspace file: A file that saves display information about open workbooks, so
that you can later resume work with the same window sizes, print areas, screen
magnification, and display settings. A workspace file doesn't contain the
workbooks themselves.
• World Wide Web: A system for navigating the Internet or through a collection of
workbooks and other Office documents connected by hyperlinks and located on
a network share, a company intranet, or the Internet. When you use a Web
browser, the Web appears as a collection of text, pictures, sounds, and digital
movies.
160
X
• XML: Extensible Markup Language (XML): A condensed form of Standard
Generalized Markup Language (SGML) that enables developers to create
customized tags that offer flexibility in organizing and presenting information.
161
Keyboard shortcuts in Excel
for Windows
Mastering keyboard shortcuts in Excel can significantly boost your productivity and
efficiency. Whether you're navigating through large datasets, formatting cells, or executing
complex formulas, knowing the right shortcuts can save you time and effort. This section is
dedicated to helping you understand and utilize the most useful keyboard shortcuts in
Excel, making your workflow smoother and more effective. For users with mobility or
visual impairments, these shortcuts offer an essential alternative to mouse navigation,
ensuring a more accessible and streamlined experience.
162
Frequently used shortcuts
To do this Press
163
To do this Press
Move to the Tell me or Search field on the Alt+Q, then enter the search term.
ribbon and type a search term for
assistance or Help content.
164
To do this Press
Select the active tab on the ribbon and Alt or F10. To move to a different tab, use
activate the access keys. access keys or the arrow keys.
165
To do this Press
Enter the End mode, move to the next End, Arrow key
nonblank cell in the same column or row as
the active cell, and turn off End mode. If the
166
To do this Press
cells are blank, move to the last cell in the
row or column.
Cycle through floating shapes, such as text Ctrl+Alt+5, then the Tab key
boxes or images. repeatedly
167
To do this Press
Edit the active cell and put the insertion point at the end F2
of its contents. Or, if editing is turned off for the cell,
move the insertion point into the formula bar. If editing a
formula, toggle Point mode off or on so you can use the
arrow keys to create a reference.
Open the Insert dialog box to insert blank cells. Ctrl+Shift+Plus sign (+)
Open the Delete dialog box to delete selected cells. Ctrl+Minus sign (-)
168
To do this Press
Switch between displaying cell values or formulas in the Ctrl+Grave accent (`)
worksheet.
Copy a formula from the cell above the active cell into Ctrl+Apostrophe (')
the cell or the formula bar.
Remove the outline border from the selected cells. Ctrl+Shift+Underscore (_)
169
To do this Press
Use the Fill Down command to copy the contents and Ctrl+D
format of the topmost cell of a selected range into the
cells below.
Apply the Currency format with two decimal places Ctrl+Shift+Dollar sign ($)
(negative numbers in parentheses).
Apply the Scientific number format with two decimal Ctrl+Shift+Caret sign (^)
places.
Apply the Date format with the day, month, and year. Ctrl+Shift+Number sign
(#)
Apply the Time format with the hour and minute, and Ctrl+Shift+At sign (@)
AM or PM.
Display the Quick Analysis options for selected cells that Ctrl+Q
contain data.
170
Keyboard Shortcuts in the Paste Special Dialog Box in Excel
To do this Press
Paste only the values (not formulas) and number formats from copied U
cells.
171
To do this Press
Extend the selection of cells to the last nonblank cell in the Ctrl+Shift+Arrow key
same column or row as the active cell, or if the next cell is
blank, to the next nonblank cell.
Fill the selected cell range with the current entry. Ctrl+Enter
172
To do this Press
Edit the active cell and put the insertion point at the end of its F2
contents. Or, if editing is turned off for the cell, move the
insertion point into the formula bar. If editing a formula, toggle
Point mode off or on so you can use the arrow keys to create a
reference.
173
To do this Press
Complete an entry in the formula bar and select the cell below. Enter
Move the cursor to the end of the text when in the formula bar. Ctrl+End
Select all text in the formula bar from the cursor position to the Ctrl+Shift+End
end.
Check dependent formulas, and then calculate all cells in all Ctrl+Alt+Shift+F9
open workbooks, including cells not marked as needing to be
calculated.
Display the Function Arguments dialog box when the insertion Ctrl+A
point is to the right of a function name in a formula.
174
To do this Press
Copy the value from the cell above the active cell into the cell or Ctrl+Shift+Straight
the formula bar. quotation mark
(")
Paste a name from the Paste Name dialog box (if names have F3
been defined in the workbook).
Move to the first field in the next record of a data form. Enter
175
Power Pivot keyboard shortcuts
To do this Press
Open the context menu for the selected cell, column, or row. Shift+F10
Select all cells from the current location to the last cell of the Shift+Page
column. down
Select all cells from the current location to the first cell of the Shift+Page up
column.
Select all cells from the current location to the last cell of the row. Shift+End
Select all cells from the current location to the first cell of the row. Shift+Home
176
To do this Press
Move to the first cell in the upper-left corner of selected table. Ctrl+Home
Move to the last cell in the lower-right corner of selected table. Ctrl+End
177
Function keys
Key Description
F2 § F2 alone: edit the active cell and put the insertion point at the
end of its contents. Or, if editing is turned off for the cell, move
the insertion point into the formula bar. If editing a formula,
toggle Point mode off or on so you can use the arrow keys to
create a reference.
§ Ctrl+F2: displays the print preview area on the Print tab in the
Backstage view.
178
Key Description
179
Key Description
F10 § F10 alone: turns key tips on or off. (Pressing Alt does the same
thing.)
F11 § F11 alone: creates a chart of the data in the current range in a
separate Chart sheet.
180
Key Description
For example,
Arrow keys § Move one cell up, down, left, or right in a worksheet.
181
Key Description
End § End turns End mode on or off. In End mode, you can
press an arrow key to move to the next nonblank cell
in the same column or row as the active cell. End mode
turns off automatically after pressing the arrow key.
Make sure to press End again before pressing the next
arrow key. End mode is shown in the status bar when
it is on.
182
Key Description
183
Key Description
Shift § Hold the Shift key while you drag a selected row,
column, or selected cells to move the selected cells
and drop to insert them in a new location.
184
Key Description
185
To do this Press
186
To do this Press
187
To do this Press
188
To do this Press
Check spelling. F7
189
To do this Press
Perform the action assigned to the default button (the button with Return
the bold outline).
Cancel the command and close the dialog box or menu. Esc
190
To do this Press
191
To do this Press
Fill the selected cell range with the text that you ⌘+Return
type. or
Control+Return
Complete a cell entry and move to the right in the Tab key
selection.
192
To do this Press
193
To do this Press
Edit the active cell and then clear it or delete the Delete
preceding character in the active cell as you edit the
cell contents.
194
To do this Press
Edit the active cell and position the insertion point at Control+U
the end of the line.
Copy the value from the cell above the active cell into Control+Shift+Inch
the cell or the formula bar. mark/Straight double
quote (")
Copy a formula from the cell above the active cell Control+Apostrophe (')
into the cell or the formula bar.
195
To do this Press
196
To do this Press
Apply the currency format with two decimal places Control+Shift+Dollar sign ($)
(negative numbers appear in red with parentheses).
Apply the date format with the day, month, and Control+Shift+Number sign
year. (#)
Apply the time format with the hour and minute, Control+Shift+At symbol (@)
and indicate AM or PM.
Apply the outline border around the selected cells. ⌘+Option+Zero (0)
Add an outline border to the right of the selection. ⌘+Option+Right arrow key
Add an outline border to the left of the selection. ⌘+Option+Left arrow key
Add an outline border to the top of the selection. ⌘+Option+Up arrow key
197
To do this Press
Edit the active cell and then clear it or delete the Delete
preceding character in the active cell as you edit the
cell contents.
198
To do this Press
199
To do this Press
Select the current array, which is the array that Control+Forward slash (/)
the
active cell belongs to.
Select cells in a row that don't match the value Control+Backward slash (\)
in the active cell in that row.
You must select the row starting with the active
cell.
Select only cells that are directly referred to by Control+Shift+Left bracket ([)
formulas in the selection.
Select all cells that are directly or indirectly Control+Shift+Left brace ({)
referred to by formulas in the selection.
200
To do this Press
Select only cells with formulas that refer directly Control+Right bracket (])
to the active cell.
Select all cells with formulas that refer directly Control+Shift+Right brace (})
or indirectly to the active cell.
201
To do this Press
Move selected rows, columns, or cells. Hold the Shift key while you drag a
selected row, column, or selected
cells to move the selected cells and
drop to insert them in a new
location.
202
To do this Press
Use charts
To do this Press
Outline data
To do this Press
203
To do this Press
204
To do this Press
Switch focus between the worksheet, ribbon, task pane, and F6 or Shift+F6
status bar.
Check spelling. F7
205
To do this Press
Drawing
To do this Press
206
Thank you for your purchase!
Your Bonuses:
Essential Ebooks:
Your teacher,
Taylor
207