Microsoft 365 and Office | Excel | Other | Windows
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to generate a frequency count for text strings in an excel spreadsheet
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
AI answer
Use Excel’s counting functions to build a frequency table for text values.
A2:A1000.C2:C20.D2, enter a COUNTIF formula to count how often the text in C2 appears in the original list:
=COUNTIF($A$2:$A$1000, C2)
=COUNTA(A2:A1000)
=COUNTIFS($A$2:$A$1000, C2, $B$2:$B$1000, ">=" & $D$1, $B$2:$B$1000, "<=" & $E$1)
where D1 and E1 hold the start and end dates.This combination of Advanced Filter to get unique values and COUNTIF/COUNTIFS to count occurrences provides a frequency distribution for text strings.
References: