0% found this document useful (0 votes)
222 views60 pages

How To Use Google Sheets - Guia para Usar Google Sheeets

This document provides a guide to using Google Sheets. It begins with an overview of key Google Sheets concepts and terminology. It then provides step-by-step instructions on how to create a spreadsheet, add and import data, use formulas, format and edit data, freeze rows and columns, and share or protect sheets. The document also includes additional tips and resources for advanced Google Sheets functions.

Uploaded by

Daniel Moncada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
222 views60 pages

How To Use Google Sheets - Guia para Usar Google Sheeets

This document provides a guide to using Google Sheets. It begins with an overview of key Google Sheets concepts and terminology. It then provides step-by-step instructions on how to create a spreadsheet, add and import data, use formulas, format and edit data, freeze rows and columns, and share or protect sheets. The document also includes additional tips and resources for advanced Google Sheets functions.

Uploaded by

Daniel Moncada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 60

How to use Google Sheets: A

complete guide

I'm no spreadsheet guru, but I have spent copious amounts of time in


Google Sheets. From organizing monthly marketing deliverables into a
color-coded content calendar to tracking profits for my small business
where I upcycle clothing—Google Sheets has proven to be one of my
most beloved tools. When used effectively, it can simplify processes and
just make your life easier overall.

In this article, I'll walk you through how to use Google Sheets, go over
some helpful formulas, and provide you with some tips and tricks to help
you supercharge your work.

Table of contents:

 Quick review: What is Google Sheets?


 Overview: Must-know Google Sheets terms
 How to create a spreadsheet
 How to add data to your spreadsheet
 How to edit and format data for easy viewing
 How to use formulas in Google Sheets
 Additional Google Sheets tutorials and tips
 How to share, protect, and move your data
 Bonus: How to automate Google Sheets using Zapier

Quick review: What is Google Sheets?

Google Sheets is a spreadsheet app that you can access via the web. So
does that mean it's basically just Google's version of Microsoft Excel?
Kind of, but not quite.

Is Google Sheets the same as Excel?

If you're familiar with Excel, you'll have an easier time learning how to use
Google Sheets. They're both spreadsheet apps, so they have a lot of
overlapping features, but there are a few important differences. You can
read all about them in Zapier's Google Sheets vs. Microsoft Excel
comparison, but here are the main takeaways:

 Google Sheets was created with collaboration in mind and makes it


easy to share worksheets, grant edit access, and collaborate in
real-time. While Excel Online has come out with similar
collaboration features, they don't run as smoothly compared to
Google Sheets.
 Google Sheets recently updated its cell limit to 10 million, but it still
pales in comparison to Excel's 17 billion cells per spreadsheet.
That makes Excel the better tool for dealing with big data. The
good news is that most of us aren't dealing with data sets that
large, so Google Sheets works just fine.
 Excel has more powerful formulas and data analysis features,
including built-in statistical analysis tools and extensive data
visualization options. Google Sheets offers the "lite" version of
most of those features, but it's nowhere near as in-depth.
Overview: Must-know Google Sheets terms

To kick things off, let's cover some spreadsheet terminology you'll need to
know when using Google sheets:

 Cell: A single data point or element in a spreadsheet


 Column: A vertical set of cells
 Row: A horizontal set of cells
 Range: A selection of cells extending across a row, column, or both
 Function: A built-in operation from the spreadsheet app you'll use
to calculate cell, row, column, or range values, manipulate data,
and more
 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
 Spreadsheet: The entire document containing your worksheets

1. How to create a spreadsheet

There are four ways to create a new spreadsheet in Google Sheets:

Option 1: Click the multi-colored "+" button on your Google Sheets


dashboard.
Option 2: Open the menu from within a spreadsheet and
select File > New > Spreadsheet.

Option 3: Click the multi-colored New button on your Google Drive


dashboard and select Google Sheets > Blank spreadsheet.
Option 4: Type "sheets.new" into your browser.

This will create a new blank spreadsheet (or a populated template if you
choose one of those; for this Google Sheets 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.
2. How to add data to your spreadsheet

Look around the white and gray grid that occupies most of your screen,
and the first thing you'll notice is a blue outline around the selected cell or
cells.

When you open a new spreadsheet, if you just start typing, you'll see that
your data starts populating the top-left cell immediately. There's no need
to double-click cells when you add information, and not much need to use
your mouse.

An individual square in a spreadsheet is called a cell; they're organized


into rows and columns with number and letter IDs, respectively. Each cell
should contain one value, word, or piece of data.

Feel free to select any cell you'd like, then go ahead and type something
in. When you finish entering data into a cell, you can do one of four
things:
1. Press Enter / return to save the data and move to the beginning
of the next row.
2. Press Tab to save the data and move to the right in the same row.
3. Use the arrow keys on your keyboard (up, down, left, and right) to
move one cell in that direction.
4. Click any cell to jump directly to that cell.

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:

1. Copy and paste a list of text or numbers into your spreadsheet.


2. Copy and paste an HTML table from a website.
3. Import an existing spreadsheet in CSV, XLS, XLSX, and other
formats.
4. Copy any value in a cell across a range of cells via a click and
drag.

How to copy and paste data

Make your Google Sheets work for you


Automate Google Sheets

Copy and 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. To
avoid pulling your hair out, 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. Here's a video showing how to copy and
paste data in Google Sheets.
If you do end up with oddly formatted data, don't worry: we'll fix that in the
next section!

How to import a file

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 File > Import > Upload. Here's
a quick video tutorial to demonstrate how.

I prefer to import the data into a new sheet every time to keep my old data
and newly 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.

How to autofill data

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 tasks:
1. Copying a cell's data to neighboring cells (including formatting)
2. Copying a cell's formula to neighboring cells
3. Creating an ordered list of text data

Here's an example of how creating an ordered list might work. Try adding
the text "Contestant 1" to Cell A1, then click and drag 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 either copied, pasted, imported, or typed in a good
chunk of data, and your spreadsheet looks pretty healthy.

Now, how can we use this data?

In addition to the methods I reviewed above, there are even more ways to
manually and automatically import data into Google Sheets.
3. How to edit and format data for easy viewing

Whether you're tracking expenses, recording grades, or creating your to-


do list, you'll want to manipulate and format your data.

How to use the Google Sheets toolbar

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.

Functions like printing, undo/redo, font settings, and font styling work
similarly to what you'd expect from your favorite word processor.

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
three-minute video about pouring cereal into a bowl?).
For the simple example above, a lack of significant formatting is just ok. 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.

How to freeze rows and columns

Working off the same spreadsheet, 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:

1. Click View > Freeze > 1 row in the navigation bar to lock the first
row in place.
2. Hover over the dark gray bar in the top-left of the spreadsheet
(until it becomes a hand), and drag between rows 1 and 2.
Freezing my header row is the first thing I do in every sheet I make.

How to hide rows and columns

Now say, for example, that you ran out of bread, so French toast is no
longer an option. To temporarily hide that column from your list, you'll
right-click Column C and then click Hide column.

How to format text


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):

1. Drag to select the cells you want to format


2. Bold the text
3. Increase font size to 12pt
4. Center-align the whole row
5. Give your cells a gray fill

The next thing I'll do to clean this up a bit is format my "Average Price /
Serving" to be a dollar value. Highlight the row, and then click the dollar
sign icon to display the selected cells as a dollar amount rather than a
regular number.

How to add a sheet

Now, let's say you wanted to make a similar list for breakfast and dinner.
Instead of creating a whole new spreadsheet, click the "+" button in the
bottom left corner to add additional sheets.
4. How to use formulas in Google Sheets

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. 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 dropdown menu from the top navigation.
You can click a formula to add it to a cell, or you can start typing any
formula with an equal (=) sign in a cell, followed by the formula's name.
Sheets will autofill or suggest formulas based on what you type, so you
don't need to remember every formula.

The most basic formulas in Sheets include:

 SUM: adds up a range of cells (e.g., 1+2+3+4+5 = sum of 15)


 AVERAGE: finds the average of a range of cells (e.g., 1, 2, 3, 4, 5 =
average of 3)
 COUNT: counts the values in a range of cells (e.g., 1, blank, 3, 4, 5
= 4 total cells with values)
 MAX: finds the highest value in a range of cells (e.g., 1, 2, 3, 4, 5 =
5 is the highest)
 MIN: finds the lowest value in a range of cells (e.g., 1,2,3,4,5 = 1 is
the lowest)
We'll explore these formulas by improving our breakfast spreadsheet.

SUM formula
=SUM(range)

Let's start by 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:

1. Select a range, then click the formula (this will put the result either
below or to the side of the range).
2. Select the result cell (i.e., the cell where you want the result to
appear), then click on the formula you want to use from the
toolbar. Finally, select the range of cells to perform your operation
on.
3. Type the formula into the result cell (don't forget the = sign), then
either manually type a range or select the range.

I'll demonstrate all three methods in a video tutorial here. 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 that
will sum together. Finally, I'll demonstrate typing a formula and range
manually. When you're done selecting the cells that you want to add
together, press Enter / return.
Now that there's a formula set up to sum all of the ingredients together,
you can select the formula cell and drag the blue dot across the other
cells to copy the formula to those cells.

COUNT formula
=COUNT(range)

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
COUNT formula. 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 SUM row.
Watch a tutorial here.

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?

Now, I'm going to refine my decision by figuring out the average cost per
serving of the breakfast choices by using the AVERAGE formula.

AVERAGE formula
=AVERAGE(range)
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.

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'll drag the formula down to apply it to the rest of the
list. Watch how here.

I'll label my column "Average Unit Cost," so we know what we're looking
at.

MIN formula

Let's say I wanted to determine what the cheapest price per unit is of the
options. While you could easily just look at the chart and pick it out, this
formula is very helpful for large data sets and will save you from scrolling
endlessly. See how I use this formula here.

MAX formula

Similarly, if I wanted to determine what the most expensive price per unit
is of the options, I would use the MAX formula. See how I use this
formula here.

Once you have the hang of the formulas above, there are plenty of other Google
Sheets functions to learn.
5. Additional Google Sheets tutorials and tips

Now that you know how to create a spreadsheet, import data, and use
formulas, I'm going to walk you through some additional tips.

How to create a pivot table

A pivot table is a helpful way to analyze and visualize data. To create a


pivot table, follow these steps:

1. Navigate to Insert > Pivot table.


2. In the pivot table editor, add your chosen row and column values.
3. Next to Values, click Add, and select your desired value from the
dropdown menu (you could also choose from one of the
suggested pivot table options).

In the example here, I created a faux data set and used a pivot table to
show the average training scores of each department.

In addition to this quick tutorial, there are many different ways to build and
use pivot tables in Google Sheets.

How to use shortcuts to save time

When using Google Sheets, shortcuts can help you save time and work
faster. I've listed some of my most-used shortcuts below.

Command Shortcut

Cut Control + X / command + X

Copy Control + C / command + C


Command Shortcut

Paste Control + V / command + V

Undo Control + Z / command + Z

Redo Control + Y / command + Y

Select an entire row Shift + Spacebar

Select an entire column Control + Spacebar / command + Spacebar

How to create charts and graphs

An important step of data analysis is visualizing your data, and Google


Sheets can help you do just that using charts and graphs. Simply highlight
the essential data and click Insert > Chart. A chart will be created, and
you can edit it as you like from the sidebar.

You can play around with the different chart types and find the one that
works best for your data set.
Zapier lets you automatically generate charts and reports in Google Sheets.

How to share, protect, and move your 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 made it a seamless experience.

Here's how it works:

 Click either File > Share or use the green Share button in the top-
right.
 Enter emails of who can view or edit your spreadsheet.
 Select any other privacy options and hit Done.

Once you add people to share with, you can either give them viewing,
commenting, or editing access. You can also add an expiration date if
you're only accepting comments for a limited time.
In addition to sharing with specific people, you can also give general
access to anyone in your organization or anyone with the link.

Sharing spreadsheets with your devices and apps

Even though Google Sheets is 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:

1. Google Sheets mobile apps. You can use the Google Sheets mobile
app to view and edit your spreadsheets, share links on the go, and
add users. It's a solid companion to—but not a replacement for—
the web app.
2. Google Drive. Google Drive allows you to easily upload files from
your local desktop environment to your online Drive. This makes
them accessible to your collaborators and also allows you to
quickly import them into spreadsheets and other documents.
3. A third-party tool like Zapier. You can use Zapier to automatically
add data to your spreadsheets, send files to your Google Drive
account, alert you of changes to your Sheets—you name it.
Check out Zapier's Google Sheets integration page for more information on supported
data and triggers.

How to download data


If you need to send your files to external collaborators, upload a file into
another system, or just like having backups, then turn to one of Google
Sheets' many data export options.

The most common exports will be either XLS (Excel document), PDF, or
CSV (comma separated values). If you're not sure which format to use, a
CSV is usually the best bet.

Use your spreadsheet in offline mode

Google Sheets has an offline mode that automatically syncs 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:

1. Google Chrome
2. Google Drive Chrome Web App
3. Google Drive Sync

Instructions for setting up your offline sync are really straightforward, but the
bulk of the process is just downloading and using the three core
components above.

Navigate to File > Make available offline to turn it on.

And just like that, you can use Google Sheets even when you're offline—
no WiFi necessary.

Learn another fun Google Sheets tip: How to add a dropdown list in Google Sheets

7. Bonus: How to automate Google Sheets using


Zapier
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.

Once you get the hang of Google Sheets, use Zapier to automate specific
tasks like savings URLs, creating Google Calendar events, and more.
Depending on your industry, there are other super specific things you can
do like:

 Automatically add subscribers to Mailchimp from Google Sheets


 Automatically update inventory
 Connect Google Sheets to any app with webhooks
 Automatically save Shopify orders to a Google Sheet

And with everything stored in Google Drive, you'll never worry about
losing your files again—even if your computer dies.

This article was originally published by Michael Grubbs in July 2016. The
most recent update was in March 2023.

Funciones

Importar datos
IMPORTRANGE: Carga datos de otra hoja de cálculo directamente en una pestaña
de tu hoja de cálculo.
IMPORTDATA: Carga datos directamente en una pestaña de tu hoja de cálculo
desde un enlace de descarga .csv o .tcv.

Filtrar datos
FILTER: Filtra datos según uno o más criterios.

QUERY: Filtra (¡y también hace mucho más!) datos utilizando el lenguaje de
consulta de Google (muy similar a SQL).

UNIQUE: Muestra en un vistazo todos los valores únicos en un rango.

Limpiar Datos
LEFT / RIGHT + LEN: Te permite eliminar un texto colocado al principio o al final
del texto en un rango de celdas.

Ejemplo (end of text): LEFT(text_to_process; NBCAR(text_to_process)-


Nb_characters_texttodelete)

SUBSTITUTE: Permite sustituir un texto por otro cualquiera que sea su lugar.

YEAR , MONTH , DAY , WEEKNUM , TODAY: Funciones de fecha útiles.

DATEDIF: Calcula la diferencia entre 2 fechas según una unidad de tiempo (día,
mes, semana, etc.).

DATEVALUE: Convierte texto al formato Date.

VALUE: Convierte el texto al formato Number.

Analizar datos
VLOOKUP: Busca un valor determinado en la primera columna de un rango
determinado y devuelve el valor de una columna determinada en la misma fila.

MATCH: Busca el número de fila o columna de un valor en un rango de valores.

INDEX: Devuelve el valor correspondiente a un número de fila y columna de un


rango de datos.

GETPIVOTDATA: Devuelve datos de una tabla dinámica.


Si deseas obtener más información sobre Google Sheets:

Google Sheets BABA: https://support.google.com/a/users/answer/9300022

La lista de funciones de Google


Sheets: https://support.google.com/docs/table/25273

Atajos de teclado: https://support.google.com/docs/answer/181110?


co=GENIE.Platform%3DDesktop&hl=en

Otra lista con ejemplos


prácticos: https://infoinspired.com/google-docs/spreadsheet/google-sheets-
function-guide/

IMPORTAR DATOS EN GOOGLE SHEETS

Manualmente: importar un csv


Cualquiera que haya usado Google Sheets sabe cómo abrir un archivo, así que
sigamos adelante.

Para un archivo CSV (valores separados por comas), que a menudo será tu “materia
prima” para tus análisis de datos, debes saber lo siguiente:

 Si importas tu archivo a tu Google Drive y lo abres usando Google Sheets,


automáticamente separará los datos (Google Sheets 1 - Excel 0)
 Si copias y pegas tus datos directamente en una hoja de cálculo ya abierta,
debes separar los valores tú mismo
Mediante la opción automática que nos proponen al pegar,

o mediante la función “Dividir texto en columna” de la columna de datos.


Importación automatizada
Google Sheets se vuelve realmente interesante cuando se trata de importar datos:
1) automatizar la importación y 2) recuperar datos de Internet.

De hecho, existen varias funciones exclusivas de Google Sheets que te permiten


importar directamente tus datos a una pestaña.

La función IMPORTRANGE
Descripción: La función IMPORTRANGE te permite cargar datos directamente
desde otra hoja de cálculo en una pestaña de la tuya.

Sintaxis: IMPORTRANGE(“url_spreadsheet”;”tab_name!cell_start:cell_end”)

Descripción detallada: https://support.google.com/docs/answer/3093340?hl=en

Nota: Ten cuidado. Es posible que veas un error la primera vez que uses la fórmula
porque debes “asociar” (=dar acceso) la hoja de cálculo de importación con la hoja
de cálculo que recibe los datos.
Ejemplo
Aquí, importamos las primeras 100 filas de las columnas A a P de la pestaña
“node_human_cours_excel” de una hoja de cálculo cuya URL se detalla en la
fórmula.
La gran ventaja de este sistema es que si modificas datos en la hoja de cálculo
original, ¡la actualización se realizará automáticamente en tu nueva hoja de cálculo!
Por ejemplo, si eliminamos la línea 7 de nuestro archivo original, desaparece
automáticamente en mi archivo:

La función IMPORTDATA
Descripción: La función importdata te permite descargar un archivo .csv o .tsv
(valores separados por tabulaciones) desde una URL, abrirlo y separarlo en
columnas listas para usar, directamente en tu hoja de cálculo.

Sintaxis: IMPORTDATA(“url_download_csv”)

Descripción detallada: https://support.google.com/docs/answer/3093335

Nota: Es muy útil si estás trabajando con datos donde puedes recuperar URLs de
descarga de csv (lo que es común en muchas herramientas de marketing en la
nube, por ejemplo) porque si la URL no cambia pero los datos se actualizan,
puedes importar datos fácilmente para manipularlos de forma completamente
automatizada.

Ejemplo: Tomemos el ejemplo de la herramienta Phantombuster


( https://phantombuster.com/ ) que permite crear automatizaciones en LinkedIn,
Instagram, Twitter, entre otras. Podrás recuperar un enlace de descarga .csv del
resultado de tus automatizaciones y así, gracias a IMPORTDATA, cargar estos datos
directamente en tu hoja de cálculo.

Obtenemos la URL de descarga de csv en la herramienta Phantombuster.

Con la función IMPORTDATA podemos cargar el resultado de nuestras


automatizaciones en una hoja de cálculo.
Estas dos funciones te serán muy útiles si quieres automatizar la actualización de
tus tableros de comando o tus listas de prospección.
Puedes agregar columnas a la derecha de la última columna (o a la izquierda de la
primera), pero:

 No insertes una columna en el medio porque la función dejará de funcionar


inmediatamente
 No agregues una línea debajo de la última línea.

Las funciones que recuperan datos fuera de la hoja de cálculo se actualizan con la
siguiente frecuencia:

 Import Range: 30 minutos


 ImportHtml, ImportFeed, ImportData, ImportXml: 1 hora
 GoogleFinance: retraso de hasta 20 minutos

EXPLORAR Y LLIMPIAR DATOS

¿Cómo limpiamos el texto?


Manualmente: reemplazar partes del texto

Nada podría ser más simple: solo basta con usar la función Buscar y reemplazar de
Google Sheets (atajo: ctrl + h en Windows /⌘+Shift+h en Mac).

Selecciona el rango donde ser realizará la operación.

Ctrl (o comando + mayúsculas) + h. Luego elige el texto que deseas reemplazar y


con qué. En nuestro ejemplo queremos eliminar “UTC” y reemplazarlo con “”.
¡Y listo!
De forma automatizada

La función SUBSTITUTE

Descripción: La función SUBSTITUTE sirve para sustituir un texto por otro


cualquiera que sea su lugar.

Sintaxis: SUBSTITUTE(text_to_search; search_for; replace_with)

Descripción detallada: https://support.google.com/docs/answer/3094215?hl=en

Ejemplo:
¡El mismo ejemplo con la función =SUBSTITUTE(G2;” UTC”;””), el mismo resultado!

Las funciones LEFT/RIGHT y LEN

Si los cambios que deseas realizar están al principio o al final de tus celdas, puedes
usar una combinación de LEFT/RIGHT(text; starting_character_number) y LEN (text).

Descripción: Las funciones LEFT/RIGHT devuelven la parte izquierda (o derecha) de


un texto dentro del límite de un número de caracteres definidos en la función.
La función LNBAR cuenta el número total de caracteres de un texto.

La combinación de los 2 permite eliminar un texto colocado al principio o al final


del texto en un rango de celdas.

Sintaxis:

Para eliminar caracteres al principio del texto:

RIGHT(text_to_process; LEN(text_to_process)- Nb_characters_txt_to_delete)

Para eliminar caracteres al final del texto:

LEFT(text_to_process; LEN(text_to_process)- Nb_characters_text_to_delete)

Descripción detallada:

https://support.google.com/docs/answer/3094079?hl=en

https://support.google.com/docs/answer/3094087?hl=en

https://support.google.com/docs/answer/3094081?hl=en

Ejemplo:

Como “UTC” + el espacio anterior tiene 4 caracteres, puedo eliminarlo fácilmente


con la función =LEFT(G2;LEN(G2)-4)
Concatación

¿Quieres “fusionar” 2 celdas de texto? Nada podría ser más sencillo: basta con
utilizar el signo “&”. Por ejemplo: si deseas crear una columna de “primer nombre y
apellido”, solo tienes que ingresar “primer nombre” & “apellido”.

También existe la función CONCATENATE:

=CONCATENATE( “Text 1” ; “Text 2” ;(…))

https://support.google.com/docs/answer/3094123?hl=en

Cómo cambiar el formato de celda

¿Por qué es esto importante?

Cualquiera que sea la configuración (SQL, Python, Google Sheets…), el formato de


tus datos juega un papel muy importante en todo análisis de datos. De hecho, si
Google Sheets no reconoce el formato de tu celda como fecha, por ejemplo:

 No podrás utilizar ninguna función de Fecha


 No podrás utilizar las opciones de formato de “fecha” para que tus datos
sean más fáciles de leer
 No podrás utilizar opciones de agrupación de fechas en tus tablas
dinámicas.

Y cuando Google Sheets no reconoce el formato de tu teléfono celular, muchas


veces será porque está en formato de texto. Afortunadamente, existen funciones
que te permiten “convertir” tu texto al formato correcto.

La función DATEVALUE

Descripción: La función DATEVALUE convierte un texto que contiene una fecha


(reconocida por Google) al formato.

Sintaxis: =DATEVALUE( “text” )

Descripción detallada: https://support.google.com/docs/answer/3093039?hl=en

Ejemplo:

=DATEVALUE(SUBSTITUTE( G2 ; “ UTC” ; “” ))

Cada fecha tiene un “número” equivalente para las hojas de cálculo. Entonces, si no
modificas el formato de las celdas, esto es lo que te dará .
Encontramos muchas fechas “clásicas” una vez modificado el formato:
La función VALUE

Descripción: La función VALUE convierte una cadena de caracteres (también


conocida como string) en un número, en un formato de fecha, hora o número
reconocido por Google Sheets.

Sintaxis: =VALUE( “text” )

Descripción detallada: https://support.google.com/docs/answer/3094220?hl=en

Cómo manipular fechas

La función DATEDIF

Descripción: La función DATEDIF se utiliza para calcular la diferencia entre 2 fechas


según una unidad de tiempo específica (día, mes, año, etc.).

Sintaxis: =DATEDIF( start_date ; end_date ; “ unit” )

Descripción detallada: https://support.google.com/docs/answer/6055612

Ejemplo:
=DATEDIF ( I2 ;TODAY(); “M” )
Otras funciones de fecha importantes

YEAR: https://support.google.com/docs/answer/3093061

MONTHS: https://support.google.com/docs/answer/3093052

DAY: https://support.google.com/docs/answer/3093040

WEEK NUMBER: https://support.google.com/docs/answer/3294949?hl=en

DATE: https://support.google.com/docs/answer/3092969

TODAY: https://support.google.com/docs/answer/3092984

NOW: https://support.google.com/docs/answer/3092981

Los enlaces hacen referencia a las funciones en inglés, pero los nombres en español
funcionan bien: https://support.google.com/docs/table/25273 (ver la función date).

Has importado tus datos a Google Sheets y los limpiaste para que ahora sean
utilizables. Ahora puedes pasar a la fase de análisis que te permitirá sacar (o no,
esto también sucede muy a menudo) conclusiones.
Ten en cuenta que, en la práctica, la exploración y el análisis de datos no siguen
este patrón lineal:
importar > limpiar > analizar

De hecho, a menudo notas un problema que requiere “limpieza” al analizar los


datos, o incluso durante el análisis te das cuenta de que te faltan datos para
importar. Entonces, el esquema práctico se parece más a: importar > analizar >
limpiar > analizar > limpiar > analizar > importar > limpiar > analizar…

Funcionalidad del explorador


Antes de entrar en detalles, es importante que sepas que Google Sheets tiene una
función de exploración y análisis muy práctica llamada explore.

Esta característica te generará automáticamente lo siguiente:

 Tablas dinámicas que parecen relevantes para Google Sheets


 Gráficos
 Sugerencias de diseño, entre otras cosas.

Realmente está muy bien hecho y si no estás seguro de dónde buscar, es una
buena base para trabajar, pero si realmente deseas explorar los datos, tendrás que
hacerlo tú mismo.
Realmente está muy bien hecho y si no estás seguro de dónde buscar, es una
buena base para trabajar, pero si realmente deseas explorar los datos, tendrás que
hacerlo tú mismo.

VLookup
Imagina que tienes las siguientes 2 tablas a tu disposición.
Un array node_user con el identificador único de cada uno de tus usuarios y su
fecha de registro.
Una tabla con este mismo identificador único y la fuente de adquisición de cada
uno de los clientes.

Te gustaría “fusionar” estas tablas para obtener el siguiente resultado:


¡Usemos VLOOKUP en la celda “source”!

=VLOOKUP(node_id;Sources table;2;FALSE)

VLOOKUP guardará el valor para buscar (el primer argumento de la fórmula) en el


array inicial.

Buscará este valor en la primera columna de la tabla con los orígenes (la tabla de
búsqueda). Este es el segundo argumento de la función.
Una vez que encuentre el valor buscado, devolverá el valor de la fila
correspondiente de la columna especificada en la fórmula (el tercer argumento).
¡Y listo!

Sintaxis
VLOOKUP(value_to_find;table_to_search;column_number_of_value_to_return;FALSE)
N.B.: Te recomendamos que establezcas siempre el último parámetro en False
(incluso Google lo recomienda en la documentación).
Descripción detallada
https://support.google.com/docs/answer/3093318?hl=fr

Consejos

 Comprueba que el valor que estás buscando en table_where_to_search esté


efectivamente en la primera columna (de lo contrario, cortar/pegar será
suficiente)
 Para usar VLOOKUP con la función IFERROR(formula;value_if_error)
 Asegúrate de poner $ en los valores de tu table_where_to_search; de lo
contrario, cuando te desplaces hacia abajo en la fórmula, Google Sheets se
desplazará hacia abajo en la tabla de búsqueda y no encontrará nada.

Ejemplo
Tomemos otro ejemplo: acabamos de realizar una prueba A/B de campañas CRM
con usuarios de nuestro servicio en París el 5 de Enero y nos gustaría ver si hay
algunas diferencias en la reactivación entre los 2 grupos.
Disponemos de 2 orígenes de datos:

 Nuestra ficha de cliente (ya estudiada en los ejemplos anteriores)


 Nuestro archivo CRM (dónde está la información sobre la prueba A/B).

La columna “pivote” es node_id y está en la primera posición de mi tabla de


búsqueda:
Usando VLOOKUP, esto daría:

Ahora tenemos en nuestra muestra de usuarios la información de quién recibió qué


rama de la prueba A/B. Por lo tanto, podríamos rehacer una tabla dinámica en esta
muestra (#inception) para analizar las diferencias de comportamiento entre las dos
poblaciones.
HLookup
La función HLookup funciona “al revés”: buscará un valor en la primera fila de tu
tabla y devolverá el valor del número de fila dado en la fórmula en la misma
columna. Dada la forma en que se crean la mayoría de los arrays, se usa menos que
VLOOKUP.
Sintaxis: HLOOKUP(value_to_find;table_to_find;line_number_of_value_to_return;FAL
SE)
Descripción detallada: https://support.google.com/docs/answer/3093375?hl=fr

Tablas Dinámicas
Es una de las herramientas más útiles para la exploración de datos/creación de
tablas de Google Sheets (y Excel obviamente).

Te permiten sintetizar datos sin procesar agregándolos (los “valores”) a lo largo de


dimensiones (las “filas” y “columnas”) y filtrándolos a través de otras dimensiones
(“los… filtros”).

De este modo podrás conocer muy rápidamente el número de valores, el número


de valores únicos, las medias, las desviaciones estándar y otras variaciones de sus
muestras, según todas las características disponibles en tu tabla.

Para crear una tabla dinámica, comienza seleccionando los datos sin procesar que
deseas analizar.
Luego selecciona “Tabla dinámica” en “Datos”.

Y confirma el rango de datos sin procesar que deseas analizar y la ubicación de la


tabla dinámica.
¡Ya tienes tu Tabla Dinámica! Incluso si está vacía.

Recuerda que Google Sheets te ofrece sugerencias de configuración (no muy


relevantes aquí).
Ahora puedes utilizar cada una de las columnas de tus datos sin procesar como
filas, columnas, valores o filtros de tu tabla dinámica.
La creación de tu tabla dinámica siempre debe comenzar con los “valores”, que son
literalmente los cálculos que deseas realizar con tus datos.
Supongamos que queremos calcular la cantidad de nuevos suscriptores por
semana con nuestro conjunto de datos. Todos nuestros suscriptores tienen
identificadores únicos (node_id) y una fecha de registro (member_at):

 Debes elegir sobre qué columna quieres realizar la operación: en nuestro


caso: node_id
 Calcular el número de nuevos suscriptores = contar los identificadores
únicos, entonces elegimos la fórmula COUNTUNIQUE.

Aquí tenemos el número total de usuarios de nuestra muestra.


Todo lo que tienes que hacer es elegir resumir este cálculo por fecha de
member_at.

El problema aquí es que con el formato de los datos actuales (las fechas incluyen
horas), obtenemos poca información de ellos.
Tendríamos que agrupar las fechas por mes.
Esto es posible haciendo clic derecho en las fechas y eligiendo crear un grupo de
fechas “año-mes-día”.

Ahora puedes ver estos nuevos inscritos día a día por ciudad agregándolos en una
columna.
E incluso puedes explorar específicamente los datos de los 360 inscritos desde el 7
de Enero en París para ver quiénes son haciendo clic en “Mostrar los detalles”.

Tienes la alternativa de utilizar las ciudades como filtro para mostrar solo los
inscritos de París durante el período.
Si quieres hacer cálculos un poco más elaborados, debes utilizar los campos
calculados.

Si, por ejemplo, queremos ver la proporción del segmento 4 entre nuestros
inscritos día a día en París, tendríamos que utilizar un campo calculado.
De hecho, ya ves en nuestra pantalla el número de inscritos día a día para todos los
segmentos combinados en París y podríamos ver el número del “segmento 4” en
esta misma muestra filtrando, pero es imposible conciliar sus vistas sin un campo
calculado.

Ten en cuenta que puedes utilizar las funciones más simples de Google Sheets en
tus campos calculados.

La tabla dinámica es, por tanto, la herramienta ideal para un primer análisis de una
muestra de datos porque permite sintetizar grandes volúmenes de datos con
funciones sencillas y segmentarlos.

You might also like