How to Truncate Text in Excel (6 Suitable Methods)

Get FREE Advanced Excel Exercises with Solutions!

When you have a big dataset with text as a cell value, then you may need to truncate text in Excel. So, if you are looking for how to truncate text in Excel, then you have come to the right place. Today, in this article, I’m going to explain how to truncate text in Excel.

Furthermore, for conducting the session, I will use Microsoft 365 version.


Download Practice Workbook

You can download the practice workbook from here:


6 Methods to Truncate Text in Excel

Here, I will demonstrate 6 suitable methods with detailed steps on how to truncate text in Excel. For your better understanding, I am going to use the following dataset. Which contains two columns. Those are Employee Name and Working Period. The dataset is given below.

Dataset for How to Truncate Text in Excel


1. Applying LEFT Function to Truncate Text in Excel

You can apply the LEFT function to truncate text in Excel. In my dataset, the Working period of every employee is given. At this time, suppose, I want to find out only the joining month of every employee. So, I need to truncate the whole working period into starting month. Now, follow the steps given below.

Steps:

  • Firstly, you must select a new cell D5 where you want to keep the result.
  • Secondly, you should use the formula given below in the D5 cell.
=LEFT(C5,3)

Here, in this formula, I have used only the LEFT function. This function will return a particular number of characters from the start of the text. Where C5 is that text and it will return 1st 3 characters.

Applying LEFT Function to Truncate Text in Excel

  • After that, you must press ENTER to get the result.

  • Now, you can drag the Fill Handle icon to AutoFill the corresponding data in the rest of the cells D6:D13.

Lastly, you will get all the joining months of employees.

Result of Using LEFT Function to Truncate Text in Excel

Read More: How to Truncate Text from Left in Excel (5 Suitable Ways)


2. Employing RIGHT Function for Truncating Text

You can apply the RIGHT function to truncate text in Excel. Through my dataset, you can see the Working period of every employee. At this time, suppose, you want to find out only the Ending year of every employee. So, you need to truncate the whole working period into the ending year. Now, follow the steps given below.

Steps:

  • Firstly, you must select a new cell D5 where you want to keep the result.
  • Secondly, you should use the formula given below in the D5 cell.
=RIGHT(C5,4)

Here, in this formula, I have used only the RIGHT function. This function will return a particular number of characters from the end of the text. Where C5 is that text and it will return the last 4 characters.

  • Thirdly, press ENTER to get the result.

Employing RIGHT Function for Truncating Text in Excel

  • Now, you can drag the Fill Handle icon to AutoFill the corresponding data in the rest of the cells D6:D13.

Finally, you will get all the ending years of employees.

Read More: How to Truncate Text from Right in Excel (5 Easy Methods)


3. Using MID Function to Truncate Text in Excel

Here, you can apply the MID function to truncate text in Excel. Through my dataset, you can see the Working period of every employee. At this time, suppose, you want to find out only the joining month of every employee. So, you need to truncate the whole working period into the starting month. Now, follow the steps given below.

Steps:

  • Firstly, you must select a new cell D5 where you want to keep the result.
  • Secondly, you should use the formula given below in the D5 cell.
=MID(C5,1,3)

Here, in this formula, I have used only the MID function. This function will return a particular number of characters from a defined character place in the text. Where C5 is that text and it will return from the 1st character to the 3rd character.

  • Thirdly, press ENTER to get the result.

Using MID Function to Truncate Text in Excel

  • Then, you can drag the Fill Handle icon to AutoFill the corresponding data in the rest of the cells D6:D13.

Finally, you will get all the starting months of employees.

Read More: How to Truncate Date in Excel (4 Simple Methods)


4. Applying Text to Columns Feature in Excel

At this time, suppose, you want to find out all the details about the employee’s working period like when an employee joined when he left the job, etc. Basically, you want to keep these details in particular columns. So, you need to truncate the text in Excel. Furthermore, to do so, I will use the Text to Columns feature.

  • Here, you have to define the column header. Below, I have attached an image.

Applying Text to Columns Feature to Truncate Text in Excel

  • Firstly, select cell C4:C13.
  • Secondly, from the Data tab >> go to the Data Tools option.
  • Finally, choose the Text to Columns feature.

At this time, you will see a new dialog box named Convert Text to Columns Wizard – Step 1 of 3.

  • Then, you have to mark Delimited – Characters such as commas or tabs separate each field.
  • After that, press Next.

Subsequently, you will see another dialog box named Convert Text to Columns Wizard – Step 2 of 3.

  • Now, you have to mark Comma, Space which is under the Delimiters. Here, you can immediately see the modified data in the Data preview box.
  • Then, press Next.

Again, you will see a dialog box named Convert Text to Columns Wizard – Step 3 of 3.

  • Firstly, you may keep General which is under the Column data format. Here, you should mark the Column data format based on your data type.
  • Then, choose the Destination.
  • Finally, press Finish.

At this time, you will see the warning from Microsoft Excel.

  • Then, press OK on it.

Lastly, you will see the truncated text in separate columns.

Result of Using Text to Columns Feature to Truncate Text in Excel

Read More: How to Truncate Text After Character in Excel (4 Suitable Ways)


5. Use TEXTSPLIT Function to Split Text in Excel

Like the previous one, suppose, you want to find out all the details about the employee’s working period like when an employee joined when he left the job, etc. Basically, you want to keep these details in particular columns. So, you need to truncate the text in Excel. Furthermore, to do so, I will show you another way here. Actually, you can do this by using the TEXTSPLIT function.

  • Firstly, you have to define the column header. Below, I have attached an image.
  • Secondly, you must select a new cell D5 where you want to keep the result.
  • Thirdly, you should use the formula given below in the D5 cell.
=TEXTSPLIT(C5,",")

Here, in this formula, I have used only the TEXTSPLIT function. Actually, this function will separate a text based on a defined delimiter. Where C5 is that text and it will separate the text depending on Comma (,). Furthermore, you must use an Inverted comma to specify the delimiter.

Use TEXTSPLIT Function to Truncate Text in Excel

  • Then, press ENTER to get the result.

As a result, you will see all the information about Steven in separate columns.

  • Now, you can drag the Fill Handle icon to AutoFill the corresponding data in the rest of the cells D6:D13.

Finally, you will get all the truncated text in separate columns.

Read More: How to Stop Excel from Truncating Text (3 Easy Methods)


6. Employing Excel Flash Fill Feature to Truncate Text

In this method, I’m going to use the Flash Fill feature to truncate text in Excel. Actually, this is an interesting and simple way. Basically, you will truncate the text into separate columns by following a Pattern. Now, let’s see the steps given below.

Steps:

  • Firstly, you have to write the target result manually up to which you can see Excel’s suggestion. For example, I have written “Aug”, and “Ma”, and then I got the suggestion.

Actually, you have to do this to show Excel a pattern. So, when Excel understands your pattern then Excel will suggest you the output. Below, I have attached the image.

Employing Excel Flash Fill Feature to Truncate Text

  • Subsequently, press ENTER to get the result.

Finally, you will get all the starting months of employees.

Note: This method will only work in Excel 365 version.

How to Wrap Text in Excel Using Shortcuts

Here, in this section, I will show you how to wrap text in Excel using the Keyboard shortcuts. Suppose you have the following dataset. Where in the column named Working Period the text stings are large and so you want to wrap text to understand the dataset. Actually, in this case, you may expand the column and easily can see the whole text. But whenever you have long enough text then you may need to wrap the text.

How to Wrap Text in Excel Using Shortcuts

The steps are given below.

Steps:

  • Firstly, select the dataset.
  • Secondly, press AIT+H+W.

Lastly, you will see that all the texts are wrapped. Furthermore, from the Home tab >> you can check whether the texts are wrapped or not.


Practice Section

Now, you can practice the explained method by yourself.

Practice Section to Truncate Text in Excel


Conclusion

I hope you found this article helpful. Here, I have explained 6 suitable methods to Truncate text in Excel. You can visit our website Exceldemy to learn more Excel-related content. Please, drop comments, suggestions, or queries if you have any in the comment section below.


Related Articles

Musiha Mahfuza Mukta
Musiha Mahfuza Mukta

I am Musiha, graduated from Naval Architecture and Marine Engineering Dept., BUET, currently residing in Dhaka, Bangladesh. And my passion is to grow up my skillsets with industry demands.

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo