Humans are great at processing images, making connections between words and concepts, and remembering obscure trivia. But we're bad—really bad—at mentally processing and storing accurate, easy-to-use data sets.
Data Tables—more commonly known today as spreadsheets—were invented to organize arrays of information that our brains can't recall. Spreadsheets help us sort and label in a way that makes sense, so we can reference it and perform calculations later.
The practice actually dates back thousands of years, to the papyrus spreadsheets in the diary of Merrer, an Egyptian Old Kingdom official involved in the construction of the Great Pyramid of Kufu.
Back then, paper was one of your only options for cataloguing huge amounts of data. Now, we've got computers to do the work for us.
When VisiCalc, the first digital spreadsheet, was released in 1979, it eliminated the need to physically write data, calculate values, and store paper spreadsheets. As our tools evolved, programs like Excel (the most popular spreadsheet software of the last 30 years) made digital spreadsheets one of the most popular uses of computers.
There was only one problem: these spreadsheets were tied to a single machine, which made it difficult to share data. Plus, if your sheet was accidentally erased or lost due to computer failure, it was gone for good.
And so, as the next evolution of the papyrus scratchpad, Google brought spreadsheets online in 2006 with their Google Docs suite. Now in Google Sheets, you can create spreadsheets together with others online, and crunch numbers from any internet-connected device.
Google Sheets is a spreadsheet app on steroids. It looks and functions much like any other spreadsheet tool, but because it's an online app, it offers much more than most spreadsheet tools. Here are some of the things that make it so much better:
Whether you’re a spreadsheet novice or an Excel veteran looking for a better way to collaborate, this book will help you get the most out of Google Sheets. We'll start out with the basics in this chapter—then keep reading to learn Google Sheets' advanced features, find its best add-ons, and learn how to build your own.
The best way to learn a tool like Sheets is to dive straight in. In this chapter, you'll learn how to:
To kick things off, let's cover some spreadsheet terminology to help you understand this the terms in this book:
With that knowledge in hand, let's dive in and start building our own spreadsheets.
The best part about Google Sheets is that it's free and it works on any device—which makes it easy to follow along with the tutorials in this book. All you'll need is a web browser (or the Google Sheets app on your iOS or Android device), and a free Google account. On your Mac or PC, head over to sheets.google.com, and you're ready to get started.
There are 3 ways to create a new spreadsheet in Google Sheets:
This will create a new blank spreadsheet (or a pre-populated template if you choose one of those). For this tutorial, though, you should start with a blank spreadsheet.
The Google Sheets interface should remind you of at least one other spreadsheet app you’ve seen before, with familiar text editing icons and tabs for extra sheets.
The only difference is that Google has reduced the clutter and number of displayed interface elements. So your first task should be obvious: Add some data!
Look around the white-and-grey grid that occupies most of your screen, and the first thing you’ll notice is a blue outline around the selected cell or cells.
As soon as you open a new spreadsheet, if you just start typing you’ll see that your data starts populating the selected cell immediately—usually the top left cell. There's no need to double click cells when you add information, and not much need to use your mouse.
Feel free to select any cell you’d like, then go ahead and type something in. When you’re done entering data into a cell, you can do one of 4 things:
If you don’t want to type in everything manually, you can also add data to your Sheet en masse via a few different methods:
Copy & Paste is pretty self-explanatory, but there are times when you’ll try to copy a "spreadsheet-y" set of data from a website or PDF, and it will just paste into one cell or format everything with the original styling. Try looking for data that’s actually in an HTML table (like movie data from IMDB, for example) to avoid getting funky pasted data in your spreadsheet.
If you do end up with oddly formatted data, don't worry: we’ll fix that in the next section!
Importing a file is simple as well. You can either import directly into the current spreadsheet, create a new spreadsheet, or replace a sheet (i.e. an individual tab) with the imported data.
The most common files you’ll import are CSV (comma separated values) or XLS and XLSX (files from Microsoft Excel). To import a file from outside of your Google Drive, go to the FILE > IMPORT > UPLOAD menu.
I prefer to import the data into a new sheet every time to keep my old data and new imported data separate. Alternatively, if you have a Google Sheet (or a CSV, XLS, or other spreadsheet file) saved in your Google Drive account, you can import that directly into your spreadsheet using the same process—just search your Drive from the import window.
Dragging to copy a cell value needs a bit of explanation, because you’ll use this one a lot once you’ve set up formulas in your spreadsheets.
By dragging the small blue dot (pictured below) in the bottom-right corner of a highlighted cell across or down a range of cells, you can perform a number of different functions.
There are a number of ways you could use this feature:
Here’s an example of how to creating an ordered list might work: Try adding the text
Contestant 1 to Cell A1, then clicking and dragging the little blue dot in the bottom-right corner of the highlighted cell either down or across any number of neighboring cells.
If there was no number after
Contestant, this dragging action would simply copy "Contestant" to any cells you drag over. But because the number is there, Sheets knows to increment the next cell +1.
Let’s assume that you have either copied, pasted, imported, or typed-in a good chunk of data, and that your spreadsheet is looking pretty healthy.
Now, How can we use this data?
Whether you’re tracking expenses, recording students’ grades, or keeping track of customers in a homebrew CRM (as we'll build in chapter 3), you'll want to manipulate and format your data.
The basic formatting options in Google Sheets are available above your first cell. They're labeled in the image below, but for quick reference while you're working on a sheet, just hover over an icon to see its description and shortcut key.
Print, Undo / Redo, and the Font Settings / Styling function similarly to what you'd expect from your favorite word processor. The shortcut keys are the same as well, so just treat it like you’re editing any other document!
As for everything else, the best way to show you how everything works is to dive right into an example.
I’m going to create a quick list of potential breakfast options for tomorrow morning, along with their ingredients, counts, prices, and links to YouTube videos for how to make them (who knew you could make a 3-minute video about scrambled eggs?).
It’s functional, enough that you could use this very easily to keep track of information. In fact, a vast majority of my own spreadsheets look like this—Google Sheets makes it so simple to capture information, share it, and return to it later for reference that it acts as my highly-structured note-taking tool.
But let’s assume that you have to deal with dozens of spreadsheets per day (or worse, that you have to share spreadsheets back-and-forth) and this is what someone sends you. It’s really boring, and if it was a large data set it would be painful to skim through.
For the simple example above a lack of significant formatting is "okay." It does the basics, storing my information and allowing me to save it. But it’s not something I would want to come back to each day.
Since I eat breakfast every morning, let's take some time to make this spreadsheet more user-friendly with some formatting!
First we’ll "Freeze" the first row in place. That means if we scroll down the spreadsheet, the first row will still be visible, no matter how much data lies below it. This allows you to have a long list and helps to keep tabs on what you’re actually looking at.
There are two ways to freeze rows:
Freezing my header row is the first thing I do in every sheet I make.
Now, let's make the header text pop with some simple text formatting (remember, the text formatting tools are in the toolbar, just above your first row):
The next thing I’ll do to clean this up a bit is format my "Average Price / Serving" to be a dollar value. Here's how things look at first:
Now, let's clean that up with the "Format as $" button for the specific values (or entire row) highlighted.
You'll see that your selected cells are now displayed as a dollar amount, rather than a regular number.
Now that you’ve got the hang of inserting and formatting your data, it’s about time we start actually calculating some sums, averages, and more from your data!
Google Sheets, like most spreadsheet apps, has a bunch of built-in formulas for accomplishing a number of statistical and data manipulation tasks. You can also combine formulas to create more powerful calculations and string tasks together. And if you're already accustomed to crunching numbers in Excel, the exact same formulas work in Google Sheets most of the time.
For this tutorial, we’ll focus on the five most common formulas, which are shown in the formula drop down menu from the top navigation.
You can click a formula to add it to a cell, or you can start typing any formula with a
= sign in a cell followed by the formula's name. Sheets will auto-fill or suggest formulas based on what you type, so you don't need to remember every formula.
The most basic formulas in Sheets include:
We'll explore these formulas by improving our breakfast spreadsheet.
Let’s start with adding up the total number of ingredients required for each recipe. I’ll use the
SUM formula to add each value in the recipes and get a total amount.
There are three ways to use the basic formulas accessible via the top navigation:
=sign) then either manually type a range or select the range
I'll demonstrate all three methods in the gif below. First, I'll sum my ingredients by selecting a range, and clicking
SUM from the formula menu. Second, I’ll select a result cell and highlight the range of cells to be summed together. Finally, I will demonstrate typing a formula and range manually.
When you’ve finished selecting the cells that you want to add together, press ENTER.
In my example, you see a grey help section pop up when I start typing the formula. When you create a formula for the first time, you’ll instead notice a blue highlight and a question mark next to the cell.
You can click the question mark to toggle help context for formulas on or off. These tips will tell you what type of information can be used in each formula, and will make your formula creation (especially when you start combining formulas) much easier.
Now that we have a formula set up to
SUM all of the ingredients together, let’s make sure that it applies to all of the cells in that row. I’ll select my formula cell and drag the blue dot across the other cells to copy the formula to those cells.
You’ll notice that when you copy the formula to a neighboring cell, it shifts the range that the new formula is referencing. For instance, in the "Scrambled Eggs" column it was
SUM(B2:B8) but in "French Toast" it’s
Now that we know how many parts are needed for each recipe, I’d like to know how complicated it is to make. I’ve simplified this by assuming that fewer ingredients means that the recipe is less complicated.
In order to count the number of ingredients in each recipe, I’ll use the
The count formula essentially checks to see if the cells in a range are empty or not, and returns the total that are filled.
This formula will be set up in my spreadsheet the same way as my
Here's a trick we didn't cover in the previous section, though: highlight the cell range that you’re trying to count and checking in the bottom right corner of your spreadsheet. If you’ve highlighted a pure list of numbers, Sheets will automatically
SUM them for you and display the result. If you’ve highlighted a mixed range of numbers and text, it will
COUNT the values.
You also have the option to perform any of the five number-based operations on a range of numbers by clicking the
SUM button in the bottom right and selecting the new default formula from the pop-out menu. From then on, anytime you highlight a range it will perform the last-selected formula.
So according to my spreadsheet, "Cereal" is the least complicated breakfast, but I’m still not convinced that an easy breakfast is worth it.
What if it costs too much? What if the extra effort of cooking another meal saves me money?
Let’s refine our decision by figuring out the average cost per serving of the breakfast choices by using the
I’ve added some faux minimum and maximum prices per unit on my ingredients list to the right of my breakfast options. We’ll want to get an average price for each ingredient using the low and high rates, then multiply the resulting average price of the ingredient by its respective unit count in each recipe.
I’ll start by highlighting the range of values (in this case it’s two side-by-side rather than a vertical range) and selecting the
AVERAGE formula from the toolbar.
This will drop the result into the column to the right of the maximum price column. Next, I drag the formula down to apply it to the other min and max price combinations.
I'll label my column "Average Unit Cost" so we know what we’re looking at. Then, let's move on to calculating the cost of the breakfast using simple arithmetic.
We need to calculate the total cost of the breakfast by multiplying the average price of each ingredient by its unit count in the recipe. To accomplish this, manually type a formula into the "Avg Price" row.
Our basic arithmetic formula would look like this for the "Scrambled Eggs" column:
$ symbol before column I (the average prices) tells Sheets that no matter where we put the formula in our spreadsheet, we always want to reference the I column.That way, if we copy the formula to the other recipes, it will always use the average unit cost column rather than shifting the reference to the next column over when you drag to copy (like it did in the
If you don't want to type those values in manually, there are cleaner ways to perform this type of formula: You could accomplish the same price calculation by using this advanced formula:
There are many formulas in Sheets that take care of complex tasks for you, many of which we'll dig into in the next chapters.
Now that we have some working data and calculations, perhaps my coworkers (who are likely planning to eat breakfast tomorrow) might benefit from this sheet.
Let’s prepare to share our spreadsheet, and invite some collaborators to view, edit, and use our data.
What makes Sheets so powerful is how "in sync" you'll feel with your coworkers. Jointly editing a spreadsheet is one of the critical functions of Sheets, and Google has made it a seamless experience.
Here’s how it works:
When you open the "advanced" sharing panel, you’ll see a number of options.
The default functionality when you click the "Share" Button is to copy a link to the spreadsheet to your clipboard.
When you share this link with someone via a messenger or email, if they click the link it will bring them to the spreadsheet. However, unless you’ve invited them via email (in the email field) and selected "Can Edit", they will still need to request permission to make changes.
If you’d like to give anyone within your organization or company editor-level access, click the "change…" button in the "Who has Access" section and select "On - (Your Organization Name)**". (Note: this option will only appear if you're using Google Apps for Work.)
Someone is "In your organization" when they have an email address and Google account for your company. In this case, I’ve named by "company" MichaelGrubbs, so everyone in my organization has an
@michaelgrubbs.com email address and anyone signed in to one of those accounts can access the spreadsheet.
Even though Google Sheets and Drive are built for sharing between users, you’ll notice that many times your spreadsheets are created as internal documents, and sharing is secondary to actually getting work done.
You can streamline your spreadsheet workflows and real-time data-sharing by taking advantage of these helpful add-ons:
Let’s continue working on our spreadsheet example to demonstrate using Zapier, an app integration tool, to make Google Sheets even more powerful.
Rather than hitting the "Share" button on my spreadsheet to send it to my colleagues, I’d like to send a Slack message alerting them that I’ve created this new spreadsheet.
I’ve set my Zap up to look for new Spreadsheets in my Google Drive then post the file name and a link to the spreadsheet in a Slack Channel.
This is great for updating your team when you create new documents that you’d like to quickly loop everyone in on.
You can set up filters and conditions to decide when to post, and you have complete control over what information you’d like to include in your message. You can also trigger messages based on different actions in Google Sheets—like when someone a new row or changes the data in a cell. Check out the Zapier's Google Sheets page for more information on supported data and triggers.
Now let’s switch the direction of the data-flow and consider how our colleagues would interact with our Spreadsheet.
I’d like to allow myself and my team to interact with my spreadsheet and keep track of what they had for breakfast in a breakfast log. Without an automation tool like Zapier, tasks like this quickly become the reason that people fail to collaborate successfully using spreadsheets.
Think about it, if this were a normal spreadsheet without any automation, you’d be asking someone to:
This is where automating tasks becomes so vital.
Let’s set up our spreadsheet so that it has a clean sheet to receive some automated data. I’ll create a new worksheet using the
+ button in the bottom left.
Now, I’ll use Zapier again and make Slack the triggering action with Google Sheets on the receiving end of the automation (the "Action" side of the Zap).
I’ve set up my Zap to instantly take a Slack message posted into a dedicated channel and create a new row in the breakfast log along with the time and user who posted it.
Check it out in real-time:
And this can work for hundreds of other applications that you can use as Triggers or Actions with Zapier. You can send information to your spreadsheet via email, monitor your social channels, set it on a schedule; there are dozens of different ways to accomplish any given task with the apps you're already using.
If you need to send your files to external collaborators, upload a file into another system, or just like having backups for posterity, then turn towards one of Google Sheets' many data export options.
The most common exports will be either .xls (Excel document) or .csv (comma-separated values). If you're not sure which format to use, a .csv is usually the best bet.
If you love what you’ve seen so far but were worried that you wouldn’t be able to use Sheets without a connection, then fear not. Google Sheets has an "Offline Mode" that will automatically sync your changes to the document when you reconnect to the internet.
This is useful for any situation where you'd need to treat Google Sheets like a desktop application—on a flight or a road trip, for example.
Here’s what you’ll need:
Instructions for setting up your offline sync are really straight-forward, but the bulk of the process is just downloading and using the three core components above.
Actually turning it on looks like this (get ready to be amazed):
And just like that, you can use Google Sheets even when you're offline—no WiFi necessary.
Here’s what you’ve just learned how to do if you followed along for the whole chapter (you can hit each link to back-track):
Google Sheets is a powerful tool—it's everything you'd expect from a spreadsheet, with the extra perks of an online app. While the example spreadsheet that we created may have been a bit silly, the practical applications of using Sheets for your workflows (both business and personal) are limitless.
Whether you need to make a budget, outline your next proposal, gather data for a research project, or log info from any other app that connects with Zapier, a Google Sheets spreadsheet can bring your data to life. And with everything stored in Google Drive, you'll never worry about losing your files again—even if your computer dies.
Now that you know how to make a spreadsheet, it's time to fill your spreadsheet with data. The best way to do that in an online spreadsheet is with a form—and in chapter 2, we'll look at the free Google Forms tool that can help you gather data and save it directly to your spreadsheet.
Written by freelance writer Michael Grubbs.
Build workflows with your apps.Try Zapier Free
Connect apps. Automate tasks. Get more done.Try Zapier Free
Try Zapier Today
“Zapier helps me build processes and automation into my business like a programmer without having to learn to code.”
Zapier is the easiest way to automate powerful workflows with more than 750 apps.