What a frequency list does and why you need one

A frequency list counts how many times each unique value appears in a column of data. If you have a spreadsheet of customer names, a frequency list tells you which names appear most often. If you track product sales, it shows you which items sold the most. Google Sheets does not have a single "frequency" button, but you can build one in a few minutes using formulas you already have access to.

The most common approach uses COUNTIF, a formula that counts cells matching a specific value. You pair it with a list of unique values — the distinct items from your original data — and COUNTIF tells you how many times each one appears. This works whether your data is names, product codes, survey responses, or any other repeating values.

Key Takeaways

  • A frequency list shows how many times each unique value appears in your data, built by combining a unique-value list with COUNTIF formulas.
  • Start by creating a list of unique values in one column, then use COUNTIF in the next column to count occurrences of each value.
  • Google Sheets has a UNIQUE function that automatically pulls distinct values from your data, saving you from manual entry.
  • You can sort your frequency list by count to see which items appear most often, making patterns in your data visible at a glance.

Getting your unique values into a separate column

Before you count frequencies, you need a list of each unique value that appears in your data. If your original data is in column A (rows 2 through 100, with a header in row 1), you will create this unique list in column C.

The easiest method uses the UNIQUE function, available in Google Sheets. In cell C2, type this formula:

=UNIQUE(A2:A100)

Press Enter. Google Sheets automatically fills down and shows every distinct value from column A, with no duplicates. If your data range is different, change A2:A100 to match your actual data — for example, A2:A500 if you have 500 rows of data.

If UNIQUE does not work in your version of Google Sheets (it is available in most accounts but not all), you can build a unique list manually or use a pivot table instead. For a manual list, type each distinct value by hand into column C, or copy your data into column C, then use Data > Data Cleaning > Remove Duplicates to strip out repeats.

Using COUNTIF to count each value's frequency

Once you have your unique values in column C, add a header in column D (for example, "Count" or "Frequency"), then move to cell D2. Type this formula:

=COUNTIF($A$2:$A$100,C2)

Press Enter. The formula counts how many times the value in C2 appears anywhere in the range A2:A100. The dollar signs ($) lock the range so it does not change when you copy the formula down.

Now copy this formula down column D for every row that has a unique value in column C. Click D2, then drag the small square at the bottom-right corner of the cell down to the last row with data. Each row will now show the count for that unique value. If C2 contains "Apple" and apples appear 47 times in your data, D2 will show 47.

Sorting your frequency list to see patterns

Once your frequency list is complete, sorting it by count shows you which items appear most often. Select both columns C and D (the unique values and their counts), including headers. Go to Data > Sort Range, then choose to sort by column D (your count column) in descending order. The highest frequencies appear at the top.

This sorting step is optional but useful. A frequency list sorted by count makes it obvious which items dominate your data. If you are tracking website visitor countries, you immediately see which countries send the most traffic. If you are counting survey responses, you see which answer was chosen most often.

Using a pivot table as an alternative

Google Sheets also offers pivot tables, which create frequency lists automatically without formulas. A pivot table is faster if your data is large or if you need to update the frequency list often.

To create a pivot table, select your data (including the header row), then go to Data > Pivot Table. In the pivot table editor that opens, drag your column name into the Rows section and also into the Values section. Google Sheets automatically counts occurrences. You can then sort the pivot table by count just as you would a formula-based list.

Pivot tables are more powerful than frequency lists if you have multiple columns of data and want to count combinations — for example, counting how many sales each product made in each region. For a simple frequency count of one column, a COUNTIF formula is usually faster to set up.

Handling text that is almost the same but not identical

COUNTIF counts exact matches only. If your data contains "Apple", "apple", and "APPLE", COUNTIF treats them as three different values and counts each separately. If you want to count them as the same item, you have two options.

The first is to clean your data before counting. Select your data column, go to Data > Data Cleaning > Trim Whitespace to remove extra spaces. Then use Data > Data Cleaning > Text to Columns and choose "Consolidate" to standardize capitalization. After cleaning, COUNTIF will group similar values correctly.

The second option is to modify your COUNTIF formula to ignore case. Replace your COUNTIF formula with:

=SUMPRODUCT((LOWER($A$2:$A$100)=LOWER(C2))*1)

This formula converts everything to lowercase before comparing, so "Apple", "apple", and "APPLE" all count as the same value. The result appears in your frequency column just as before.

Frequently Asked Questions

What if my data has blank cells?

COUNTIF counts blank cells as a value if you include them in your range. If you want to exclude blanks, modify your formula to =COUNTIF($A$2:$A$100,C2) and manually delete the blank row from your unique-values list, or use =COUNTIF($A$2:$A$100,C2)-COUNTIF($A$2:$A$100,"") to subtract blanks from the count.

Can I make the frequency list update automatically when I add new data?

Yes. Instead of specifying a fixed range like A2:A100, use a larger range that includes future rows, such as A2:A1000. The UNIQUE and COUNTIF formulas will include any new data you add. Alternatively, use UNIQUE(A:A) to include the entire column, though this may cause errors if row 1 is a header — use UNIQUE(A2:A) instead.

How do I count frequencies for multiple columns at once?

A pivot table is the best tool for this. If you want to count how many times each combination of values appears (for example, each product in each region), select all your data and create a pivot table, then drag the relevant columns into Rows and Values. A formula approach would require nested COUNTIFS functions and becomes complex quickly.

What is the difference between COUNTIF and COUNTIFS?

COUNTIF counts cells matching one condition. COUNTIFS counts cells matching multiple conditions at once. For a simple frequency list, COUNTIF is all you need. Use COUNTIFS if you want to count, for example, how many times "Apple" appears only in rows where the date is after January 1st.