How to Do Data Analysis

Cody Schneider••8 min read

Doing data analysis sounds complicated, but it’s really just the process of asking questions and using data to find clear, actionable answers. It’s what helps you move from guessing what’s working in your business to knowing for sure. This guide will walk you through a simple, step-by-step framework you can use to analyze data, whether you're looking at sales figures in a spreadsheet or website traffic in Google Analytics.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Start with a Clear Question

The entire data analysis process hinges on what you’re trying to figure out. Without a specific question, you'll end up aimlessly wandering through spreadsheets and getting lost in irrelevant numbers. A good question acts as your compass, guiding your entire analysis.

Vague questions lead to vague, useless answers. For instance, asking "How are my marketing efforts doing?" is too broad. What does "doing" even mean? Instead, frame a more specific question like:

  • "Which marketing channel drove the most paying customers last quarter?"
  • "Did our recent email campaign increase our average order value?"
  • "What is the conversion rate of visitors who land on our new pricing page versus the old one?"

These questions are specific, measurable, and business-focused. They give you a clear target for your analysis. If you're struggling to narrow it down, start with a broad problem (e.g., "sales are down") and use the "5 Whys" technique to dig deeper until you find a root question you can investigate with data.

Step 1: Gather Your Raw Data

Once you have a clear question, you need to collect the data that can answer it. This data lives in all the different tools you use to run your business. The key is to gather only the necessary information, collecting everything will just create more work for you later.

Common data sources for marketing and sales analysis include:

  • Website Analytics: Tools like Google Analytics 4 hold a treasure trove of information about who is visiting your site, how they got there, and what they do once they arrive. This is great for analyzing traffic trends, user behavior, and conversion rates.
  • CRMs: Your customer relationship management software (like Salesforce or HubSpot) contains critical data about your leads, deals, and customers. It can help you understand your sales pipeline, track team performance, and measure customer lifetime value.
  • E-commerce Platforms: If you run an online store, platforms like Shopify track every sale, product, and customer. This data is perfect for analyzing sales trends, identifying popular products, and understanding purchasing patterns.
  • Ad Platforms: Google Ads, Facebook Ads, and LinkedIn Ads all provide detailed performance data on your campaigns, including spend, clicks, impressions, and conversions.
  • Spreadsheets: Don't forget about your trusty Excel or Google Sheets files. Many teams use them to track budgets, project plans, or custom business metrics that aren't logged elsewhere.

For our question, "Which marketing channel drove the most paying customers last quarter?", you'd likely need to pull data from Google Analytics (to see where traffic came from) and your e-commerce platform or CRM (to see which of those visitors actually became paying customers).

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Step 2: Clean and Organize the Data

This is often the most time-consuming step, but it’s absolutely essential. Raw data is almost always messy. It can have duplicates, typos, missing information, or inconsistent formatting. The principle of "garbage in, garbage out" is very real - if you analyze messy data, your conclusions will be unreliable.

Data cleaning involves several common tasks:

  • Removing Duplicates: Finding and deleting duplicate entries (e.g., the same customer listed twice) to avoid skewing your numbers.
  • Correcting Errors: Fixing typos or structural mistakes. This could be anything from a user’s name being misspelled to a product-ID being entered incorrectly.
  • Standardizing Formats: Making sure your data is consistent. For example, ensuring all dates are in the same format (MM/DD/YYYY) or standardizing country names ("U.S.", "USA", and "United States" should all become one category).
  • Handling Missing Values: Deciding what to do with blank fields. Sometimes you can leave them be, other times you might exclude that row from your analysis, or in some cases, you might fill in the gap with an average or a zero.

In tools like Excel and Google Sheets, you can use built-in features to find duplicates, use formulas like =TRIM() to remove extra spaces, or use Find and Replace to standardize text. The goal is to create a clean, organized, and reliable dataset that’s ready for analysis.

Step 3: Analyze the Data by Type

With clean data, you can finally start looking for answers. The type of analysis you do depends on how deep you want to go. Most business analysis falls into four categories, from simple to more complex.

Descriptive Analysis: What Happened?

This is the most common and straightforward type of analysis. It’s all about summarizing your data to understand what has already occurred. You're simply reporting the facts.

Example: "Last quarter, we acquired 5,000 new customers. 40% came from Organic Search, 30% from Paid Social, 20% from Email, and 10% from Direct traffic." This statement describes what happened without explaining why.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Diagnostic Analysis: Why Did It Happen?

Here, you dig a layer deeper to understand the cause behind the results you saw in your descriptive analysis. You’re moving from the "what" to the "why." This often involves comparing different data segments or looking for correlations.

Example: "Paid Social drove the highest number of paying customers (1,500) last quarter because we ran a successful retargeting campaign on Facebook for our new product line, which had a 5% conversion rate - double our site average."

Predictive Analysis: What is Likely to Happen?

This type of analysis uses historical data to make educated guesses about the future. It's about identifying trends and using them to forecast what might come next.

Example: "Based on the last three years of data, we can predict that organic search traffic will increase by 25% in Q4 due to seasonal holiday interest in our products."

Prescriptive Analysis: What Should We Do About It?

This is the most advanced form of analysis. It not only predicts what will happen but also recommends a specific course of action to achieve a desired outcome. It answers the question, "Now what?"

Example: "To maximize Q4 revenue, we should allocate an additional 20% of our marketing budget to Paid Social campaigns starting November 1st, while also publishing three new blog posts optimized for our top-performing keywords to capture the expected increase in organic search traffic."

For most day-to-day business questions, you'll focus on descriptive and diagnostic analysis. They provide the insights you need to make better, informed decisions.

Step 4: Visualize and Interpret Your Findings

Numbers alone can be hard to understand. Visualizing your data turns a wall of numbers into a clear, compelling story that’s easy for anyone to grasp. A good chart or graph can reveal patterns, trends, and outliers that you might miss in a spreadsheet.

Choose the right type of visualization for your story:

  • Bar Charts: Great for comparing values across different categories. Use them to show sales by channel or traffic by source.
  • Line Charts: Perfect for showing how a metric changes over time. Use them to track website sessions per month or revenue per quarter.
  • Pie Charts: Use them to show the parts of a whole, like the percentage breakdown of your marketing budget. (Just be careful - if you have more than a few slices, they can become confusing).
  • Scatter Plots: Useful for showing the relationship between two different variables, like advertising spend versus sales conversions.

Interpretation is just as important as visualization. Look at your charts and think about what they mean in the context of your business. What are the key takeaways? Did you find anything surprising? Did your findings answer your original question? Always tie your analysis back to the initial "why."

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Step 5: Share the Story

The final step is to communicate your findings to others - your team, your boss, or your clients. The way you present your results is critical. Be prepared to share your methodology, but lead with the conclusion.

A good data analysis report should:

  1. Start with the Answer: Begin with the main insight or recommendation. Don't make your audience wait until the last slide to hear the big news.
  2. Provide Key Supporting Points: Show the key charts and metrics that back up your conclusion. Explain what they mean in simple, accessible language.
  3. Suggest Next Steps: Talk about what the business should do based on these insights. Good analysis should always lead to action.

Tailor your communication to your audience. An executive likely wants a one-page summary with the key takeaways, while your marketing colleagues might want to see the detailed breakdown of the data sources and methodology.

Final Thoughts

Data analysis is not a mystical art, it is a systematic process of asking the right question, gathering and cleaning the relevant data, performing the analysis, and clearly communicating the story you find. By following these steps, you can move from gut feelings to data-driven decisions that push your business forward.

We know this process can feel like a lot of manual work, especially the parts about collecting and cleaning data from dozens of different platforms. This is exactly why we built Graphed. We automate the frustrating parts by connecting directly to all your data sources like Google Analytics, Shopify, and Facebook Ads. Instead of wrestling with CSVs, you can simply ask questions in plain English - like "Show me a dashboard of my sales by marketing channel last quarter" - and get beautiful, real-time dashboards in seconds, so you can spend less time digging and more time deciding.

Related Articles