AnalystPracticeGuides
DashboardSign up

7 Excel formulas I wish I'd learned sooner

Seven short formulas for problems you meet every week in Excel: messy cells, missing replies, text you need to group, and lists that are counted wrong. Download the free practice file, open it in Excel for the web or Microsoft 365, and try each one on the same data as in the video.

Watch it solved. All 7 formulas, in our video “7 Mind-Blowing Excel Formulas I Wish I'd Learned Sooner”. Pressing play loads the video from YouTube (privacy). Open on YouTube
Free practice file. One sheet per formula, with the same made-up data as in the video. No sign-up needed.
Download Excel-7-Formulas.xlsx

1. Remove duplicates inside one cell

Sheet 1 Shift roster: a cell lists the same name twice. Split it, keep each name once, and join it back:

=TEXTJOIN(", ",TRUE,UNIQUE(TEXTSPLIT(B4,", "),TRUE))

The names come out of TEXTSPLIT side by side in a row, so the second argument of UNIQUE (by column) has to be TRUE.

2. Find who never replied

Sheet 2 Survey: everyone who got the survey in column A, the people who replied in column B.

=FILTER(A2:A21,NOT(COUNTIF(B2:B15,A2:A21)))

COUNTIF gives a 1 for every name that replied and a 0 for every name that didn't. NOT flips it, so FILTER keeps the six people who never answered.

3. All clients of a manager in one cell

Sheet 3 Clients: GROUPBY works with text too, if you give it ARRAYTOTEXT as the function.

=GROUPBY(A2:A25,B2:B25,ARRAYTOTEXT,0,0)

The two zeros switch off the header row and the total row, so you get a clean list of each manager and their clients. GROUPBY needs Microsoft 365 or Excel for the web.

4. Split text with six different separators

Sheet 4 Web orders: every order sits in one cell, separated by a comma, semicolon, pipe, slash, hash and tilde. TEXTSPLIT takes all of them at once in curly brackets:

=TEXTSPLIT(A2,{",",";","|","/","#","~"})

Fill it down and every order splits into seven columns.

5. Case-sensitive lookup

Sheet 5 Discount codes: SPRING, spring and Spring are three different codes. A normal XLOOKUP ignores case and returns the first one. Use EXACT and look for TRUE:

=XLOOKUP(TRUE,EXACT(A2:A10,F1),C2:C10)

6. Top 5 without touching the data

Sheet 6 Products: sort by revenue from largest to smallest, then keep the first five rows.

=TAKE(SORT(A2:D21,4,-1),5)

7. Count people when a cell holds two names

Sheet 7 Registrations: COUNTA counts cells, so "Emma & Jacob" counts as one. Join everything, split it again, then count:

=COUNTA(TEXTSPLIT(TEXTJOIN(" & ",TRUE,A2:A21)," & "))

Which Excel do you need?

All seven work in the free Excel for the web and in Microsoft 365. GROUPBY needs one of those two. TEXTSPLIT, TAKE and the other functions also work in Excel 2024.

Practise the basics. These formulas build on a few functions you can practise in your browser, with instant feedback.
Practise FILTER Practise TEXTJOIN Practise SORT Practise XLOOKUP Practise COUNTIF

All data in the file and the video is made up. Updated November 2026.

← All free guides