SlideShare a Scribd company logo
1 of 26
Download to read offline
REALLY
SIMPLE
COHORT
ANALYSIS*

in Google Sheets

Hugh Hopkins (@hughhopkins) + GoSquared
“Total Sign Ups” is
just a vanity metric.
It doesn’t help you
understand how your
business is
performing.
To really understand
how your business is
performing you need
to use cohorts.
So, what is Cohort Analysis?
Cohort analysis allows you to study a group of people/users who share the
same characteristic, i.e. the same sign up week, and see how they perform
over time.
This enables businesses to compare the effectiveness of a marketing
campaign, a new feature or the impact of increasing prices. Being able to do
this quickly for almost any metric can transform your business.
The cohort graph on the left
shows the number of users
who convert to a premium
plan. Within in seconds you
can see July saw a really low
number of conversions
whilst October saw the
highest.
But, calculating cohort
metrics can be really
complicated.
First, there are numerous ways of structuring the table.

https://blog.kissmetrics.com/wp-content/uploads/2012/10/cohort-report-1-sm.png
http://cdn.insideintercom.io/wp-content/uploads/2011/11/Cohort3-Full.jpg
http://www.saasoptics.com/SaaS-opedia/saas-opedia/MRR-Cohort/files/BIGmrr_cohort_subscription_metrics.png.png
Then there are even more ways of visualising it!

http://s3.amazonaws.com/custora-assets/assets/cohort_graph_B4.png
http://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Enwp-jan-cohorts-last-12-months--10-1-.png/600px-Enwp-jan-cohorts-last-12-months--10-1-.png
http://insideintercom.io/wp-content/uploads/2011/11/Cohort5-CyclePlot-Dull1.jpg
http://blog.recurly.com/wp-content/uploads/2013/07/Subscriber-Retention-by-Cohort.png
http://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Megabytes_added_to_EN_NS4,5.png/650px-Megabytes_added_to_EN_NS4,5.png
http://blog.mixpanel.com/wp-content/uploads/2009/02/media_httpblogmixpanelcomwpcontentuploads200902picture2png_DDwiEorhikJvqgf.png.scaled1000.png

!
The latest version of Google
Sheets added the =SUMIFS
formula making it easy* for
anyone to quickly create
meaningful cohort analysis.
5 Simple Steps
1. Enable the new Google Sheets at http://g.co/newsheets
2. Import your data.
3. Structure the data.
4. Create the formula and table.
5. Stand back in amazement with what you have just created.

Here’s one we made earlier…
You can find a working example of the Cohort Analysis here:
Google Sheets Working Example
Structuring The Data - Part 1
Regardless of your data format, you should have at least two columns
with dates in.
• The ‘Sign Up Date’ of that user (the bit which ties the user to a cohort)
• The ‘Event Date’ (i.e. upgraded to a premium subscription)
It will look something like this:

`User ID

Sign Up Date

Event Date

1 12/23/2013 17:53:30

12/23/2013 18:05:30

2 12/29/2013 0:30:05

1/12/2014 18:34:46

3 12/30/2013 19:22:23

1/3/2014 22:14:40
Structuring The Data - Part 2
Convert the date format to UNIX to avoid any potential formatting
errors. To do this, simply create another column and use the following
formula: =(A2-“1/1/1970”)*60*60*24. To convert UNIX to a normal
timestamp use: =A2/(60*60*24)+”1/1/1970 00:00:00.
Now all you need to do is set up the formula to compare the two dates
and return the number of users that match the search criteria.

`User ID

Sign Up Date
1

12/23/2013
17:53:30

Event Date
12/23/2013
18:05:30

2 12/29/2013 0:30:05 1/12/2014 18:34:46
3

12/30/2013
19:22:23

1/3/2014 22:14:40

Sign Up Date (UNIX)

Event Date (UNIX)

1387821210

1387821930

1388277005

1389551686

1388431343

1388787280

Working Example
Creating The Table - Part 1
The way in which you build your table will alter the final graph. A simple
set up in Google Sheets is to have the rows as the cohort (i.e. the user
segmented by the sign up date) and the column with the time period (i.e.
what happened to that cohort in that particular month).
Deciding to structure it in chronological order or pinning it to the same
starting point will alter the shape of your graph. Ultimately it depends on
what you are trying to visualise and toggling between views will help.
The Individual cohorts

Time Period (what
that cohort did in
that month)
Creating The Table - Part 2
For example:

1370044801
1370044801

July

1375304287

August

1375304287

June

1372674544

1372674544

14

26

In this cell, I want to find the number of users who “Signed Up” during the
period 1370044801 - 1372674544 and who also upgraded to a premium
plan in July.
How to use the formula
The SUMIFS formula sums the range depending on multiple
criteria. This is how it works:
=SUMIFS(sum_range, criteria_range1, criterion1, [criteria_range2,
criterion2, …])
And in plain english that means:
sum_range = The column to be added together
criteria_range1 = The search criteria area / range
criterion1 = The search term
criteria_range2 & criterion2 = Allow you to repeat with as many
conditions as you like
Your Formula will end up
looking something like this:
!

The Sum Range

The search criteria area / range

=SUMIFS('Data'!$F$2:$F$625,'Data'!$D$2:$D$625,">"&
$C$1,'Data'!$D$2:$D$625,"<"&$D$1,'Data'!$E$2:$E
$625,">"&A7,'Data'!$E$2:$E$625,"<"&A8)
The search criteria

to use the more
than, less than
operators you will
need to type: ">"&
Working Example
* OK, maybe I lied, it’s a little complicated
Your cohort table should end
up looking something like this:
All you have to do next is insert the graph!
Voila, simple cohort analysis!
!

One more time, just to be clear

=SUMIFS('Data'!$F$2:$F$625,'Data'!$D$2:$D$625,">"&$C
$1,'Data'!$D$2:$D$625,"<"&$D$1,'Data'!$E$2:$E
$625,">"&A7,'Data'!$E$2:$E$625,"<"&A8)

The above formula goes through the data on
the right to see if a row of data matches two
conditions, the “Sign Up” date and “Event
Date” and then returns the total. Simply fill out
the table below with the cohorts, hit the graph
button and your done!
Taking it up a notch
Half the battle is visualising your
cohort data. The graphs on the left show
how the same data can be altered by
changing the values from absolute to
percentages. You can make the graphs
easier to read by showing cumulative
values.
In addition, altering the cohort period
from monthly, to weekly, or even daily, will
provide greater insight (provided there
are enough numbers).
Little Tips
-

This is only really effective for quick cohort analysis, if
you’re wanting to do this regularly for multiple metrics
it’s best to get a developer involved and code it up.

-

Adding a config with a cell that sets the cohort length
will enable you to quickly give a different perspectives
on the same data by switching between weekly and
monthly cohorts.
Live Example Sheet

!

This has everything you need to get started and understand how
the cohorts are formed.
Enjoy!
You’ve been viewing

Really Simple Cohort Analysis
by

Hugh Hopkins (@hughhopkins) + GoSquared

More Related Content

What's hot

Boring to Bold: Presentation Design Ideas for Non-Designers
Boring to Bold: Presentation Design Ideas for Non-DesignersBoring to Bold: Presentation Design Ideas for Non-Designers
Boring to Bold: Presentation Design Ideas for Non-DesignersMichael Gowin
 
Navigate Sales Blindspots to Minimize Revenue Risk
Navigate Sales Blindspots to Minimize Revenue RiskNavigate Sales Blindspots to Minimize Revenue Risk
Navigate Sales Blindspots to Minimize Revenue RiskLinkedIn Sales Solutions
 
How To Calculate Your Rate
How To Calculate Your RateHow To Calculate Your Rate
How To Calculate Your RateChris Do
 
Engineering Management for Early Stage Startups
Engineering Management for Early Stage StartupsEngineering Management for Early Stage Startups
Engineering Management for Early Stage StartupsAndreas Klinger
 
How Graphs are Changing AI
How Graphs are Changing AIHow Graphs are Changing AI
How Graphs are Changing AINeo4j
 
How To Be A Successful Entrepreneur
How To Be A Successful Entrepreneur How To Be A Successful Entrepreneur
How To Be A Successful Entrepreneur Motivate Design
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
Why Boards Matter: Building and Developing a World Class Board of Directors
Why Boards Matter:  Building and Developing a World Class Board of DirectorsWhy Boards Matter:  Building and Developing a World Class Board of Directors
Why Boards Matter: Building and Developing a World Class Board of DirectorsJim Citrin
 
24 Awesome Infographic Ideas to Inspire Your Next Beautiful Creation
24 Awesome Infographic Ideas to Inspire Your Next Beautiful Creation24 Awesome Infographic Ideas to Inspire Your Next Beautiful Creation
24 Awesome Infographic Ideas to Inspire Your Next Beautiful CreationPiktochart
 
Active listening worksheet
Active listening worksheetActive listening worksheet
Active listening worksheetOlga Sergeeva
 
People Don't Care About Your Brand
People Don't Care About Your BrandPeople Don't Care About Your Brand
People Don't Care About Your BrandSlides That Rock
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with DataSeth Familian
 
Startup Metrics, a love story. All slides of an 6h Lean Analytics workshop.
Startup Metrics, a love story. All slides of an 6h Lean Analytics workshop.Startup Metrics, a love story. All slides of an 6h Lean Analytics workshop.
Startup Metrics, a love story. All slides of an 6h Lean Analytics workshop.Andreas Klinger
 
Microsoft to Acquire LinkedIn: Overview for Investors
Microsoft to Acquire LinkedIn: Overview for InvestorsMicrosoft to Acquire LinkedIn: Overview for Investors
Microsoft to Acquire LinkedIn: Overview for InvestorsMicrosoft
 
25 Need-to-Know Marketing Stats
25 Need-to-Know Marketing Stats25 Need-to-Know Marketing Stats
25 Need-to-Know Marketing Statscontently
 

What's hot (20)

Intro to UX with Huge
Intro to UX with HugeIntro to UX with Huge
Intro to UX with Huge
 
Boring to Bold: Presentation Design Ideas for Non-Designers
Boring to Bold: Presentation Design Ideas for Non-DesignersBoring to Bold: Presentation Design Ideas for Non-Designers
Boring to Bold: Presentation Design Ideas for Non-Designers
 
Business Model Innovation Matters
Business Model Innovation MattersBusiness Model Innovation Matters
Business Model Innovation Matters
 
Navigate Sales Blindspots to Minimize Revenue Risk
Navigate Sales Blindspots to Minimize Revenue RiskNavigate Sales Blindspots to Minimize Revenue Risk
Navigate Sales Blindspots to Minimize Revenue Risk
 
How To Calculate Your Rate
How To Calculate Your RateHow To Calculate Your Rate
How To Calculate Your Rate
 
Engineering Management for Early Stage Startups
Engineering Management for Early Stage StartupsEngineering Management for Early Stage Startups
Engineering Management for Early Stage Startups
 
How Graphs are Changing AI
How Graphs are Changing AIHow Graphs are Changing AI
How Graphs are Changing AI
 
How To Be A Successful Entrepreneur
How To Be A Successful Entrepreneur How To Be A Successful Entrepreneur
How To Be A Successful Entrepreneur
 
The Minimum Loveable Product
The Minimum Loveable ProductThe Minimum Loveable Product
The Minimum Loveable Product
 
6 Secrets of Master Presenters
6 Secrets of Master Presenters6 Secrets of Master Presenters
6 Secrets of Master Presenters
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
Why Boards Matter: Building and Developing a World Class Board of Directors
Why Boards Matter:  Building and Developing a World Class Board of DirectorsWhy Boards Matter:  Building and Developing a World Class Board of Directors
Why Boards Matter: Building and Developing a World Class Board of Directors
 
24 Awesome Infographic Ideas to Inspire Your Next Beautiful Creation
24 Awesome Infographic Ideas to Inspire Your Next Beautiful Creation24 Awesome Infographic Ideas to Inspire Your Next Beautiful Creation
24 Awesome Infographic Ideas to Inspire Your Next Beautiful Creation
 
Active listening worksheet
Active listening worksheetActive listening worksheet
Active listening worksheet
 
People Don't Care About Your Brand
People Don't Care About Your BrandPeople Don't Care About Your Brand
People Don't Care About Your Brand
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 
Startup Metrics, a love story. All slides of an 6h Lean Analytics workshop.
Startup Metrics, a love story. All slides of an 6h Lean Analytics workshop.Startup Metrics, a love story. All slides of an 6h Lean Analytics workshop.
Startup Metrics, a love story. All slides of an 6h Lean Analytics workshop.
 
GA4 LAND - Trendigital 2023
GA4 LAND - Trendigital 2023GA4 LAND - Trendigital 2023
GA4 LAND - Trendigital 2023
 
Microsoft to Acquire LinkedIn: Overview for Investors
Microsoft to Acquire LinkedIn: Overview for InvestorsMicrosoft to Acquire LinkedIn: Overview for Investors
Microsoft to Acquire LinkedIn: Overview for Investors
 
25 Need-to-Know Marketing Stats
25 Need-to-Know Marketing Stats25 Need-to-Know Marketing Stats
25 Need-to-Know Marketing Stats
 

Viewers also liked

Cohort analysis the basics
Cohort analysis   the basicsCohort analysis   the basics
Cohort analysis the basicsStephen Rapoport
 
Boost your customer acquisition & retention thanks to cohort analysis
Boost your customer acquisition & retention thanks to cohort analysisBoost your customer acquisition & retention thanks to cohort analysis
Boost your customer acquisition & retention thanks to cohort analysisUniversem
 
Space debris #scichallenge2017
Space debris #scichallenge2017Space debris #scichallenge2017
Space debris #scichallenge2017Nagy Edina
 
Le journal intime d'Emilie
Le journal intime d'EmilieLe journal intime d'Emilie
Le journal intime d'Emiliejdepelchin
 
【SQiP2016】楽天のアジャイル開発とメトリクス事例
【SQiP2016】楽天のアジャイル開発とメトリクス事例【SQiP2016】楽天のアジャイル開発とメトリクス事例
【SQiP2016】楽天のアジャイル開発とメトリクス事例Kotaro Ogino
 
geographyalltheway.com - IB Geography - Global Interactions: KOF Index of Glo...
geographyalltheway.com - IB Geography - Global Interactions: KOF Index of Glo...geographyalltheway.com - IB Geography - Global Interactions: KOF Index of Glo...
geographyalltheway.com - IB Geography - Global Interactions: KOF Index of Glo...Richard Allaway
 
Gerenciamento do Tempo
Gerenciamento do TempoGerenciamento do Tempo
Gerenciamento do TempoJairo Siqueira
 
リクルートはいかにして、ディープラーニング(深層学習)の導入を成功させたか
リクルートはいかにして、ディープラーニング(深層学習)の導入を成功させたかリクルートはいかにして、ディープラーニング(深層学習)の導入を成功させたか
リクルートはいかにして、ディープラーニング(深層学習)の導入を成功させたかRecruit Technologies
 
How to Organize a Great Hackathon with the Hackathon Canvas
How to Organize a Great Hackathon with the Hackathon CanvasHow to Organize a Great Hackathon with the Hackathon Canvas
How to Organize a Great Hackathon with the Hackathon CanvasMichel Duchateau
 
WordCamp ATL 2017 - SEO in 2017
WordCamp ATL 2017 - SEO in 2017WordCamp ATL 2017 - SEO in 2017
WordCamp ATL 2017 - SEO in 2017Mickey Mellen
 
Graph the Results
Graph the ResultsGraph the Results
Graph the ResultsJim Leivas
 
Building a Minimalist SaaS Company
Building a Minimalist SaaS CompanyBuilding a Minimalist SaaS Company
Building a Minimalist SaaS CompanyGoSquared
 
Meaningful Metrics for Startups
Meaningful Metrics for StartupsMeaningful Metrics for Startups
Meaningful Metrics for StartupsGoSquared
 
Selecting the right metrics for your startup
Selecting the right metrics for your startupSelecting the right metrics for your startup
Selecting the right metrics for your startupBalaji Viswanathan
 
Hotspot ALPHA Camp_Setting Course with Metrics
Hotspot ALPHA Camp_Setting Course with MetricsHotspot ALPHA Camp_Setting Course with Metrics
Hotspot ALPHA Camp_Setting Course with MetricsALPHA Camp
 
HOW TO USE COHORTS OF GOOGLE ANALYTICS
HOW TO USE COHORTS OF GOOGLE ANALYTICSHOW TO USE COHORTS OF GOOGLE ANALYTICS
HOW TO USE COHORTS OF GOOGLE ANALYTICSJoseph Rivera
 

Viewers also liked (20)

Cohort analysis the basics
Cohort analysis   the basicsCohort analysis   the basics
Cohort analysis the basics
 
Cohort Study
Cohort StudyCohort Study
Cohort Study
 
Boost your customer acquisition & retention thanks to cohort analysis
Boost your customer acquisition & retention thanks to cohort analysisBoost your customer acquisition & retention thanks to cohort analysis
Boost your customer acquisition & retention thanks to cohort analysis
 
Time: Past Present Future
Time: Past Present FutureTime: Past Present Future
Time: Past Present Future
 
Space debris #scichallenge2017
Space debris #scichallenge2017Space debris #scichallenge2017
Space debris #scichallenge2017
 
пр Общая информация про игру Го
пр Общая информация про игру Гопр Общая информация про игру Го
пр Общая информация про игру Го
 
Understanding Visible Signals
Understanding Visible SignalsUnderstanding Visible Signals
Understanding Visible Signals
 
Le journal intime d'Emilie
Le journal intime d'EmilieLe journal intime d'Emilie
Le journal intime d'Emilie
 
【SQiP2016】楽天のアジャイル開発とメトリクス事例
【SQiP2016】楽天のアジャイル開発とメトリクス事例【SQiP2016】楽天のアジャイル開発とメトリクス事例
【SQiP2016】楽天のアジャイル開発とメトリクス事例
 
geographyalltheway.com - IB Geography - Global Interactions: KOF Index of Glo...
geographyalltheway.com - IB Geography - Global Interactions: KOF Index of Glo...geographyalltheway.com - IB Geography - Global Interactions: KOF Index of Glo...
geographyalltheway.com - IB Geography - Global Interactions: KOF Index of Glo...
 
Gerenciamento do Tempo
Gerenciamento do TempoGerenciamento do Tempo
Gerenciamento do Tempo
 
リクルートはいかにして、ディープラーニング(深層学習)の導入を成功させたか
リクルートはいかにして、ディープラーニング(深層学習)の導入を成功させたかリクルートはいかにして、ディープラーニング(深層学習)の導入を成功させたか
リクルートはいかにして、ディープラーニング(深層学習)の導入を成功させたか
 
How to Organize a Great Hackathon with the Hackathon Canvas
How to Organize a Great Hackathon with the Hackathon CanvasHow to Organize a Great Hackathon with the Hackathon Canvas
How to Organize a Great Hackathon with the Hackathon Canvas
 
WordCamp ATL 2017 - SEO in 2017
WordCamp ATL 2017 - SEO in 2017WordCamp ATL 2017 - SEO in 2017
WordCamp ATL 2017 - SEO in 2017
 
Graph the Results
Graph the ResultsGraph the Results
Graph the Results
 
Building a Minimalist SaaS Company
Building a Minimalist SaaS CompanyBuilding a Minimalist SaaS Company
Building a Minimalist SaaS Company
 
Meaningful Metrics for Startups
Meaningful Metrics for StartupsMeaningful Metrics for Startups
Meaningful Metrics for Startups
 
Selecting the right metrics for your startup
Selecting the right metrics for your startupSelecting the right metrics for your startup
Selecting the right metrics for your startup
 
Hotspot ALPHA Camp_Setting Course with Metrics
Hotspot ALPHA Camp_Setting Course with MetricsHotspot ALPHA Camp_Setting Course with Metrics
Hotspot ALPHA Camp_Setting Course with Metrics
 
HOW TO USE COHORTS OF GOOGLE ANALYTICS
HOW TO USE COHORTS OF GOOGLE ANALYTICSHOW TO USE COHORTS OF GOOGLE ANALYTICS
HOW TO USE COHORTS OF GOOGLE ANALYTICS
 

Similar to Simple Cohort Analysis in Google Sheets

Developing a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourceDeveloping a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourcerelekarsushant
 
READ MEIf you need assistance using Excel, you can access a tutori.docx
READ MEIf you need assistance using Excel, you can access a tutori.docxREAD MEIf you need assistance using Excel, you can access a tutori.docx
READ MEIf you need assistance using Excel, you can access a tutori.docxmakdul
 
Agile Data Science 2.0: Using Spark with MongoDB
Agile Data Science 2.0: Using Spark with MongoDBAgile Data Science 2.0: Using Spark with MongoDB
Agile Data Science 2.0: Using Spark with MongoDBRussell Jurney
 
Agile Data Science 2.0
Agile Data Science 2.0Agile Data Science 2.0
Agile Data Science 2.0Russell Jurney
 
Google Data Studio_Building a User Journey Funnel with Google Analytics
Google Data Studio_Building a User Journey Funnel with Google AnalyticsGoogle Data Studio_Building a User Journey Funnel with Google Analytics
Google Data Studio_Building a User Journey Funnel with Google AnalyticsSilvia Alongi
 
Google Analytics for Beginners - Training
Google Analytics for Beginners - TrainingGoogle Analytics for Beginners - Training
Google Analytics for Beginners - TrainingRuben Vezzoli
 
John Warner MeasureFest 2018
John Warner MeasureFest 2018John Warner MeasureFest 2018
John Warner MeasureFest 2018John Warner
 
Stop Wasting Time! 5 Steps to Automate Your Google Analytics Reporting
Stop Wasting Time! 5 Steps to Automate Your Google Analytics ReportingStop Wasting Time! 5 Steps to Automate Your Google Analytics Reporting
Stop Wasting Time! 5 Steps to Automate Your Google Analytics ReportingClick Consult (Part of Ceuta Group)
 
4.Data-Visualization.pptx
4.Data-Visualization.pptx4.Data-Visualization.pptx
4.Data-Visualization.pptxPratyushJain37
 
Experiments and Results on Click stream analysis using R
Experiments and Results on Click stream analysis using RExperiments and Results on Click stream analysis using R
Experiments and Results on Click stream analysis using RPridhvi Kodamasimham
 
Intro to Financial Modeling - EI
Intro to Financial Modeling - EIIntro to Financial Modeling - EI
Intro to Financial Modeling - EIMartin Zych
 
Building the BI system and analytics capabilities at the company based on Rea...
Building the BI system and analytics capabilities at the company based on Rea...Building the BI system and analytics capabilities at the company based on Rea...
Building the BI system and analytics capabilities at the company based on Rea...GameCamp
 
Daily expenses tracker project ppt7.pptx
Daily expenses tracker project ppt7.pptxDaily expenses tracker project ppt7.pptx
Daily expenses tracker project ppt7.pptxssusere6f5a11
 
Five finger audit
Five finger auditFive finger audit
Five finger auditBertil Hatt
 
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]CARTO
 
6 tableau visualization tips to inspire your creative eyes
6 tableau visualization tips to inspire your creative eyes6 tableau visualization tips to inspire your creative eyes
6 tableau visualization tips to inspire your creative eyesGrazitti Interactive
 

Similar to Simple Cohort Analysis in Google Sheets (20)

Developing a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourceDeveloping a ssrs report using a ssas data source
Developing a ssrs report using a ssas data source
 
OM Analytics.pdf
OM Analytics.pdfOM Analytics.pdf
OM Analytics.pdf
 
READ MEIf you need assistance using Excel, you can access a tutori.docx
READ MEIf you need assistance using Excel, you can access a tutori.docxREAD MEIf you need assistance using Excel, you can access a tutori.docx
READ MEIf you need assistance using Excel, you can access a tutori.docx
 
Web analytics using R
Web analytics using RWeb analytics using R
Web analytics using R
 
Agile Data Science 2.0: Using Spark with MongoDB
Agile Data Science 2.0: Using Spark with MongoDBAgile Data Science 2.0: Using Spark with MongoDB
Agile Data Science 2.0: Using Spark with MongoDB
 
Agile Data Science 2.0
Agile Data Science 2.0Agile Data Science 2.0
Agile Data Science 2.0
 
Google Data Studio_Building a User Journey Funnel with Google Analytics
Google Data Studio_Building a User Journey Funnel with Google AnalyticsGoogle Data Studio_Building a User Journey Funnel with Google Analytics
Google Data Studio_Building a User Journey Funnel with Google Analytics
 
Google Analytics for Beginners - Training
Google Analytics for Beginners - TrainingGoogle Analytics for Beginners - Training
Google Analytics for Beginners - Training
 
John Warner MeasureFest 2018
John Warner MeasureFest 2018John Warner MeasureFest 2018
John Warner MeasureFest 2018
 
Stop Wasting Time! 5 Steps to Automate Your Google Analytics Reporting
Stop Wasting Time! 5 Steps to Automate Your Google Analytics ReportingStop Wasting Time! 5 Steps to Automate Your Google Analytics Reporting
Stop Wasting Time! 5 Steps to Automate Your Google Analytics Reporting
 
4.Data-Visualization.pptx
4.Data-Visualization.pptx4.Data-Visualization.pptx
4.Data-Visualization.pptx
 
Experiments and Results on Click stream analysis using R
Experiments and Results on Click stream analysis using RExperiments and Results on Click stream analysis using R
Experiments and Results on Click stream analysis using R
 
Piano rubyslava final
Piano rubyslava finalPiano rubyslava final
Piano rubyslava final
 
Intro to Financial Modeling - EI
Intro to Financial Modeling - EIIntro to Financial Modeling - EI
Intro to Financial Modeling - EI
 
Building the BI system and analytics capabilities at the company based on Rea...
Building the BI system and analytics capabilities at the company based on Rea...Building the BI system and analytics capabilities at the company based on Rea...
Building the BI system and analytics capabilities at the company based on Rea...
 
Daily expenses tracker project ppt7.pptx
Daily expenses tracker project ppt7.pptxDaily expenses tracker project ppt7.pptx
Daily expenses tracker project ppt7.pptx
 
Five finger audit
Five finger auditFive finger audit
Five finger audit
 
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
CARTO en 5 Pasos: del Dato a la Toma de Decisiones [CARTO]
 
Test data article
Test data articleTest data article
Test data article
 
6 tableau visualization tips to inspire your creative eyes
6 tableau visualization tips to inspire your creative eyes6 tableau visualization tips to inspire your creative eyes
6 tableau visualization tips to inspire your creative eyes
 

More from GoSquared

15 great customer service centres
15 great customer service centres15 great customer service centres
15 great customer service centresGoSquared
 
5 surprisingly simple ways to show customers you care
5 surprisingly simple ways to show customers you care5 surprisingly simple ways to show customers you care
5 surprisingly simple ways to show customers you careGoSquared
 
Inbound Marketing in 30 slides
Inbound Marketing in 30 slidesInbound Marketing in 30 slides
Inbound Marketing in 30 slidesGoSquared
 
Can real-time analytics give you the edge on Black Friday?
Can real-time analytics give you the edge on Black Friday?Can real-time analytics give you the edge on Black Friday?
Can real-time analytics give you the edge on Black Friday?GoSquared
 
The ultimate guide to maintaining product focus
The ultimate guide to maintaining product focusThe ultimate guide to maintaining product focus
The ultimate guide to maintaining product focusGoSquared
 
How to optimise TV advertising with real-time web analytics
How to optimise TV advertising with real-time web analyticsHow to optimise TV advertising with real-time web analytics
How to optimise TV advertising with real-time web analyticsGoSquared
 
20 Shopify landing pages that will inspire your next redesign
20 Shopify landing pages that will inspire your next redesign20 Shopify landing pages that will inspire your next redesign
20 Shopify landing pages that will inspire your next redesignGoSquared
 
Analytics 101 for startups
Analytics 101 for startupsAnalytics 101 for startups
Analytics 101 for startupsGoSquared
 
7 ecommerce trends in 2014
7 ecommerce trends in 20147 ecommerce trends in 2014
7 ecommerce trends in 2014GoSquared
 

More from GoSquared (9)

15 great customer service centres
15 great customer service centres15 great customer service centres
15 great customer service centres
 
5 surprisingly simple ways to show customers you care
5 surprisingly simple ways to show customers you care5 surprisingly simple ways to show customers you care
5 surprisingly simple ways to show customers you care
 
Inbound Marketing in 30 slides
Inbound Marketing in 30 slidesInbound Marketing in 30 slides
Inbound Marketing in 30 slides
 
Can real-time analytics give you the edge on Black Friday?
Can real-time analytics give you the edge on Black Friday?Can real-time analytics give you the edge on Black Friday?
Can real-time analytics give you the edge on Black Friday?
 
The ultimate guide to maintaining product focus
The ultimate guide to maintaining product focusThe ultimate guide to maintaining product focus
The ultimate guide to maintaining product focus
 
How to optimise TV advertising with real-time web analytics
How to optimise TV advertising with real-time web analyticsHow to optimise TV advertising with real-time web analytics
How to optimise TV advertising with real-time web analytics
 
20 Shopify landing pages that will inspire your next redesign
20 Shopify landing pages that will inspire your next redesign20 Shopify landing pages that will inspire your next redesign
20 Shopify landing pages that will inspire your next redesign
 
Analytics 101 for startups
Analytics 101 for startupsAnalytics 101 for startups
Analytics 101 for startups
 
7 ecommerce trends in 2014
7 ecommerce trends in 20147 ecommerce trends in 2014
7 ecommerce trends in 2014
 

Recently uploaded

8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?Olivia Kresic
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Seta Wicaksana
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...lizamodels9
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionMintel Group
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Timedelhimodelshub1
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 

Recently uploaded (20)

8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted Version
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Time
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 

Simple Cohort Analysis in Google Sheets

  • 1. REALLY SIMPLE COHORT ANALYSIS* in Google Sheets Hugh Hopkins (@hughhopkins) + GoSquared
  • 2. “Total Sign Ups” is just a vanity metric. It doesn’t help you understand how your business is performing. To really understand how your business is performing you need to use cohorts.
  • 3. So, what is Cohort Analysis? Cohort analysis allows you to study a group of people/users who share the same characteristic, i.e. the same sign up week, and see how they perform over time. This enables businesses to compare the effectiveness of a marketing campaign, a new feature or the impact of increasing prices. Being able to do this quickly for almost any metric can transform your business. The cohort graph on the left shows the number of users who convert to a premium plan. Within in seconds you can see July saw a really low number of conversions whilst October saw the highest.
  • 4. But, calculating cohort metrics can be really complicated.
  • 5. First, there are numerous ways of structuring the table. https://blog.kissmetrics.com/wp-content/uploads/2012/10/cohort-report-1-sm.png http://cdn.insideintercom.io/wp-content/uploads/2011/11/Cohort3-Full.jpg http://www.saasoptics.com/SaaS-opedia/saas-opedia/MRR-Cohort/files/BIGmrr_cohort_subscription_metrics.png.png
  • 6. Then there are even more ways of visualising it! http://s3.amazonaws.com/custora-assets/assets/cohort_graph_B4.png http://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Enwp-jan-cohorts-last-12-months--10-1-.png/600px-Enwp-jan-cohorts-last-12-months--10-1-.png http://insideintercom.io/wp-content/uploads/2011/11/Cohort5-CyclePlot-Dull1.jpg http://blog.recurly.com/wp-content/uploads/2013/07/Subscriber-Retention-by-Cohort.png http://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Megabytes_added_to_EN_NS4,5.png/650px-Megabytes_added_to_EN_NS4,5.png http://blog.mixpanel.com/wp-content/uploads/2009/02/media_httpblogmixpanelcomwpcontentuploads200902picture2png_DDwiEorhikJvqgf.png.scaled1000.png !
  • 7.
  • 8.
  • 9. The latest version of Google Sheets added the =SUMIFS formula making it easy* for anyone to quickly create meaningful cohort analysis.
  • 10. 5 Simple Steps 1. Enable the new Google Sheets at http://g.co/newsheets 2. Import your data. 3. Structure the data. 4. Create the formula and table. 5. Stand back in amazement with what you have just created. Here’s one we made earlier… You can find a working example of the Cohort Analysis here: Google Sheets Working Example
  • 11. Structuring The Data - Part 1 Regardless of your data format, you should have at least two columns with dates in. • The ‘Sign Up Date’ of that user (the bit which ties the user to a cohort) • The ‘Event Date’ (i.e. upgraded to a premium subscription) It will look something like this: `User ID Sign Up Date Event Date 1 12/23/2013 17:53:30 12/23/2013 18:05:30 2 12/29/2013 0:30:05 1/12/2014 18:34:46 3 12/30/2013 19:22:23 1/3/2014 22:14:40
  • 12. Structuring The Data - Part 2 Convert the date format to UNIX to avoid any potential formatting errors. To do this, simply create another column and use the following formula: =(A2-“1/1/1970”)*60*60*24. To convert UNIX to a normal timestamp use: =A2/(60*60*24)+”1/1/1970 00:00:00. Now all you need to do is set up the formula to compare the two dates and return the number of users that match the search criteria. `User ID Sign Up Date 1 12/23/2013 17:53:30 Event Date 12/23/2013 18:05:30 2 12/29/2013 0:30:05 1/12/2014 18:34:46 3 12/30/2013 19:22:23 1/3/2014 22:14:40 Sign Up Date (UNIX) Event Date (UNIX) 1387821210 1387821930 1388277005 1389551686 1388431343 1388787280 Working Example
  • 13. Creating The Table - Part 1 The way in which you build your table will alter the final graph. A simple set up in Google Sheets is to have the rows as the cohort (i.e. the user segmented by the sign up date) and the column with the time period (i.e. what happened to that cohort in that particular month). Deciding to structure it in chronological order or pinning it to the same starting point will alter the shape of your graph. Ultimately it depends on what you are trying to visualise and toggling between views will help. The Individual cohorts Time Period (what that cohort did in that month)
  • 14. Creating The Table - Part 2 For example: 1370044801 1370044801 July 1375304287 August 1375304287 June 1372674544 1372674544 14 26 In this cell, I want to find the number of users who “Signed Up” during the period 1370044801 - 1372674544 and who also upgraded to a premium plan in July.
  • 15. How to use the formula The SUMIFS formula sums the range depending on multiple criteria. This is how it works: =SUMIFS(sum_range, criteria_range1, criterion1, [criteria_range2, criterion2, …]) And in plain english that means: sum_range = The column to be added together criteria_range1 = The search criteria area / range criterion1 = The search term criteria_range2 & criterion2 = Allow you to repeat with as many conditions as you like
  • 16. Your Formula will end up looking something like this: ! The Sum Range The search criteria area / range =SUMIFS('Data'!$F$2:$F$625,'Data'!$D$2:$D$625,">"& $C$1,'Data'!$D$2:$D$625,"<"&$D$1,'Data'!$E$2:$E $625,">"&A7,'Data'!$E$2:$E$625,"<"&A8) The search criteria to use the more than, less than operators you will need to type: ">"& Working Example
  • 17. * OK, maybe I lied, it’s a little complicated
  • 18. Your cohort table should end up looking something like this: All you have to do next is insert the graph!
  • 19. Voila, simple cohort analysis!
  • 20.
  • 21. ! One more time, just to be clear =SUMIFS('Data'!$F$2:$F$625,'Data'!$D$2:$D$625,">"&$C $1,'Data'!$D$2:$D$625,"<"&$D$1,'Data'!$E$2:$E $625,">"&A7,'Data'!$E$2:$E$625,"<"&A8) The above formula goes through the data on the right to see if a row of data matches two conditions, the “Sign Up” date and “Event Date” and then returns the total. Simply fill out the table below with the cohorts, hit the graph button and your done!
  • 22.
  • 23. Taking it up a notch Half the battle is visualising your cohort data. The graphs on the left show how the same data can be altered by changing the values from absolute to percentages. You can make the graphs easier to read by showing cumulative values. In addition, altering the cohort period from monthly, to weekly, or even daily, will provide greater insight (provided there are enough numbers).
  • 24. Little Tips - This is only really effective for quick cohort analysis, if you’re wanting to do this regularly for multiple metrics it’s best to get a developer involved and code it up. - Adding a config with a cell that sets the cohort length will enable you to quickly give a different perspectives on the same data by switching between weekly and monthly cohorts.
  • 25. Live Example Sheet ! This has everything you need to get started and understand how the cohorts are formed. Enjoy!
  • 26. You’ve been viewing Really Simple Cohort Analysis by Hugh Hopkins (@hughhopkins) + GoSquared