Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to combine 2 or more chart types in a single chart in Excel
  • Randomize/ Shuffle List in Excel
  • Number and Text Filters Examples in Excel
  • How To Load Analysis ToolPak in Excel
  • Use Data Form to input, edit and delete records in Excel

References

  • Count rows that contain specific values in Excel
  • Approximate match with multiple criteria in Excel
  • Extract data with helper column in Excel
  • Lookup entire row in Excel
  • How to get address of last cell in range in Excel

Data Validations

  • How To Create Drop-down List in Excel
  • Excel Data validation with conditional list
  • Excel Data validation date in specific year
  • Excel Data validation don’t exceed total
  • Excel Data validation must begin with

Count Unique Values in Excel

by

This example shows you how to create an array formula that counts unique values.

Examples:

1.. To count the number of 5’s, use the following function.

We use the COUNTIF function.

 2. To count the unique values (don’t be overwhelmed), we add the SUM function, 1/, and replace 5 with A1:A6.

3. 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. They will disappear when you edit the formula.

Explanation: The range (array constant) created by the COUNTIF function is stored in Excel’s memory, not in a range. The array constant looks as follows:

{3;1;1;1;3;3} – (three 7’s, one sun, one moon, one 5, three 7’s, three 7’s)

This reduces to:
{1/3;1/1;1/1;1/1;1/3;1/3}

This array constant is used as an argument for the SUM function, giving a result of 1/3+1+1+1+1/3+1/3 = 4.

Post navigation

Previous Post:

VLOOKUP without #N/A error 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

Logical Functions

  • IF with boolean logic in Excel
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • IF with wildcards in Excel
  • OR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Calculate days remaining in Excel
  • Get fiscal quarter from date in Excel
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation
  • Get day name from date in Excel
  • Get days, months, and years between dates in Excel

Grouping

  • Map inputs to arbitrary values in Excel
  • Group numbers with VLOOKUP in Excel
  • Group arbitrary text values in Excel
  • Group numbers at uneven intervals in Excel
  • How to randomly assign people to groups in Excel

General

  • 44 Practical Excel IF function Examples
  • How to calculate profit margin percentage in Excel
  • Excel Autofill Cell Ranges, Copy, Paste
  • Customize Ribbon In Excel
  • Flash Fill in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning