• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Lesson 148: How to remove spaces in Excel

AnonyViet by AnonyViet
January 25, 2023
in Office
0

TRIM function in Excel Remove leading, trailing, and trailing spaces. Use the SUBSTITUTE function to remove all spaces or spaces.

Join the channel Telegram of the AnonyViet 👉 Link 👈

How to remove spaces in Excel

1. The TRIM function below removes 2 leading spaces, 3 extra spaces and 2 trailing spaces.

Lesson 148: How to remove spaces in Excel

2. To get the length of a string, use the LEN function.

Lesson 148: How to remove spaces in Excel 15

Explanation: the LEN function counts 2 spaces, 2 characters, 4 spaces, 3 characters and 2 spaces.

3. You can use the SUBSTITUTE function to remove all spaces.

Lesson 148: How to remove spaces in Excel 16

4. The CLEAN function below removes a non-printable character, CHAR(7).

Lesson 148: How to remove spaces in Excel 17

5. Simply combine CLEAN and TRIM to remove non-printable characters and spaces.

Lesson 148: How to remove spaces in Excel 18

6. CLEAN function removes line breaks. To enter a line break, press ALT + ENTER.

Lesson 148: How to remove spaces in Excel 19

7. You can also use the SUBSTITUTE function to remove the line break, CHAR(10) and replace it with something else. For example, commas and spaces.

Lesson 148: How to remove spaces in Excel 20

The CLEAN function does not remove all ASCII characters. Just use the SUBSTITUTE function to remove other ASCII characters.

8. First, figure out the character’s code.

Lesson 148: How to remove spaces in Excel 21

9. Next, use SUBSTITUTE and CHAR to return the text string without this character.

Lesson 148: How to remove spaces in Excel 22

10. If your text contains non-breaking spaces, CHAR(160), the TRIM function does not work.

Lesson 148: How to remove spaces in Excel 23

11. You can use the SUBSTITUTE function to replace non-breaking spaces, CHAR(160) with normal spaces, CHAR(32). Don’t forget to add a TRIM function to remove extra spaces.

Lesson 148: How to remove spaces in Excel 24
In addition, you can also view many other excel articles here.

The article achieved: 5/5 – (100 votes)

Tags: ExcelLessonremovespaces
Previous Post

TOP Game PC hay nhất 2022

Next Post

6 habits that can cause Windows to break

AnonyViet

AnonyViet

Related Posts

How to add Watermark to Google Docs to protect copyright
Office

How to add Watermark to Google Docs to protect copyright

April 19, 2026
Instructions on how to hide formulas in Excel to secure data
Office

Instructions on how to hide formulas in Excel to secure data

February 6, 2026
Top who creates the most beautiful presentation slide today
Office

Top who creates the most beautiful presentation slide today

September 23, 2025
Automatically check and correct spelling errors on Google Docs
Office

Automatically check and correct spelling errors on Google Docs

February 23, 2025
Instructions for downloading Google Docs files easily on any device
Office

Instructions for downloading Google Docs files easily on any device

December 18, 2024
Launching AI image creation feature on Google Docs
Office

Launching AI image creation feature on Google Docs

November 20, 2024
Next Post
6 habits that can cause Windows to break

6 habits that can cause Windows to break

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

April 25, 2026
Compare Poco X8 Pro and Poco X7 Pro: A new step for the “king” of mid-range performance

Compare Poco X8 Pro and Poco X7 Pro: A new step for the “king” of mid-range performance

April 24, 2026
How to compress online videos for free without losing quality

How to compress online videos for free without losing quality

April 24, 2026
Top 5 apps to view good days 2026 for free on iOS and Android

Top 5 apps to view good days 2026 for free on iOS and Android

April 23, 2026
Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

April 25, 2026
Compare Poco X8 Pro and Poco X7 Pro: A new step for the “king” of mid-range performance

Compare Poco X8 Pro and Poco X7 Pro: A new step for the “king” of mid-range performance

April 24, 2026
How to compress online videos for free without losing quality

How to compress online videos for free without losing quality

April 24, 2026
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

Tips to completely turn off CAPTCHA codes on iPhone and Mac are super simple

April 25, 2026
Compare Poco X8 Pro and Poco X7 Pro: A new step for the “king” of mid-range performance

Compare Poco X8 Pro and Poco X7 Pro: A new step for the “king” of mid-range performance

April 24, 2026
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply