From the course: Excel 2016: Tips and Tricks
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Clean up spaces quickly with the TRIM function
From the course: Excel 2016: Tips and Tricks
Clean up spaces quickly with the TRIM function
- [Voiceover] We're looking at the worksheet called HR List - spaces. And as you look in column C, you can see there're some problems. We've got some leading spaces in front of these. Sometimes these don't emerge until we sort data. You might have had some entries down around 200 or whatever with leading spaces, we wouldn't see those necessarily. But if we sort the data, we're going to have a problem. And there're other potential problems too. Any time we're trying to make comparison with data in one column or another or trying to match up words in text entries, if there's a trailing space or a leading space in one location and not the other, we're not going to get a match. And sometimes we see too many spaces between words. All of these can be cleaned up with the function called TRIM. Let's show what happens, first of all, if we sort the data. I'll just click in column C, go to the Data tab, click the A-Z button. There's the data and we see these problems. Now there could be farther…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Sort data with single buttons4m 34s
-
(Locked)
Clean up spaces quickly with the TRIM function4m 37s
-
(Locked)
Identify and eliminate duplicates6m 21s
-
(Locked)
Split column data using Text to Columns and Flash Fill5m 26s
-
(Locked)
Join data with the TEXTJOIN function and Flash Fill4m 46s
-
(Locked)
Ensure unique entries with data validation rules5m 19s
-
(Locked)
Force typed dates to be weekdays only with data validation rules4m 31s
-
(Locked)
Display unique items from large lists5m 17s
-
(Locked)
-
-
-