Skip to Content
Excel Cookbook
book

Excel Cookbook

by Dawn Griffiths
May 2024
Intermediate to advanced
592 pages
13h 44m
English
O'Reilly Media, Inc.
Content preview from Excel Cookbook

Chapter 8. Statistical Analysis

Excel includes many statistical functions and features to help you generate statistics and analyze data. For example, you can use it to create frequency distributions, generate statistics such as standard deviation and skewness, work with probability distributions, and more. This chapter guides you through these areas, focusing on using functions, PivotTables, and charts.

8.1 Creating a Frequency Table

Problem

You have a list of text or numeric values and want to count the number of occurrences of each value.

Solution

Suppose you have a list of values in a column and want to find the frequency of each unique value: the number of times it occurs in the column. You can do so by creating a frequency table that lists each value and its corresponding frequency.

The method you choose to create the frequency table depends on the type of values for which you want to find frequencies.

For discrete values such as text or integers, you can create the frequency table using a PivotTable as follows:

  1. Select the data and insert a PivotTable by choosing Insert ⇒ Tables ⇒ PivotTable.

  2. Add the column of values to the PivotTable Fields pane’s Rows and Values sections and make sure the Values aggregation is set to Count (see Recipe 11.9). The results are shown in Figure 8-1.

    Screenshot of frequency table
    Figure 8-1. A frequency table for discrete data created using a PivotTable1

For continuous ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Excel 2021/365 - Beginner to Advanced

Microsoft Excel 2021/365 - Beginner to Advanced

Simon Sez IT
Microsoft Excel 365 Bible

Microsoft Excel 365 Bible

Michael Alexander, Dick Kusleika
Excel 2019 Bible

Excel 2019 Bible

Michael Alexander, Richard Kusleika, John Walkenbach

Publisher Resources

ISBN: 9781098143312Errata PageSupplemental Content