How To Use Google Sheets
How To Use Google Sheets
Google Sheets is a spreadsheet app used to organize, format, and calculate data. It's included as part of
Google Workspace—a suite of connected productivity tools, including Google Docs, Google Forms, and
Google Slides.
You can access Google Sheets via the web, its mobile app (available for Android and iOS), and desktop
app (available only on Google's ChromeOS).
Google Sheets and Excel are both spreadsheet apps, so there are a lot of overlapping features. But there
are a few key differences.
Collaboration. Google Sheets was designed with collaboration in mind—that's why it's so easy to
share worksheets with various permission settings. Excel has similar collaboration features—for
example, you can add and edit comments—but the experience isn't as smooth as what you get
with Google Sheets.
Cell limits. Google Sheets has a cell limit of 10 million, but that pales in comparison to Excel's
17 billion cells per spreadsheet. That's what makes Excel the better tool for dealing with big
data.
Formulas. Excel has more powerful formulas and data analysis features, including built-in
statistical analysis tools and extensive data visualization options. Google Sheets, on the other
hand, offers a "lite" version of most of these features—but they're nowhere near as in-depth.
For a detailed breakdown of how these two apps stack up, check out our app showdown: Google Sheets
vs. Excel.
To kick things off, let's cover some spreadsheet terminology you'll need to know when using Google
Sheets:
Function: A built-in operation from the spreadsheet app you'll use to calculate cell, row, column,
or range values and manipulate data.
Formula: The combination of functions, cells, rows, columns, and ranges used to obtain a
specific result.
Worksheet (Sheet): The named sets of rows and columns that make up your spreadsheet. One
spreadsheet can have multiple sheets.
1. Go to docs.google.com/spreadsheets.
2. Click New.
3. Click Spreadsheet to create a blank spreadsheet or From template gallery to use a template.
Google Sheets offers a limited set of pre-built spreadsheet templates. To expand your options, check out
these free Google Sheets templates.
1. Go to drive.google.com.
2. In the side menu, click New, and then select Google Sheets.
1. With your browser open, enter sheets.new into the address bar.
2. Press Enter.
3. A new tab with a blank Google Sheet will appear in your browser window.
How to add data in Google Sheets
When you create a new spreadsheet, you can immediately begin typing, and your data will automatically
appear in the top-left cell. If you want to enter data somewhere else, click another cell and type away. A
blue border will appear around the cell you're typing in to make it easier to identify which cell you're
working with.
Your database—automated
To make it easier to filter or manipulate data later on, each cell should contain only one value—for
example, 100 or Mango.
When you finish entering data into a cell, you can do one of four things:
1. Press Enter or return to save the data and move to the beginning of the next row.
2. Press Tab to save the data and move one cell to the right in the same row.
3. Use your arrow keys (up, down, left, and right) to move one cell in that direction.
4. Click any cell to jump directly to it.
If you don't want to type in everything manually, you can also import data into Google Sheets en masse
using a few different methods:
3. Import an existing spreadsheet. If you're importing data from another Google Sheet, you can
also use the IMPORTRANGE function to automatically pull in that data and keep things
consistent.
4. Use the fill handle to automatically populate neighboring cells with data.
If you want to pull in data from an existing spreadsheet, you'll first have to export that spreadsheet's
data into an acceptable file format—for example, .csv, .xls, or .xlsx.
2. Choose the file you want to import. You can upload a file directly from Google Drive or your
computer.
3. Click Insert.
Import location. This gives you a handful of ways to import your data. For example, you
can import your data into your current sheet, add it as a new sheet, or create a new
spreadsheet altogether.
Separator tab. Google Sheets will automatically detect and apply this, but you can also
choose a specific
type: Tab, Comma,or Custom.
The fill handle in Google Sheets offers a convenient way to populate data or copy formulas and data in
adjacent cells. Hover your cursor over the bottom-right corner of any cell or cell range, and it'll
automatically turn into the fill handle—it looks like a plus sign (+).
By dragging the fill handle across or down a range of cells, you can perform a number of tasks:
The value Google Sheets populates in the neighboring cells will vary depending on the type of data
contained in the original cell or cell range that the fill handle originated from.
For example, if you select only one cell, the value of the selected cell will appear in every cell that you
drag the handle over.
If you select a series of neighboring cells, Google Sheets will repeat the pattern across or down the cells
that you drag the handle over. In the example below, I've selected three neighboring cells, each
containing a unique value: Mango, Coconut, and Pineapple. When I drag the fill handle, the pattern
repeats across the row so that it's Mango, Coconut, Pineapple, Mango, Coconut, Pineapple, and so on.
If you want to use the fill handle to create an ordered list, highlight at least two cells containing the
sequence you want Google Sheets to continue, and then drag the fill handle.
When it comes to ordered lists, there's one caveat worth mentioning.
Unlike copying text values to neighboring cells, Google Sheets will only continue sequences for number
values—not repeat them. For example, if I wanted to repeat the pattern Employee 1, Employee 2,
Employee 3 across the row, Google Sheets wouldn't be able to. It would just keep counting up. I would
have to manually copy and paste the values across instead.
To make things confusing, if I select a cell range containing an arbitrary set of numbers—for
example, Employee 1, Employee 17, and Employee 20—Google Sheets would repeat this pattern since
there's no logical sequence to continue.
The Google Sheets toolbar is where you'll find all your basic tools and formatting options. Depending on
the width of your screen, some of the tools may be hidden. To reveal them, click the More icon, which
looks like three dots stacked vertically (⋮).
Hover over any icon to discover its function. Or click on it to expand that tool's options, if applicable.
Tools like Borders, Comments, and Align work similarly to what you'd expect from Google Docs.
If you can't find a tool or want to check if a tool exists, the quickest way to find out is by using the search
tool. Click the Search the menus icon, which looks like a magnifying glass.
Unlike how you can hide the toolbar in Excel, Google Sheets gives you the opposite ability: you can hide
everything above the toolbar, including the spreadsheet name and tabs, allowing you to focus on the
spreadsheet itself. To do this, click the up caret (⋀) in the toolbar or use your keyboard
shortcut: Ctrl+Shift+F (on Mac and Windows). Click the caret or enter the keyboard shortcut again to
make everything reappear.
The best way to show you how to use some of the most common Google Sheets formatting tools is to
work through an example. Let's edit this simple project tracker.
To start, let's make the headers in the first row stand out.
Click the cells you want to format. To apply the same formatting to neighboring cells, select the
first cell, and drag your cursor across or down the cell range. To apply the same formatting to
cells that aren't connected, select one cell, press and hold command on a Mac or Ctrl on
Windows, and then select the other cells. Your cell selection will remain selected unless you click
on a different cell, which is convenient if you want to edit multiple formatting options.
From the toolbar, click the plus sign (+) next to the font size to increase it to 12. Or you can enter
12 in the Font size field.
Click the Fill color icon, which looks like a paint can, and select a theme color. I'm using a light
shade of green.
Click the Align icon, which looks like a stack of horizontal lines. By default, it's set to Horizontal
Align. Click Center.
The headings are more obvious now. But some of the heading names are cut off. Let's fix that.
There's a default setting in Google Sheets called Overflow that allows cells with long strings of text or
numbers to bleed into the neighboring cell. But once you enter data into that neighboring cell, that long
string of text will get cut off.
The easiest way to expand the cell to fit your text is by double-clicking the border on the right side of the
column you want to expand. Google Sheets will then expand it to fit the longest value in that column.
You can also expand the width of multiple columns at once.
5. Click OK.
That's it. No more smooshed data.
Let's say you want to leave your columns a set width. There's another way to make sure each cell's data
is still visible within a too-small column: wrap the text.
1. Click the cell or cells you want to apply the text wrap to.
2. Click the Text wrapping icon in the toolbar, and then select the Wrap icon.
3. Google Sheets will automatically increase the height of the row to fit the data.
How to freeze columns and rows in Google Sheets
If I scroll down through the project tracker, the column headers will quickly disappear from view. To lock
the headers in place, let's freeze the first row. Here's the easiest way to do this.
1. In the top-left corner of your spreadsheet, next to column A and above row 1, find the thick gray
bar running horizontally.
2. Click and drag the bar under the last row you want to freeze. In this case, that's row 1.
To unfreeze the row, drag the bar back to its original position.
You can also use the same method to freeze columns in Google Sheets—just drag the vertical bar
instead.
You'll know rows are hidden if there are numbers missing from your row headers. Or, in the case of
columns, missing column letters.
To make the rows visible again, click the arrows that appear in lieu of the hidden rows.
How to add a sheet in Google Sheets
There are two ways to add another sheet to your existing spreadsheet:
If you want to add a blank sheet to your existing spreadsheet, click the Add sheet icon, which looks like a
plus sign (+), at the bottom of your existing spreadsheet.
1. Click the down caret (⋁) next to the tab with the name of the sheet you want to duplicate.
2. Click Duplicate.
3. Double-click the sheet's tab to rename it.
Like most spreadsheet apps, Google Sheets offers a bunch of built-in formulas to help you process a
number of statistical and data manipulation tasks. You can also combine formulas to create more
powerful calculations and string tasks together. If you're already accustomed to crunching numbers in
Excel, most of the formulas work in Google Sheets the exact same way.
As a refresher, a function is a predesigned formula that's built into the app, whereas a Google
Sheets formula is any equation you come up with. Before you spend time creating new formulas, it's
helpful to understand which functions are already available.
Here's a quick overview of the most common basic Google Sheets functions.
SUM: adds all the values in a cell range. For example, =SUM(D2:D10) in our spreadsheet would
add up all the hours spent across cells D2 to D10.
AVERAGE: returns the average of a range of cells. For example, =AVERAGE(D2:D10) would return
16.
COUNT: counts the number of cells in a given range that contain numbers. For
example, =COUNT(D2:D10) would return 9 because every cell in that range contains a number. If
I deleted the value in cell D5, the count would automatically change to 8.
MAX: returns the highest value in a cell range. For example =MAX(D2:D10) would return 33.
MIN: returns the lowest value in a cell range. For example, =MAX(D2:D10) would return 2.
The easiest way to insert a function in a cell is to enter the equal sign (=) immediately followed by the
function name. Google Sheets will autocomplete the function name and suggest what data you should
include in the function. For example, when I enter =SUM in cell E12, Google Sheets finishes the formula
by suggesting =SUM(E2:10). Google Sheets will also suggest a list of other related functions. To accept
the suggested formula, press Tab.
To create a formula to calculate simple arithmetics, like adding, subtracting, or multiplying, you need to
use specific symbols.
Remember: Every formula must begin with an equal sign (=) immediately followed by the formula. By
default, Google Sheets will use PEMDAS to determine the order of operations (what to calculate and in
what order): Parentheses first, followed by Exponents, Multiplication, Division, Addition, and then,
finally, Subtraction.
For example, if I enter =10-5*2, Google Sheets will return 0. But if I enter =(10-5)*2, it'll return 10.
If you have a series of calculations that need to happen in a specific order, use PEMDAS.
Now that you know how to create a spreadsheet, import data, and use formulas, let's go over more
advanced ways to manipulate and visualize your data.
A pivot table is a helpful way to analyze large data sets. With a pivot table, you can use the same data,
manipulate it however you want, and get new insights each time—you don't have to create a new
spreadsheet for each analysis.
1. Select all of the cells with the source data that you want to use, including column headers.
3. Choose if you want to insert your table into a new sheet or an existing one.
4. In the pivot table editor, add the rows and columns you want to analyze, along with the values
you want to display within each row and column.
The data in your pivot table will automatically change if the source data changes. If you don't see the
changes reflected in your pivot table, refresh your page. It may take a minute to update, depending on
the volume of data changes.
Let's say I want to quickly visualize how much time each client spent on their project. One way to do this
would be to create a chart.
1. Select all of the cells with the source data you want to use, including column headers.
3. By default, Google Sheets will turn your data into a bar graph, and, for some odd reason, it'll
place that graph directly on top of your source data. To modify the chart or to use a different
type altogether, use the Chart editor. You can click any of the blue dots surrounding the border
of your chart to resize it. You can also drag and drop the chart to reposition it.
If you want to make more edits later on, right-click the chart and select the field you want to edit.
Clicking any field will bring the full Chart editor back into view.
There are a few ways to share your spreadsheet, but here's the easiest one:
Enter the names or email addresses of people you want to share the spreadsheet with.
3. Any individual you give spreadsheet access to will automatically have full Editor permissions—
they can make changes, leave comments, and give others access to the file. To change this,
click Editor next to their name and choose their permission level: Viewer or Commenter. You can
also set an access expiration date from here.
4. Click Save.
In addition to sharing with specific people, you can also give general access to anyone in your
organization or anyone with the link.
Word of advice: If your spreadsheet contains cell ranges that shouldn't be tampered with, lock your cells
in Google Sheets before sharing it.
Cells, rows, or columns can be formatted to change text or background color if they meet certain
conditions. For example, if they contain a certain word or a number.
1. On your computer, open a spreadsheet in Google Sheets.
4. Create a rule.
Single color: Under "Format cells if," choose the condition that you want to trigger the
rule. Under "Formatting style, choose what the cell will look like when conditions are
met.
Color scale: Under "Preview," select the color scale. Then, choose a minimum and
maximum value, and an optional midpoint value. To choose the value category, click the
Down arrow .
5. Click Done.