Skip to main content

Count distinct values and show the list

Your goal: See which customer names are distinct, exclude blank rows, and count the resulting list.

Full task requirements

Create the distinct list in B2:B9 and its count in E2. Ignore empty cells, keep the first spelling, and treat letter case as equivalent.

Customer namesKeep the first occurrence of each value0 cells selected
Rule
First occurrence; ignore case and blanks
Click values to select them. Drag or use Range for several cells. Drag from selected cells to deselect.
#
1
2
3
4
5
6
7
8
9
Step 1 of 1

Keep the first occurrence of each value

Select the matching values in the worksheet, then check your selection.

How the Excel rule works

Ignore empty cells and compare text without letter case. Select the first source occurrence for each distinct value, preserving its spelling. Numbers and text stay distinct.

Inspect selected records

No records selected yet.

0 cells selected