Chapter 09 Introduction To Spreadsheets
Chapter 09 Introduction To Spreadsheets
1-1-2023
Clinton Daniel
University of South Florida, [email protected]
Manish Agrawal
University of South Florida, [email protected]
This Book Chapter is brought to you for free and open access by the The Modernization of Digital Information
Technology at Digital Commons @ University of South Florida. It has been accepted for inclusion in
FUNDAMENTALS OF INFORMATION TECHNOLOGY: Textbook – English by an authorized administrator of Digital
Commons @ University of South Florida. For more information, please contact [email protected].
Introduction to Spreadsheets
CHAPTER CONTENTS
Overview 170
What is a Spreadsheet? 171
Managing Spreadsheets 173
Menu Options 174
Entering Cell Data 175
Row and Column Titles 177
Formatting Cells and Worksheets 177
Styles 179
Themes 179
Merging and Splitting Cells 180
Hide and Unhide Columns and Rows 181
Page Layout Options 182
Formulas and Functions 183
Charts and Images 184
Benefits of Charts 185
Images 186
Share and Collaborate 186
Analyzing and Organizing Data 187
Filters 187
Sorting 188
Conditional Formatting 189
Pivot Tables 190
Additional Resources 190
Chapter Terms and Definitions 191
Chapter Case: Sports Tracking Spreadsheet 192
Overview
Spreadsheets are electronic documents that help users to manipulate data. While word processors
and email are probably the most used productivity applications, much of the world’s business runs on
spreadsheets. This is because spreadsheets are productivity applications designed to store numbers.
Spreadsheets make it easy to visualize data and identify trends in that data. Any teacher tracking
student grades will find it easiest to do so using spreadsheets. Student clubs will find it easiest to track
contributions and expenses if they use spreadsheets. You may not use spreadsheets every day of your
life, but your most valuable information is likely to be stored on spreadsheets.
For precisely this reason, spreadsheets were the killer app for computers in business. Just as email
encouraged consumers to buy computers and get Internet connectivity, spreadsheets made it
worthwhile for businesses to buy computers to track how they were doing. Steve Jobs credits the first
spreadsheet program, VisiCalc, as being the driver for early Apple sales.
Dan Bricklin came up with the idea of a visual calculator in 1978 while doing his MBA at Harvard.123
He initially visualized the user interface of spreadsheets as the cockpit display in aircraft but settled
on the current row-column format to enable human-friendly names to be applied to data elements.
Dan first called his program “Calcu-ledger” but eventually changed it to VisiCalc for Visual Calculator.
Dan’s business partner, Dan Fylstra, also an MBA from Harvard, and one of the earliest software
publishers, demonstrated the VisiCalc program to Steve Jobs.124 Almost a million copies of VisiCalc
were sold at about $100 each, driving sales for Apple, as well as the adoption of computers in business.
Subsequently, Mitch Kapor and Jonathan Sachs created Lotus 1-2-3,125 which was bought by IBM, and
Microsoft came out with Excel. VisiCalc eventually lost its lead in the market.
Of all the applications and technologies discussed in this book, the ability to use spreadsheets
productively is perhaps the most marketable skill. No one will hire you strictly because you can
write emails or documents. But there is a good chance your expertise in spreadsheets may make you
extremely valuable for some organizations.
123 See Dan’s website for his own detailed account of how he came up with the idea of a spreadsheet,
http://www.bricklin.com/ and http://www.bricklin.com/history/saiidea.htm for the initial idea
(accessed June 2023).
124 Steve Jobs’ recollection of the story, “The History of Spreadsheets, from VisiCalc to Causal &
beyond,” https://callmefred.com/the-history-of-spreadsheets/ (accessed June 2023).
125 Computer History Museum profile of Mitch Kapor, creator of Lotus 1-2-3, https://computerhistory.
org/profile/mitchell-kapor/ (accessed June 2023).
FIGURE 100 — Spreadsheets allow users to organize data efficiently, making it a crucial aspect of businesses.
Spreadsheets are the workhorses in business for a wide range of tasks, such as budgeting, financial
forecasting, and data analysis. Spreadsheets include built-in formulas for all the data processing tasks
common in business. For example, the formula PMT(0.05/12, 60, 3000) will calculate the monthly
payment for a car costing $3,000 to be paid off in 5 years (60 months) at an annual interest rate of 5%
(monthly interest rate of 5%/12).127
When working with data, spreadsheets have capabilities that make them far more powerful compared
to tables in word processing documents. Whereas word processor tables require you to do manual
calculations on cells of data, spreadsheets allow you to type in a formula to process data from other
parts of the same spreadsheet or even other spreadsheets. An added advantage of spreadsheets is
that the results of the formulas will change automatically if any of the input data changes.
Let’s check out a couple of example spreadsheets. Say you are a real estate investor renting out
multiple properties. To help you focus on your customers and properties instead of your financials, you
can create a spreadsheet and enter your rental income and maintenance expenses, using formulas
FIGURE 101 — Spreadsheets can benefit a wide range of industries and be customized depending on user needs.
As another common example, say you are a stock market investor. You can track your portfolios
by entering the names of companies in your portfolio, the number of shares in each company, the
purchase price of each share, and today’s market price. Formulas in your spreadsheet can calculate
your profile/loss for each group of shares, the total profit/loss, and the percent weight of each stock
by purchase price and by the current market price. This can help you identify winners and losers
in your portfolio and manage your investments accordingly. Figure 102 shows an example adapted
from a popular investment management spreadsheet (DR 179).128
128 DR 179 refers to episode 179 of the Dough Roller podcast. The spreadsheet was introduced
by the podcast host, Rob Berger, on his podcast in May 2015, https://www.doughroller.net/
podcast/ (accessed June 2023).
Managing Spreadsheets
Managing spreadsheets is much like managing word processing documents. To create a new
spreadsheet using Google Sheets, go to sheets.google.com and click on “Blank” to open a new sheet.
open, you could also create a new one by using the “File” → “New” → “Spreadsheet” menu option.
To open an existing worksheet, you click on the sheet among your files. Once you have a spreadsheet
You can save any open worksheet the same way you save any electronic document, by clicking on the
“File” menu and then selecting “Save.” If you would like to change the name of the spreadsheet while
saving, give the saved spreadsheet the preferred name and choose where you want to save it in your
Google Drive.
You can share the spreadsheet with colleagues by clicking on the “Share” button and entering the
email addresses of your colleagues. This will allow your colleagues and friends to access and edit the
spreadsheet from their own Google accounts.
Spreadsheets typically provide templates for common tasks like managing a monthly budget, a
formulas. Generally, these templates are available from the “File” → “New” dialog as a “Template
team roster, or weekly time sheets. These templates have a predefined look and feel and appropriate
Gallery.” Figure 104 shows the user interface for Google Sheets (top) and Microsoft Excel (bottom).
Menu Options
Both Excel and Google Sheets
provide many menu options to
simplify complex operations to
organize and manage data and
generate output. For example,
Google Sheets has a standard
toolbar to format cell contents,
including font size, currency
signs, indentation, and
background color. The “File”
menu in Google Sheets is used
to perform file management
operations, like creating new
files or opening existing files
(Figure 105).
The “Edit” menu in Google
Sheets is used to copy, paste,
and find and replace. “View,” as
the name suggests, is used to
manage the visible content on
the screen. “Insert” has options
to insert rows, cells, columns, FIGURE 105 — The “File” tab (left) in Google Sheets has a wide variety of
options and stores many commonly used ones. The “Insert” menu (right) in
charts, pivot tables, images, Google Sheets allows users to edit rows and columns.
and drawings in documents. A
FIGURE 106 — In Excel the “Insert” tab (top) displays many features for editing the spreadsheet and adding elements,
while the “Formula” tab (bottom) helps users preform calculation.
FIGURE 107 — Users can autofill multiple rows and columns at the same time by creating an initial copy.
FIGURE 111 — When creating labels, users should be concise and clear to ensure
values are properly represented and the spreadsheet is easy to understand.
The table in Figure 111 shows Planned and Actual expenses and the column titles are Planned, Actual,
and Diff. The items for which the cost is tracked, such as Food, Gifts, and Health/medical, are the row
titles. Column titles are used in conjunction with row titles to provide a complete picture of the data
in a spreadsheet. Titles can be especially useful when working with complex data sets to help readers
make sense of the information.
Now let’s use some formatting options and update the same table by adjusting the font size, text
color, background color, and header elements. You can also include currency symbols and comma
separators and have the negative numbers show up in a different color. Suddenly, the same data set
not only looks pretty but also becomes easier to digest (Figure 113).
To format cells in Google Sheets,
select the cells you want to format
and choose the “Format” menu
option. If your cells have numbers,
you can choose the “Number” option
and select any one of the available
formatting options for numeric,
financial, and date values. You can
also set the font size, alignment, and
how data should wrap in a cell.
In Microsoft Excel, you can select the
cells you want to format, right-click
to open the context menu, and select
the “Format Cells” menu option. A
window opens where you can specify
several formatting options including
number display and the look and feel
of the cells—alignment, font, border,
or fill (Figure 114).
FIGURE 114 — Excel provides users with many options to format
cells.
Themes
Spreadsheets offer themes to let you
have a consistent look and feel with
respect to the choice of colors, fonts,
cell borders, and background colors.
Changing a spreadsheet’s theme will
change the fonts, colors, and effects FIGURE 117 — Excel allows users to copy formatting used in an
across the entire spreadsheet. In Excel, existing spreadsheet.
to set the orientation. In Google Sheets, when you select “File” → “Print,” you see a “Print Preview”
(vertical) or landscape (horizontal) orientation. In Excel, the “Page Layout” tab has menu options
of the pages and have the option to adjust the paper size, orientation, headers and footers, grid
visibility, alignment, and other properties.
Page size: You can specify whether you want to print/export your spreadsheet to PDF as a letter
sized, A4 sized, or any of the other standard or customized paper sizes.
Margins: You can adjust the size of the margins to have the look you want.
Headers and footers: You can add headers and footers to the top and bottom of each page.
In Excel, go to the “Insert” tab and click on the “Header & Footer” menu to insert headers and
footers. As mentioned earlier, in Google Sheets you can add headers and footers, page numbers,
workbook tiles, and other information when you try to print the document.
Page breaks: You can insert page breaks to control where the spreadsheet gets divided across
multiple pages when it is printed/exported.
Gridlines: If you want, you can choose to display gridlines on the printed/exported version of
the spreadsheet.
Scaling: You can adjust the scaling of the spreadsheet to fit it on a specified number of pages by
making it a percentage of its original size.
129 The beauty of data visualization, TED talk by David MacCandless in 2010, https://www.ted.com/
talks/david_mccandless_the_beauty_of_data_visualization. David also maintains a website
with novel visualizations at https://informationisbeautiful.net/ (accessed June 2023).
A line chart is a good choice for showing trends over time, and a scatter plot is good at showing the
relationship between two variables. So, if you wanted to compare your expenses against an average
student’s expenses, you may consider a scatter plot (Figure 129 and Figure 130).
FIGURE 129 — A table of expenses. FIGURE 130 — Scatter plots allow users to compare
two or more sets of data.
Once you create a chart, you can customize it by changing the appearance and layout of the chart
and adding labels, titles, and data markers.
Benefits of Charts
Charts can give users a quick visual summary of large volumes of data. A well-known example to
demonstrate the utility of charts was published in 1973 by Yale statistician Francis Anscombe and is
popular as Anscombe’s Quartet.130 The quartet consists of 4 sets of 11 numbers each, with very different
distributions but almost identical statistical properties. While the differences are not readily apparent
from the data, the differences are immediately apparent from a chart. The data and their charts are
shown below. The mean and variance of y for each series are 7.5 and 4.125. The example is meant
to show that though numerical data is considered precise, and charts are considered approximate,
charts help with analysis and detecting the underlying phenomena.
130 Anscombe, F. J. (1973). “Graphs in Statistical Analysis,” American Statistician. 27 (1): 17–21. See also
the Wikipedia page on “Anscombe’s Quartet” at https://en.wikipedia.org/wiki/Anscombe%27s_
quartet (accessed June 2023).
The series is plotted in Figure 131. It becomes immediately clear that the series is describing different
phenomena and that there are outliers in some data series that merit further investigation.
FIGURE 131 — Anscombe’s Quartet showing how graphs make differences in data patterns readily apparent.
Images
While charts are graphs created based on
the data in your spreadsheet, images are
pictures you can directly insert into your
spreadsheet. In Google Sheets, you can
Filters
If you have a humongous spreadsheet, you may find it useful to look at a narrower set of data to
focus your attention on one or two aspects of the data. By applying a filter, you can choose which
rows are visible and which ones are hidden.
Price
Keep in mind, filtering doesn’t change the Sub- Product Number per
underlying data. Only the data set that Division Division Number of Units unit
matches the filtering criteria gets displayed. east 1 1111 140 $10
When you remove the filters, you will have west 2 1111 21 $9
the original spreadsheet with all the rows, west 3 1111 18 $12
east 3 1111 16 $8
just as before. west 1 1111 11 $10
east 4 1111 11 $9
For example, you may have your company’s west 3 2222 16 $12
sales data for every Division, Sub-Division, west 2 2222 15 $10
and product (Figure 132). If you want to east 2 2222 15 $11
focus only on the data for your Division, west 1 2222 12 $10
east 3 2222 12 $9
Sub-Division, or product, setting up a filter east 4 2222 12 $9
may be a great idea. east 1 2222 10 $9
east 2 2222 9 $13
In Google Sheets, click on the filter icon and
select “Create new filter” view. Then click on FIGURE 132 — When working with large sets of data, users
the column header of any column to filter may choose to filter specific columns.
data (Figure 133).
Sorting
Sorting organizes data in an ascending or
descending order and facilitates searching
for data. Some spreadsheet operations such
as VLOOKUP and Remove Duplicates also
expect data to be sorted. For example, if
you have a list of students with First Name,
Last Name, City, and GPA in a spreadsheet, FIGURE 135 — Once a filter has been established, you only
it may be useful to group all the students in see the data you are interested in.
a city together. Just sort the data by City to
reorganize the underlying data and see all
the students from one city in one place. If
mayors want to award the top-performing
students in their cities, they can sort by City
and then by GPA to figure out which students
FIGURE 136 — Users can filter multiple columns at the
will receive awards. If you choose to sort same time.
from the largest to the smallest (descending
Conditional formatting allows you to apply FIGURE 137 — Unsorted sales data of a company
formatting, such as cell shading and text color, to (top); Data sorted by Division (bottom).
cells based on conditions. This can be useful in
highlighting important information or for making
data easier to read and understand. You can use a
formula or a set of rules to determine which cells
should be formatted.
Going back to our company sales data, let’s say we
want to highlight any sales of more than 15 units
in green and those with less than 10 units in red. In
Additional Resources
Spreadsheets have a wide range of capabilities for a wide array of applications. To become proficient
at using spreadsheets, consider using them anytime you are working with numbers. Like any skill,
practice will improve your ability to leverage this highly valuable technology.
Several influencers share valuable Excel tips on social media sites, including Twitter. Some threads the
authors can recommend are below:
15 Excel tips: https://twitter.com/FluentInFinance/status/1611807041399705600
Search by hashtag for Excel: https://twitter.com/hashtag/excel.
Cell: A cell is a single element in the worksheet Formula: A feature that performs specific
that has a value, some text, or a formula calculations or other actions on the data in the
spreadsheet
Chart: A type of visualization shaped like a pie
and used to analyze data in an intuitive and user- Function: A set piece of code built into a
friendly way spreadsheet that performs certain predefined
actions; examples include SUM, AVERAGE,
Column: Represents categories of data and the COUNT, MIN, and MAX
cells are named by alphabet vertically
Pivot Table: A useful tool to quickly summarize
Conditional Formatting: A spreadsheet feature and analyze large amounts of data to see patterns
that allows you to apply formatting options, such and trends
as cell shading and text color, to cells based on
conditions Row: Represents a record of data and the cells
are numbered horizontally
Data: Information used for reasoning, discussion,
or calculation Sorting: A spreadsheet feature that organizes
data in an ascending or descending order and
Filter: A spreadsheet feature designed to narrow facilitates searching for specific data
a set of data based on specific criteria so that you
can choose which rows are visible and which Spreadsheet: A computer program that
ones are hidden represents information in rows and columns, and
makes it easy to perform calculations with the
data
Question 1: Considering the data required in the list above, create a spreadsheet
in a spreadsheet application you have access to. Add at least 10
rows of data to your spreadsheet. Once you add all the data to the
spreadsheet, what is the average age for all the students? What
formula did you use to calculate the average age?
Question 2: Add a chart to the spreadsheet that illustrates the total number
of students for each sport. Which sport has the highest number of
students? What formula did you use to count the total number of
students for each sport?