
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to Add Trailing Spaces to Text in Excel?
Sometimes we may have to copy the data from an Excel sheet to a Notepad file. If we directly copy the data in Excel into Notepad, the whole thing will look very clumsy. So, before copying the data, we have to add trailing spaces for every cell in excel, then we can copy the data to notepad. Trailing spaces are nothing but the empty space after the line without any character after the space, so let us see a simple process to add trailing spaces to the Excel cells.
Add Trailing Spaces to Text in Excel
Here, we will first arrange the data using the LEFT and REPT formulas, then copy the data. Let's take a look at a simple procedure for adding trailing spaces to each cell in Excel.
Step 1
Consider the following Excel sheet with data similar to the image below.

Now try to copy the data into a notepad.
To copy the data, select it all in Excel and press CTRL + C. Then, open a notepad and use the command CTRL + V to paste the copied data from Excel on to the notepad, and it will appear as shown in the following image −

As we can see, the data that we pasted directly from Excel is looking messy and is very annoying to understand, so we can use trailing spaces in Excel to make it look tidy.
Step 2
To add trailing spaces to the spreadsheet, click on an empty cell and enter the formula =LEFT(A1REPT("",10),10) in the formula box and click Enter to create our first result cell.

Now drag from the right corner of the first result using the auto-fill handle to get all the results.

Even though we can’t see any difference between the two sets of data, we can see a huge difference when we copy the data into a notepad.
So, let's paste the generated data into notepad and compare the results.

Conclusion
In this tutorial, we used a simple example to demonstrate how you can add trailing spaces to text in Excel to highlight a particular set of data.
- Related Articles
- How to Add Spaces after Commas in Excel?
- How to Add Spaces between Numbers in Excel?
- How to Add Trailing Zeros to a Column of Numbers in Excel?
- MySQL query to remove trailing spaces
- How To Add Text Box To a Chart In Excel?
- How to Add Quotes around Numbers or Text in Excel
- How To Add Text Cells Together Into One Cell In Excel?
- How to Add Text in the Middle of Selected Cells in Excel?
- How to Add or Pad Leading Zeros to Numbers or Text in Excel?
- How to remove white spaces (leading and trailing) from string value in MongoDB?
- How to add comma at the end of cell/text in Excel?
- Trim a string in Java to remove leading and trailing spaces
- How to Add Text at the Beginning or End of All Cells in Excel?
- How to add 1 to a specified cell if the cell contains certain text in Excel
- How to Convert Text in Text Box to Cell Content in Excel?
