Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • How to get first row number in range in Excel
  • How to calculate two-way lookup VLOOKUP in Excel Table
  • Extract all partial matches in Excel
  • How to use Excel MATCH Function
  • How to retrieve first match between two ranges in Excel

Data Analysis Examples

  • How To Sort One Column or Multiple Columns in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How to sum a total in multiple Excel tables
  • How to count table rows in Excel
  • How to calculate average last N values in a table in Excel

Data Validation Examples

  • Excel Data validation with conditional list
  • Excel Data validation date in specific year
  • Excel Data validation specific characters only
  • Excel Data validation must begin with
  • Excel Data validation only dates between

Excel Frequency Function Example

by

The FREQUENCY function in Excel calculates how often values occur within the ranges you specify in a bin table. You can also use the COUNTIFS function to create a frequency distribution.

1. First, enter the bin numbers (upper levels) in the range C4:C8.

2. Select the range D4:D9 (extra cell), enter the FREQUENCY function shown below and finish by pressing CTRL + SHIFT + ENTER.

Note: the formula bar indicates that this is an array formula by enclosing it in curly braces {}. Do not type these yourself. To delete this array formula, select the range D4:D9 and press Delete.

Worked Example:   How to calculate correlation coefficient Correlation in Excel

3. Hide the column with the bin numbers (upper levels) and insert a column with proper bin labels.

Explanation: 1 value is less than or equal to 20, 8 values are greater than or equal to 21 and less than or equal to 25, etc. At step 2, we selected the range D4:D9 (instead of the range D4:D8). As a result, the FREQUENCY function also counts the number of values that are greater than 40.

Worked Example:   Summary count of non-blank categories in Excel

4. You can also use the Analysis Toolpak to create a histogram.

5. Change the bin numbers. Select the range D4:D9 (no extra cell), enter the FREQUENCY function shown below and finish by pressing CTRL + SHIFT + ENTER.

Explanation: the last bin number is greater than or equal to the maximum value (52). As a result, we don’t need an extra cell to count the number of values that are greater than 60.

Worked Example:   Count times in a specific range in Excel

6. You can also use the COUNTIFS function to create a frequency distribution.

Explanation: the COUNTIFS function in Excel counts cells based on two or more criteria. The COUNTIFS function shown above has 2 range/criteria pairs. We used the & operator to concatenate “>=” with the value in cell C4 and “<=” with the value in cell D4. You can easily copy this formula to the other cells.

Post navigation

Previous Post:

Use of INT and TRUNC function in Excel

Next Post:

Calculate Weighted Average in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • How to strip html from text or numbers in Excel
  • How to extract word containing specific text in Excel
  • LEN, LENB functions: Description, Usage, Syntax, Examples and Explanation
  • Extract last name from full name — Manipulating NAMES in Excel
  • How to count total words in a cell in Excel
  • Display Date is same month in Excel
  • List holidays between two dates in Excel
  • Add decimal minutes to time in Excel
  • Calculate years between dates in Excel
  • Get work hours between dates and times in Excel
  • PPMT function: Description, Usage, Syntax, Examples and Explanation
  • ODDLPRICE function: Description, Usage, Syntax, Examples and Explanation
  • How to set check register balance in Excel
  • DISC function: Description, Usage, Syntax, Examples and Explanation
  • ODDLYIELD function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles