<div>00:00 Hey in this video, I hope you get some cool little tricks and tips on how to deal with this kind of thing,
where
we discover that we have duplicates, but they might be misspelled.<br>00:12 Um, we have some interesting things in Google sheets that we can use, but they
sort
of fall short.
Discover Misspelled Duplicates
Spintax Content Spinner for Google Sheets
How to Find Fuzzy Matches in Google Sheets
So I'm going to show you how to do this with formulas, but first let's talk about the problem, right?<br>00:25 You have some statuses, maybe this is like a CRM you've put into sheets and maybe some people have added manually.<br>00:32 So you're not using any
data validation
to do this, which if you watch my other videos, you'll see, you'll see a
data validation
you can do to fix this problem before it even starts.<br>00:41 But let's say we have this problem.
When did you learn the secrets of Google Sheets? | Sheet Talking Episode 8 Esa
MESSIEST SPREADSHEET MISTAKE
We have people who are typing in send instead of scent or send in weird ways, send it.<br>00:51 Uh, and they have like followed up in two ways
where
it's like up uppercase or lowercase. Um, everybody has their own system and they're just typing in stuff.<br>01:01 Now we have this same problem maybe with statuses in a CRM or maybe names, right? Uh, we can type in names maybe from a bunch of meetings.<br>01:10 Uh, you'd try to digitize a list or something.
And you know, Betsy becomes Betty a couple of times and you want to be able to find
where
did somebody mess up or very quickly?<br>01:23 Is there any misspellings? Maybe there are none. And you just want to double check. Now what you might know, and you might search for is something called the
duplicate
detector.<br>01:33 But the
duplicate
detector inside of Google sheets would go up to
data
. We go to
data cleanup
,
remove duplicates
. We can do this, right.<br>01:43 We can
remove duplicates
to quickly see if some, if there's anything that's wrong, right?
Discover Misspelled Duplicates
How to Find Fuzzy Matches in Google Sheets
It won't delete anything that's like differently spelled.<br>01:55 So if we just do this, it says, great. We have 10
unique
rows. Awesome. But now, now we have Betsy and Betty here, but I don't know if you just saw what happened.<br>02:06 It deleted everything else. It's a very destructive thing. So we don't want to do that. Right?
How To Delete Name In One Column Only
We don't want to destroy our sheet.<br>02:16 Uh, you might have to, you know,
duplicate
this sheet and do it on another sheet, but like, it always seems a little scary to like destroy something and, and take something from hundreds of rows or thousands of rows.<br>02:28 And if you've been doing this for a while into like 10 rows and you're like, oh no,
where
did all my other
data
go?<br>02:34 Uh, so I want to show you something very quick that you can do to figure out, is there any, uh, misspelled duplicates so we can do literally equals
unique
.<br>02:48 And in this
range
, in this parentheses, we're going to do a colon.
Discover Misspelled Duplicates
Find Duplicates in Other Column
A and that gives us the exact same result as what we just did with the destructive element destructive way.<br>03:00 We now have the list and now we can clearly see Betsy is here and Betty is here, but let's say, even if you do this, you have dozens of rows.<br>03:09 And you're like, Betsy and Betty are way off. And these are the same people, right? We want to fix this, but maybe there's like dozens or hundreds of
unique values
we can add in front of it, a
sort
.<br>03:22 And we can
sort
that by column one.
Enter Name Get Grades
So we do
sort
parentheses
unique
in here as a
range
comma, one to
sort
the column, the only column we have is one.<br>03:32 Then we add another comma and now we want to know, is it ascending or descending? Is it going from
a to Z
or
Z to a
, uh,
a to Z
is ascending.<br>03:41 So we say true. And we have Betsy and Betty together. And now we can clearly see, uh, with our human eyes, right?<br>03:49 A computer knows that these two things are different, but we know, oh, this is the, this is the same.
Highlight Duplicates of Two Columns
So we can say, oh, which one of these is supposed to be correct?<br>03:56 Probably you might not necessarily know exactly who is like the exact correct one. So let's just do a count F and like, let's see how many times these appear, because maybe the majority of times they appear will show us, Hey, that's the correct one.<br>04:14 Maybe we don't have like a, uh, the original document to look at. So we look at count. If we go a colon, a and our
criteria
is going to be the C1.<br>04:25 And now we see assets to auto-fill. Okay. Let's
auto fill
it.
Figure Out Frequency of Numbers
SUM IF Fuzzy Search
So we don't have to type in anything else.<br>04:31 But here 262 times, we have Betsy and only twice we have Betty avocado, all Savannah, not avocado here. We also discover we have fine here.<br>04:42 So again, let's go through this. This is w was really easy. Just a few things we had to remember, which was
unique
, a colon, a and we wrapped that with
sort
.<br>04:59 Then we do column one and we can also do false. If we want to. Now that's going to be descending from
Z to a
, there we go.<br>05:08 Same thing. Now we got count.
Figure Out Frequency of Numbers
Count Color by Row
If the
range
is going to be a colon, a C1, it's going to ask us if we want to auto-fill let's say yes.<br>05:20 And same idea. We have 263 Betsy's and one Betty. Great. Now all we have to do is say, okay, there's only one Betty here, so we can command C copy, command F to find in the sheet.<br>05:36 And there we go. There's Betty. There's the only Betty we know of. And we can just name them Betsy. And if we start typing, boom, we got auto complete.<br>05:44 So now we know, oh, and this also disappeared from this
unique
list automatically.
Figure Out Frequency of Numbers
How to Retype Header Automatically
So we know we fixed it, right?<br>05:50 So that
duplicate
detector is only going to be able to over here in
data
,
data
, cleanup, this removed, it's only going to be able to delete everything, right?<br>06:01 Delete all the
unique
stuff, or the only keep the
unique
, delete all the copies. It's not going to let us actually fix it right now.<br>06:09 This allows us to fix it and know if we fixed it, we can do the same here with fine. So we might not know that there's a fine here.<br>06:19 And also look at this. We can scroll through this.
How to Find Fuzzy Matches in Google Sheets
We're not gonna be able to quickly see that there's hundreds of fins here.<br>06:25 And maybe somebody misspelled. One of them they did the secret is they did, but how do we find it out?<br>06:31 We do
sort
unique
. A colon, a co the
sort
column is one, let's say true this time. True for ascending.<br>06:42 We have Betsy and we also have a Betty, and we also have fine and Finn. Okay. We don't know which one we need to delete.<br>06:49 So we count if the
range
is a colon, a criterion C one, and auto-fill yes, please. Now we have a fine,
where
is that fine?<br>06:59 Oh my God.
Figure Out Frequency of Numbers
SUM IF Fuzzy Search
It was 263 road, 2 63 hoof. Thank God. We didn't have to actually go through all of these and double check.<br>07:09 Now, one thing I want to
share
with you, one caveat, one roadblock you might get into, let's do it with our statuses.<br>07:18 We want to do the same with statuses. We've typed in these statuses by hand for decades. No, maybe a year or two.<br>07:24 And we have hundreds, right? We have these emails that we've sent out. We have a little CRM in a Google sheet.<br>07:29 We want to clean this up. Now, watch what happens when we do
unique
.
Build A Business: PR Agency in a Google Sheet
Email When Cell Changes
This is going to be a little bit similar, but the same, uh, a colon a now we have sent to send, send, send sended, followed up, followed up.<br>07:46 These two are exactly the same, except they're capitalization of up and follow up here. This is a
unique
to the
unique
function
or
formula
where
it thinks of these two as different, but let me show you one issue.<br>08:03 That's going to happen. So let's do the same. And we're going to
sort
a same as we did before
sort
sort
column one.<br>08:11 True. So we're going to have this followed up and followed up together.
Quick Follow Up Email
Now, how do we find out which one is
where
,
where
are they?<br>08:18 This is a little harder. And we're going to get a little bit of an
error
. And we're not. You got to just like, know that this happens.<br>08:25 So count. If the
range
, same aid, a criterion C1, same. We're going to auto-fill it. But check out, followed up and followed up when they are misspelled just by capitalization two and two.<br>08:42 Why is that?
SUM IF Fuzzy Search
Well, the CA the count, if we can see, they are the only two, these are the only two, and they're both counted as two it's because the, if is not looking at capitalization, it thinks these two are exactly the same.<br>09:02 So there's a couple ways to fix this. If you notice this at all in your
data
, and you're like, oh, man, this county is not helping me.<br>09:08 It's actually making a much harder, uh, there's a couple of ways to fix this. And I will show you thusly.<br>09:16 One is, let's say we're searching and we can't find the difference.
Highlight Duplicates of Two Columns
We can do a command F we can type the tip.<br>09:24 Then I click this more options, find and
match case
. So we use
match case
. In this case, we want to search this sheet.<br>09:35 We want to find, and there we go. We find only one, no more results found looping up. It is only finding one.<br>09:42 Great. We can fix that one right now. If we fix it immediately goes away and we still have two here.<br>09:50 Great. We now know we fixed it. Okay. But there's one other way.
Find New Additions to a Main List in Google Sheets
How to Find Fuzzy Matches in Google Sheets
Um, just in case you happen to know like one issue might be, Hey, you have the state of the cleanup.<br>10:01 They're all typed in different ways. There are maybe it, it, the issue is that there's a lot of uppercase and lowercase and MIS not just misspelled with the letters, but uppercase and lowercase.<br>10:12 So here's how we do it. We can do lower. We have a
function
called lower and we do a one.<br>10:20 Great. And we can
auto fill
this, right. But I'm not going to
auto fill
this. I'm going to show you an easy way to get everything.<br>10:27 And we just want one
formula
sometimes.
How Do I Capitalize Each Word in Google Sheets?
Automate Upper Case
Yes, sure. Let's copy paste everything. And we'll get this one, followed up, followed up it, it brings everything down to lower.<br>10:40 We can do the opposite too, if you wish, if you want a everything upper upper case definitely do that. We can definitely, definitely do that, but I don't want to have to copy paste this stuff.<br>10:53 I don't want to have to rely on, uh, this, uh, I would just want one
formula
and here, I'm going to show you a re
formula
.<br>11:05 This is cool. So
array formula
let's do lower.
Run Every Prompt in Every Cell All At Once
Automate Upper Case
And instead of a one, or in addition to Avon, we're going to do a one colon a, because we need an array, uh,
array formula
.<br>11:18 We absolutely can do this. You're not going to get an
error
if you do a one here, but you're not going to get the good stuff out of it.<br>11:25 You're going to get just one, one cell, but we want the entire array, the
entire column
of aid, which is an array, a one to a, and now in one
formula
, we get everything.<br>11:39 Instead of having to copy paste, instead of having to do anything else, we get one
formula
and we have now everything.<br>11:46 All right.
Your First Formula in Google Sheets
Replace Numbers with Asterisks
Now, instead of our
sort
unique
co a column, a we can do column B and this shows up so clearly that, okay, here's followed up too.<br>11:59 It's not doubled up. And if we do a
unique
, uh,
sort range
, a
unique
A eight a, Now we can clearly see, we can look at this
unique
of VB column and this
unique
of the, a column, and clearly see, we know, oh my God, here's our issues.<br>12:28 Oh, we can clearly see this followed up is doubled up here. Oh, this is easier to deal with. This is really easy
data
, uh, cleaning here.<br>12:37 Oh, that's awesome. So we got unique.
Figure Out Frequency of Numbers
Highlight Duplicates of Two Columns
We can
sort
different
unique
, uh, uh, res or columns. Oh my God, this is so much easier and so much better than having to do destructive, uh,
duplicate
detection and do other things.<br>12:55 I hope this was very helpful to you. We got to learn the
unique
function
,
formula
sort
formula
and array, formula, and lower and upper.<br>13:06 And I hope this was really helpful to you to detect duplicates. That might be misspelled, might be misaligned or even miscapitalized, uh, as a bonus here.<br>13:17 Thanks for watching. Bye.</div>
Discover Misspelled Duplicates
Find Duplicates in Other Column