How to Make a Frequency Table in Excel: The Complete Step-by-Step Guide
Learn how to make a frequency table in Excel using COUNTIF, FREQUENCY function, and pivot tables. Step-by-step guide with real examples.

Understanding how to make a frequency table in Excel is one of the most practical data analysis skills you can develop. Whether you are summarizing survey responses, analyzing test scores, or counting product sales by category, frequency tables transform raw numbers into organized, readable summaries that reveal patterns instantly. Excel offers multiple methods for building these tables, from simple COUNTIF formulas to the powerful FREQUENCY array function and the drag-and-drop ease of PivotTables. This guide covers every approach so you can choose the method that best fits your dataset and workflow.
A frequency table counts how many times each unique value — or range of values — appears in a dataset. For example, if you have 500 customer ages, a frequency table bins those ages into groups like 18–25, 26–35, and 36–45, then shows how many customers fall into each group. This condensed view makes it far easier to spot where your data clusters, identify outliers, and communicate findings to stakeholders who need quick insights rather than scrolling through hundreds of raw rows.
Excel has been the go-to tool for frequency analysis in business, education, and research for decades because it combines flexibility with accessibility. You do not need a statistics degree or a specialized software license. With the built-in FREQUENCY function, a few COUNTIF formulas, or a PivotTable, anyone comfortable with spreadsheets can produce a professional-grade frequency distribution in under ten minutes. Knowing these techniques also complements other Excel competencies like VLOOKUP, which helps you cross-reference frequency results against reference tables for deeper analysis.
Before you build your first frequency table, it helps to understand the two main types. Ungrouped frequency tables list every distinct value and its count — ideal for categorical data like product names or survey choices. Grouped frequency tables divide a continuous numeric range into bins or intervals, then count values falling into each bin — ideal for ages, test scores, incomes, or any measurement that spans a wide range. Excel handles both types efficiently, though the techniques differ slightly depending on which approach your data requires.
The FREQUENCY function is Excel's dedicated tool for grouped distributions. It is an array function that accepts your raw data range and a bin range, then returns a vertical array of counts, one per bin plus an overflow count for values above the highest bin. Because it returns multiple values simultaneously, you must enter it as an array formula using Ctrl+Shift+Enter in older Excel versions, or simply press Enter in Excel 365 and Excel 2019 with dynamic array support. This distinction matters, and we will walk through both entry methods in detail.
For ungrouped categorical data, COUNTIF is usually the faster and more intuitive choice. You define a list of unique categories, then write a single COUNTIF formula that counts matching entries in your data column. You can then copy that formula down for every category in seconds. This approach integrates seamlessly with Excel's broader formula ecosystem — you can combine frequency counts with percentage calculations, conditional formatting, and charts to build a complete analytical dashboard from a single dataset.
Throughout this guide we will also cover PivotTables, which provide a point-and-click interface for frequency analysis that requires no formula knowledge at all. PivotTables are especially powerful when your dataset changes frequently, because refreshing a PivotTable updates all counts automatically. If you already work with how to make a frequency table in excel and other data summarization tasks in Excel, mastering frequency tables will round out your analytical toolkit significantly and help you pass certification exams, impress employers, and work more efficiently every day.
Excel Frequency Tables by the Numbers

How to Make a Frequency Table in Excel: Step-by-Step
Prepare and Clean Your Data
Define Your Bin Range
Enter the FREQUENCY Formula
Add Frequency Labels and Percentages
Format and Finalize the Table
Build a Histogram Chart
The FREQUENCY function is Excel's purpose-built array formula for creating grouped frequency distributions, and understanding its mechanics unlocks an entirely new level of analytical power. The function takes exactly two arguments: the data array containing your raw values, and the bins array containing the upper boundary of each interval you want to count. Excel then returns an array of counts — one for each bin — plus one additional count for any values that exceed the highest bin boundary. This overflow count is easy to overlook but important for ensuring your totals match the full dataset size.
To enter FREQUENCY correctly in Excel 365 with dynamic arrays, simply select the cell where you want the results to start, type the formula, and press Enter. Excel automatically spills the results downward into as many cells as needed.
In Excel 2019 and earlier, you must first select the entire output range — which should have one more row than your bins range — before typing the formula, then confirm with Ctrl+Shift+Enter rather than plain Enter. Failing to use the array entry shortcut in older versions produces only a single count rather than the full distribution, which is a very common beginner mistake.
Consider a practical example: you have 200 student exam scores in cells A2:A201, ranging from 0 to 100. You create a bins range in D2:D10 containing the values 10, 20, 30, 40, 50, 60, 70, 80, 90, 100. You select E2:E11 — ten bin cells plus one overflow cell — and enter =FREQUENCY(A2:A201, D2:D10) as an array formula.
Excel returns counts for each interval: how many scores fall between 0–10, 11–20, 21–30, and so on through 91–100, with the final cell capturing any score above 100 (which in this case would be zero since 100 is the maximum). This distribution immediately reveals whether the class clustered around the mean or spread across a wide range.
One important nuance of the FREQUENCY function is how it handles boundary values. Excel counts a value if it is greater than the previous bin boundary and less than or equal to the current bin boundary. So if your bins are 10, 20, 30, a score of exactly 20 is counted in the second bin (11–20), not the third bin (21–30). This behavior is consistent with standard statistical conventions, but it is worth confirming with stakeholders to avoid misinterpretation, particularly when bin boundaries correspond to meaningful thresholds like passing grades or age eligibility cutoffs.
After obtaining your frequency counts, enriching the table with additional calculated columns dramatically increases its analytical value. A relative frequency column divides each count by the total sample size, showing proportions rather than raw numbers. A cumulative frequency column adds up counts progressively from the first bin to the last, making it easy to answer questions like: what percentage of students scored below 70? A cumulative relative frequency column — essentially a running total of proportions — produces the data needed to build an ogive curve, which is a standard tool in statistical reporting and quality control.
The FREQUENCY function pairs naturally with other Excel features. You can combine it with VLOOKUP to cross-reference bin results against a lookup table that assigns letter grades, risk categories, or performance labels to each frequency count. Conditional formatting applied to the count column visually highlights which bins contain the most or fewest values, turning a plain table into an instant heat map. Named ranges make frequency formulas easier to read and audit, especially when multiple analysts share the workbook or when the data range changes in size over time.
For datasets that update regularly — such as weekly sales figures or daily survey responses — consider converting your raw data range to an Excel Table using Insert > Table before writing the FREQUENCY formula. Excel Tables expand automatically when new rows are added, and because FREQUENCY references the table column by name rather than a fixed cell range, your frequency distribution updates instantly when you refresh the data. This dynamic setup is far more maintainable than formulas referencing static ranges like A2:A500, which require manual adjustment every time the dataset grows.
COUNTIF vs PivotTable vs FREQUENCY: How to Merge Cells in Excel and Choose the Right Method
COUNTIF is the simplest and most transparent method for building a frequency table when your data is categorical. Write =COUNTIF($A$2:$A$500, D2) next to each category label, where D2 is the category you are counting. Copy the formula down for every unique value. Because COUNTIF is a regular formula rather than an array formula, it is easier to audit, modify, and explain to colleagues unfamiliar with array entry shortcuts. It also handles text categories, dates, and wildcard matches, making it the most versatile choice for non-numeric data.
The main limitation of COUNTIF is that you must manually list every unique category in advance. For large datasets with dozens of distinct values, this setup step can be time-consuming. Use Data > Remove Duplicates on a copy of your category column to get a clean unique list quickly, or use the UNIQUE function in Excel 365 to generate the list automatically. Once your category list is in place, the COUNTIF formulas take seconds to write and are immediately readable without any knowledge of array formula behavior.

Pros and Cons of Using Excel for Frequency Tables
- +No specialized software required — Excel is already installed in most workplaces
- +Multiple methods available to suit different skill levels and data types
- +Results integrate seamlessly with Excel charts, conditional formatting, and dashboards
- +PivotTables refresh automatically when source data changes, saving manual update time
- +FREQUENCY function handles large datasets with thousands of rows in milliseconds
- +Compatible with all Excel versions from 2010 through Microsoft 365
- −FREQUENCY requires array formula entry syntax that confuses beginners in older Excel versions
- −PivotTable counts cannot be directly referenced in regular cell formulas without GETPIVOTDATA
- −Manual bin setup requires planning — poor bin choices can obscure rather than reveal patterns
- −Very large datasets (over 1 million rows) may experience performance slowdowns with volatile formulas
- −Excel lacks built-in density histogram normalization that statistical packages provide automatically
- −No native statistical significance testing to determine if observed frequencies differ from expected
Frequency Table Checklist: How to Freeze a Row in Excel and Build Complete Distributions
- ✓Verify raw data is in a single column with no blank rows breaking the range.
- ✓Confirm all numeric values are stored as numbers, not text — check cell alignment (numbers right-align by default).
- ✓Create a clearly labeled Bins column with upper boundary values in ascending order.
- ✓Select output range with exactly one more cell than the number of bins before entering FREQUENCY.
- ✓Enter FREQUENCY with Ctrl+Shift+Enter in Excel 2019 and earlier; plain Enter in Excel 365.
- ✓Add a Relative Frequency column dividing each count by the total using an absolute reference.
- ✓Add a Cumulative Frequency column using a running SUM formula with one absolute and one relative reference.
- ✓Confirm the sum of all frequency counts equals the total number of data points in your dataset.
- ✓Freeze the top header row using View > Freeze Panes > Freeze Top Row for easy scrolling.
- ✓Apply a Table style for visual clarity and to enable automatic range expansion when new data is added.
Use Excel Tables + FREQUENCY for Auto-Updating Distributions
Convert your raw data range to an Excel Table (Insert > Table) before writing your FREQUENCY formula. Reference the table column by name — for example, =FREQUENCY(SalesData[Amount], BinRange) — instead of a fixed cell range. When new rows are added to the table, the FREQUENCY formula automatically includes them in the count without any manual range adjustment, keeping your frequency distribution perpetually up to date with zero maintenance effort.
Advanced frequency table techniques in Excel go well beyond the basic FREQUENCY function and open up powerful analytical possibilities for data professionals. One of the most useful advanced approaches is building a two-variable frequency distribution, also called a cross-tabulation or contingency table, which shows how values in one variable are distributed across the categories of another variable. In Excel, you can achieve this using a PivotTable with one field in Rows and another in Columns, or by nesting COUNTIFS formulas to count values meeting multiple simultaneous conditions across two different columns.
COUNTIFS is the multi-condition cousin of COUNTIF and is essential when your frequency analysis involves filtering. For example, if you want to count how many female respondents in age group 26–35 gave a satisfaction rating above 4, a single COUNTIFS formula handles all three conditions simultaneously: =COUNTIFS(GenderCol, "Female", AgeCol, ">=26", AgeCol, "<=35", RatingCol, ">4"). This approach is far more flexible than FREQUENCY for segmented analysis, though it requires more formula writing than the point-and-click PivotTable interface.
Dynamic array functions introduced in Excel 365 dramatically simplify advanced frequency work. The UNIQUE function extracts a list of distinct values from a column automatically, eliminating the need to manually compile category lists. SORT orders those unique values alphabetically or numerically. Combining =SORT(UNIQUE(A2:A500)) with COUNTIF creates a fully automatic frequency table that adapts to new categories without any formula editing — Excel handles the list generation and counting dynamically as data changes. This combination is arguably the most powerful modern approach for categorical frequency analysis.
For statistical analysis beyond simple counts, Excel's Data Analysis ToolPak add-in provides a Histogram tool that automates bin creation, frequency counting, and chart generation in a single dialog. Access it via Data > Data Analysis > Histogram, specify your input range and bin range, and check the Chart Output box. Excel generates a formatted frequency table and a histogram chart on a new worksheet in seconds. The ToolPak is particularly valuable for users who need frequency tables as part of a broader statistical workflow including descriptive statistics, regression analysis, or hypothesis testing.
Weighted frequency tables are another advanced technique worth mastering. In standard frequency tables every data point counts equally, but sometimes individual records carry different weights — a survey where some respondents represent larger population segments, or a product inventory where each SKU has a quantity multiplier. Excel handles weighted frequencies using SUMPRODUCT, which multiplies each value's frequency contribution by its weight and sums the results: =SUMPRODUCT((A2:A500>=D2)*(A2:A500 Frequency tables can also feed directly into statistical visualization beyond simple histograms. An ogive — a cumulative frequency curve — plots cumulative counts or percentages against bin boundaries, giving an immediate visual impression of the data's distribution shape, median, and percentile values.
A Pareto chart combines a bar chart of frequencies (in descending order) with a line chart of cumulative percentages, highlighting which categories account for 80 percent of occurrences — the famous Pareto principle. Both chart types are built-in options in Excel 2016 and later under Insert > Charts > Histogram, and they are widely used in quality control and business process improvement contexts.
Frequency tables also integrate with Excel's What-If analysis tools for scenario modeling. If you are analyzing frequency distributions of financial outcomes — project costs, sales forecasts, or loan default rates — you can use Data Tables (Data > What-If Analysis > Data Table) to compute frequency distributions under multiple input scenarios simultaneously.
This technique links your FREQUENCY formulas to input cells, then uses a Data Table to recalculate the entire distribution for each scenario value, producing a matrix of frequency distributions that reveals how sensitive your results are to changes in key assumptions. Combined with charts, this produces compelling risk analysis visualizations for executive presentations.

In Excel 2019 and earlier, the FREQUENCY function MUST be entered as an array formula using Ctrl+Shift+Enter — not plain Enter. If you press Enter only, Excel returns just a single count for the first bin rather than the full distribution. You will see the correct curly braces { } surrounding the formula in the formula bar when array entry is done correctly. If your frequency counts look wrong or you are only getting one result, delete the formula and re-enter it with the Ctrl+Shift+Enter shortcut.
Visualizing frequency tables with charts is the final step that transforms raw counts into compelling, audience-ready insights. Excel offers several chart types that work well with frequency data, and choosing the right one depends on whether your data is categorical or numeric, whether you need to show distribution shape or compare categories, and how much detail your audience requires. The histogram is the most common choice for numeric grouped data because its adjacent bars visually communicate the continuous nature of the underlying variable, making it easy to see skewness, modality, and spread at a glance.
To create a histogram in Excel 2016 and later, select your bin labels and frequency counts, go to Insert > Charts > Recommended Charts, and look for the Histogram option under the All Charts tab.
Alternatively, use Insert > Charts > Bar Chart and then manually set the gap width to zero by right-clicking the bars and selecting Format Data Series — a gap width of zero creates the histogram's characteristic bar-touching appearance that distinguishes it from a standard column chart. Add axis titles describing the variable and units, a descriptive chart title, and data labels if your audience needs exact counts visible without hovering.
For categorical frequency data, a standard column or bar chart with gaps between bars is more appropriate than a histogram, because the gaps visually signal that each category is discrete rather than part of a continuous range. Sort the categories in descending frequency order to create a Pareto-style chart that immediately highlights the most common values. Excel's Chart Styles gallery provides professional color schemes that make your charts presentation-ready with a single click, and the Format Chart Area pane gives granular control over fonts, gridlines, and background fill for fine-tuned branding alignment.
Pie charts are occasionally used for frequency tables when there are five or fewer categories and the primary message is about proportion rather than count. However, bar and column charts are almost always superior for frequency data because humans perceive the length of bars far more accurately than the angles or areas of pie slices.
If you must show proportions, consider a stacked bar chart using your relative frequency column, which combines count comparison and proportion display in a single intuitive visual. Excel's recommended charts feature often suggests the most appropriate chart type automatically based on the shape of your selected data.
Conditional formatting applied directly to the frequency count column provides an alternative to charting that keeps the table and visualization integrated in a single view. Select your frequency counts, go to Home > Conditional Formatting > Data Bars, and choose a gradient or solid fill color. Excel adds in-cell bars proportional to each count value, creating a mini-histogram embedded within the table itself. This approach is especially useful in dashboards where space is limited and you want to preserve the exact count values while still providing an immediate visual impression of relative size across bins.
Sparklines — tiny charts that fit inside a single cell — are another space-efficient visualization option for frequency data. If you have multiple frequency distributions side by side (for example, frequency tables for different product categories or time periods), inserting a column sparkline in the row for each distribution lets you compare distribution shapes without building separate full-size charts.
Go to Insert > Sparklines > Column, select the frequency counts as data, and choose a single cell as the location. Sparklines update automatically with the underlying data and can be formatted with axis scaling and color options to improve comparability across distributions.
For presentations and reports that require publication-quality visuals, Excel charts can be copied and pasted as enhanced metafiles or images into PowerPoint or Word documents while maintaining a link to the source data for future updates. The Paste Special dialog (Ctrl+Alt+V) controls whether the pasted chart remains linked to Excel or becomes a static image.
For Excel-native reporting, consider building a dashboard worksheet that pulls frequency table data from your calculation sheet and displays charts and summary statistics in a clean layout with no visible formula cells, giving stakeholders a professional analytical interface that hides the underlying complexity. This is a hallmark skill that separates casual Excel users from advanced analysts who know how to communicate data effectively at every organizational level.
Mastering frequency tables in Excel positions you strongly for data analyst roles, Excel certification exams, and everyday workplace data tasks. Employers consistently rank data summarization and frequency analysis among the most practically valuable Excel skills because these techniques appear in quality control, HR analytics, financial reporting, marketing research, operations management, and virtually every other business function that works with numerical data. Knowing all three methods — COUNTIF, FREQUENCY, and PivotTables — gives you the flexibility to handle any dataset efficiently regardless of its size, structure, or analytical requirements.
Practice is the fastest way to build genuine fluency with frequency tables. Start with a small dataset of 20–30 values and build the same frequency distribution three times using each of the three methods covered in this guide. Compare the results to confirm they match, and pay careful attention to how each method handles edge cases like values exactly on a bin boundary, blank cells in the data range, and duplicate values. This hands-on comparison builds intuitive understanding that reading alone cannot provide and prepares you for troubleshooting real-world datasets that rarely behave as neatly as textbook examples.
When preparing for Microsoft Excel certification exams such as MO-200 (Excel Associate) or MO-201 (Excel Expert), frequency tables appear in both the direct formula questions and the data analysis sections. Examiners test whether candidates can use the FREQUENCY function correctly, apply appropriate chart types to distribution data, and interpret frequency distributions to answer questions about the underlying dataset. Reviewing frequency table exercises alongside VLOOKUP, PivotTables, and conditional formatting — the other major analytical tools tested — gives you comprehensive coverage of the data analysis competencies evaluated across all exam sections.
Beyond certification preparation, building frequency tables efficiently signals analytical maturity to hiring managers reviewing your Excel skills during interviews. Many technical interview scenarios include a dataset and ask candidates to summarize it — frequency tables are often the most appropriate starting point because they immediately reveal the data's distribution, range, and clustering characteristics. Demonstrating that you can build a frequency table, calculate relative frequencies, add a cumulative column, and produce an appropriate chart in under five minutes without hesitation is a strong positive signal during any data-focused technical assessment.
If you want to deepen your Excel analytics capabilities beyond frequency tables, explore the Data Analysis ToolPak's full suite of statistical functions including descriptive statistics, correlation, regression, and t-tests. These tools use frequency distributions as foundational inputs and produce outputs that appear in Excel certification exams and professional statistical reporting. The ToolPak is free, already installed in most Excel versions (just needs activation via File > Options > Add-Ins), and covers the statistical analysis workflow from raw data to publishable results entirely within Excel without requiring R, Python, or any other external tool.
Continuous practice with realistic datasets accelerates skill development faster than any other approach. Download publicly available datasets from sources like the US Census Bureau, Kaggle, or data.gov and challenge yourself to build frequency distributions for different variable types — age ranges from demographic data, income bands from financial surveys, product categories from retail sales records, and response distributions from public opinion polls. Each new dataset presents slightly different data quality challenges and analytical questions, building the pattern recognition and troubleshooting skills that distinguish expert Excel users from intermediate ones.
Finally, document your frequency table workflows with clear column headers, formula comments where the logic is non-obvious, and a brief notes section explaining the bin choices and data source. Well-documented frequency tables are far more valuable than undocumented ones because colleagues can verify, extend, and reuse your work months later without needing to reverse-engineer your logic.
This professional habit also reduces errors when formulas are copied or adapted for new datasets and reflects the quality standards expected in regulated industries like finance, healthcare, and government where data accuracy is subject to audit. Whether you are learning Excel for the first time or refining expert-level skills, frequency tables are a foundational analytical tool that will serve you throughout your career.
Excel Questions and Answers
About the Author
Business Consultant & Professional Certification Advisor
Wharton School, University of PennsylvaniaKatherine Lee earned her MBA from the Wharton School at the University of Pennsylvania and holds CPA, PHR, and PMP certifications. With a background spanning corporate finance, human resources, and project management, she has coached professionals preparing for CPA, CMA, PHR/SPHR, PMP, and financial services licensing exams.




