If you are dealing with data in Excel, you must have come across a situation where you need to analyze the frequencies of certain values. The frequency of a value is simply the number of times it appears in a dataset. Relative frequency, on the other hand, shows the proportion or percentage of a value compared to the total number of values. Excel provides various functions to calculate relative frequency, such as COUNTIF, COUNT, and SUM. In this blog post, we will show you how to do relative frequency in Excel using these functions.
What is Relative Frequency?
Before we dive into how to calculate relative frequency in Excel, let’s first understand what it means. Relative frequency is a statistical term that shows you the proportion or percentage of a value compared to the total number of values. The formula for relative frequency is:
Relative Frequency = (Frequency of a Value/Total Number of Values) x 100%
Calculating Relative Frequency Using COUNTIF Function
The easiest way to calculate relative frequency in Excel is by using the COUNTIF function. This function counts the number of cells in a range that meet a specific criterion. Follow these steps:
Step 1: Create a Frequency Distribution Table
Create a frequency distribution table that shows the values and their frequencies. For example, let’s say you have the following data:
A B1 120 2 803 1504 905 1606 1107 2008 1209 9010 140
In this case, the value 1 appears 120 times, the value 2 appears 80 times, and so on.
Step 2: Use the COUNTIF Function to Calculate Relative Frequency
Now that you have a frequency distribution table, you can use the COUNTIF function to calculate the relative frequency of each value. Follow these steps:
 Select a cell next to the first value in your frequency distribution table. In this example, select cell C2.
 Type the following formula:
=COUNTIF($B$1:$B$10,B2)/SUM($B$1:$B$10)
 Press Enter to calculate the relative frequency. The formula calculates the number of times the value appears (using COUNTIF) and divides it by the total number of values (using SUM).
 Copy the formula to the rest of the cells in column C to calculate the relative frequency for other values.
Calculating Relative Frequency Using COUNT Function
You can also calculate relative frequency using the COUNT function. This function counts the number of cells that contain numbers in a range. Follow these steps:
Step 1: Create a Frequency Distribution Table
As before, create a frequency distribution table that shows the values and their frequencies.
Step 2: Use the COUNT Function to Calculate Relative Frequency
Follow these steps to calculate relative frequency using the COUNT function:
 Select a cell next to the first value in your frequency distribution table. In this example, select cell C2.
 Type the following formula:
=COUNTIF($B$1:$B$10,B2)/COUNT($B$1:$B$10)
 Press Enter to calculate the relative frequency. The formula calculates the number of times the value appears (using COUNTIF) and divides it by the total number of values (using COUNT).
 Copy the formula to the rest of the cells in column C to calculate the relative frequency for other values.
Calculating Relative Frequency Using SUM Function
Finally, you can use the SUM function to calculate relative frequency in Excel. This function adds the values in a range of cells. Follow these steps:
Step 1: Create a Frequency Distribution Table
Create a frequency distribution table that shows the values and their frequencies, as you did before.
Step 2: Use the SUM Function to Calculate Relative Frequency
Follow these steps to calculate the relative frequency using the SUM function:
 Select a cell next to the first value in your frequency distribution table. In this example, select cell C2.
 Type the following formula:
=COUNTIF($B$1:$B$10,B2)/SUM($B$1:$B$1$)
 Press Enter to calculate the relative frequency. The formula calculates the number of times the value appears (using COUNTIF) and divides it by the total number of values (using SUM).
 Copy the formula to the rest of the cells in column C to calculate the relative frequency for other values.
Calculating relative frequency in Excel is very easy, as we have shown in this blog post using the COUNTIF, COUNT, and SUM functions. Armed with this knowledge, you can now analyze your data more effectively!
Why Use Relative Frequency in Excel?
Relative frequency is used in data analysis to compare the proportion or percentage of a value with the total number of values. It helps to identify patterns and trends in data that might not be apparent with just the frequency count. For example, if you are analyzing the frequency of visitors to your website by age group, you might assume that the younger age group visits more because they are more techsavvy. However, when you calculate the relative frequency, you might find out that the older age group actually visits more, which can help you tailor your marketing strategy accordingly.
Visualizing Relative Frequency in Excel
When working with relative frequency data, it can be helpful to visualize it in a chart or graph. Excel offers various chart types that can be used to display relative frequency data effectively, such as pie charts, bar charts, and histograms. These charts can help you spot trends and patterns more easily than looking at tables of numbers. To create a chart in Excel:
 Select the data you want to include in the chart.
 Click on the ‘Insert’ tab.
 Select the chart type that best fits your data. Excel will generate a chart for you based on your selection.
 You can customize the chart by adding titles, data labels, and changing the chart type, colors, and styles.
When Not to Use Relative Frequency in Excel
While relative frequency can be a useful tool for analyzing data, there are some situations where it might not be the best option. For example, if your data set contains outliers (values that are much higher or lower than the other values), relative frequency might be skewed, leading to inaccurate or misleading results. In such situations, it might be better to use other statistical measures, such as median and standard deviation, to analyze the data.
Final Thoughts
Relative frequency is a simple yet powerful tool for analyzing data in Excel. By following the steps outlined in this blog post and visualizing the data using charts, you can gain valuable insights into your data and make more informed decisions based on the results. However, it’s important to keep in mind that relative frequency might not always be the best measure for every situation, so be sure to consider the characteristics of your data set before making any final decisions.
FAQs About How to Do Relative Frequency in Excel
Here are some frequently asked questions about calculating relative frequency in Excel:
Q: Can I use relative frequency to analyze continuous data?
No, relative frequency is typically used to analyze discrete data (data that can only take certain values). For continuous data (data that can take any value within a range), you would typically use a histogram or frequency polygon to visualize the data.
Q: What is the difference between relative frequency and cumulative frequency?
Relative frequency shows the proportion or percentage of a value compared to the total number of values, while cumulative frequency shows the total number of values up to a certain point. Cumulative frequency can be helpful in analyzing trends in data over time.
Q: What is the difference between relative frequency and relative frequency distribution?
Relative frequency shows the proportion or percentage of a value compared to the total number of values, while relative frequency distribution is a table or chart that shows the relative frequencies of all the different values in a data set.
Q: How do I change the decimal places in my relative frequency calculations?
You can change the decimal places in your relative frequency calculations by formatting the cell as a percentage. To do this, select the cell or range of cells containing the calculations, rightclick on the cell, and select ‘Format Cells’. In the ‘Format Cells’ dialog box, select ‘Percentage’ from the list of categories. You can also specify the number of decimal places you want to display.
Q: Can I use relative frequency to compare data from different data sets?
Yes, you can use relative frequency to compare data from different data sets, as long as the data sets share a common variable. For example, if you want to compare the frequencies of certain values in two different surveys, you can calculate the relative frequencies of each value in both surveys and then compare them to see if there are any differences.
Featured Companies

Learn PowerPoint
Explore the world of Microsoft PowerPoint with LearnPowerpoint.io, where we provide tailored tutorials and valuable tips to transform your presentation skills and clarify PowerPoint for enthusiasts and professionals alike.

Learn Word
Your ultimate guide to mastering Microsoft Word! Dive into our extensive collection of tutorials and tips designed to make Word simple and effective for users of all skill levels.

Resultris Marketing
Boost your brand's online presence with Resultris Content Marketing Subscriptions. Enjoy highquality, ondemand content marketing services to grow your business.
Trending
Other Categories
 Basic Excel Operations
 Excel Addins
 Excel and Other Software
 Excel Basics and General Knowledge
 Excel Cell References and Ranges
 Excel Charts and Graphs
 Excel Data Analysis
 Excel Data Manipulation and Transformation
 Excel Data Validation and Conditional Formatting
 Excel Date and Time Functions
 Excel Errors
 Excel File Management
 Excel Formatting and Visual Adjustments
 Excel Formulas and Functions
 Excel Integration and Conversion
 Excel Linking and Merging
 Excel Macros and VBA
 Excel Printing
 Excel Settings
 Excel Tips and Shortcuts
 Excel Training
 Excel Versions
 Form Controls and User Interaction
 How To
 Pivot Tables
 Working with Text