What a frequency table does and why you need one
A frequency table counts how many times each value appears in your data. If you have a column of 200 customer responses where people picked "Yes," "No," or "Maybe," a frequency table tells you instantly that 87 picked Yes, 56 picked No, and 57 picked Maybe. Without it, you would scroll through the whole list or use your eyes to guess.
Excel does not have a single "make frequency table" button. Instead, you build one using a combination of tools — usually a list of unique values in one column and a COUNTIF formula in the next column that counts how many times each value appears. The result is a small, organized table that summarizes your data in seconds.
This method works for any kind of repeated data: survey answers, product names, regions, ratings, or any text or number that repeats across your spreadsheet.
Key Takeaways
- A frequency table lists each unique value from your data in one column and counts how many times it appears in another column using the COUNTIF formula.
- You can create the list of unique values by typing them manually, copying and pasting unique entries, or using the Remove Duplicates feature in Excel.
- The COUNTIF formula syntax is =COUNTIF(range, criteria) where range is your original data column and criteria is the cell containing the value you want to count.
- Once your frequency table is built, you can sort it by count to see which values appear most often, or add a percentage column to show what fraction of your data each value represents.
Step 1: Gather your data in a single column
Before you build a frequency table, your data must be in one column with no gaps. Open the spreadsheet that contains the data you want to analyze. Click on the first cell of your data and scroll down to see where it ends. If your data is scattered across multiple columns or has blank rows in the middle, move it to a single clean column first.
For example, if you have survey responses in column A from rows 2 to 201 (with a header in row 1), that is your data range. Write down or remember this range — you will use it in the COUNTIF formula later. A range like A2:A201 is what you need.
Step 2: Create a list of unique values
Your frequency table needs one row for each distinct value in your data. If your data contains "Red," "Blue," "Red," "Green," "Blue," "Red," you need only three rows in your frequency table: one for Red, one for Blue, and one for Green.
The easiest way to get a list of unique values is to copy your original data, paste it into a new area, and then remove the duplicates. Click on your data column (for example, A2:A201), press Ctrl+C to copy, then click on an empty column to the right — say column D — and press Ctrl+V to paste. Now you have a duplicate copy of all your data in column D.
With that pasted data still selected, go to the Data tab at the top of Excel. Click Remove Duplicates (in some versions it is under Data Tools). Excel will show a dialog asking which column to check — your pasted column should already be selected. Click OK. Excel removes every duplicate, leaving only one instance of each value.
If your data is very small or you know all the values already, you can type the unique values by hand into a new column instead. Either method works.
Step 3: Set up your frequency table columns
Now create the structure for your frequency table. In a clear area of your spreadsheet — often starting in column F — type a header in the first row. Call the first column "Value" and the second column "Frequency." Below "Value," paste or type your unique values (the list you just created). Leave the column next to it empty for now — that is where the counts will go.
Your table should look like this: a header row with "Value" and "Frequency," then below it your unique values in the left column with blank cells in the right column waiting to be filled.
Step 4: Use COUNTIF to count each value
Click on the first empty cell in the Frequency column — the cell next to your first unique value. Type the COUNTIF formula. The formula is =COUNTIF(original_range, criteria_cell). Replace original_range with the range of your original data (like A2:A201) and criteria_cell with the cell containing the value you want to count.
For example, if your original data is in A2:A201 and your first unique value is in F2, type: =COUNTIF($A$2:$A$201,F2). The dollar signs ($) lock the original data range so it does not change when you copy the formula down, but F2 will change to F3, F4, and so on as you copy it.
Press Enter. Excel calculates and shows the count for that first value. Now copy this formula down to all the other rows in your frequency table. Click on the cell with the formula, press Ctrl+C, then select all the cells below it (down to the last unique value) and press Ctrl+V. Excel fills in the counts for every value automatically.
Step 5: Sort and review your frequency table
Your frequency table is now complete. You can leave it as is, or sort it to see which values appear most often. Click anywhere in your frequency table, then go to the Data tab and click Sort. Choose to sort by the Frequency column in descending order (highest to lowest). This puts the most common values at the top.
Check your results by scanning the frequency column. The counts should add up to the total number of rows in your original data. If they do not, you may have missed a value or made an error in the COUNTIF formula. Go back and verify that your original data range is correct and that you have included all unique values.
Optional: Add a percentage column
If you want to see what percentage of your data each value represents, add a third column. Type "Percentage" as the header, then in the first data cell type: =G2/SUM($G$2:$G$10), where G2 is the frequency count and the SUM range covers all your frequency counts. This divides each count by the total to get a decimal. Press Enter, copy the formula down, then format those cells as percentages by right-clicking and choosing Format Cells, then Percentage.
Now you can see at a glance that Red represents 50% of your data, Blue represents 33%, and Green represents 17%, for example.
Frequently Asked Questions
What if my data has blank cells or spaces?
COUNTIF counts blank cells as a value if you include them in your unique list. If you do not want to count blanks, simply do not include a blank row in your frequency table. If blanks are scattered through your data and you want to know how many there are, add a row to your frequency table with the label "Blank" and use the formula =COUNTBLANK(A2:A201) instead of COUNTIF.
Can I use a frequency table with numbers instead of text?
Yes. COUNTIF works exactly the same way with numbers. If your data is ages or scores, create a unique list of those numbers and use COUNTIF to count them. The formula does not change.
What if I have thousands of rows of data?
The method works the same way. Just make sure your data range in the COUNTIF formula covers all rows. Excel can handle large datasets without slowing down noticeably. If you have more than 10,000 rows, a pivot table may be faster, but a frequency table built this way will still work.
How do I update the frequency table if my original data changes?
The COUNTIF formulas update automatically whenever you change the original data. If you add new values to your original data that are not in your unique list, you will need to add them to your frequency table manually and copy the COUNTIF formula down for those rows. The counts for existing values will recalculate on their own.
Can I make a frequency table for data in multiple columns?
Not with a single frequency table. If you want to count values from column A and column B separately, create two frequency tables side by side. If you want to count combinations (like how many rows have "Red" AND "Large" together), you need a different tool like a pivot table or a more complex formula.