Microsoft Excel logo.

So as to add textual content to the start or the tip of your current textual content, use the “&” operator or the CONCAT perform. Utilizing different capabilities, you’ll be able to add textual content on the nth character or earlier than or after a particular character.

Do you wish to add some text to the start, center, or finish of the prevailing textual content in your cells? Microsoft Excel has you lined. You should use a method or perform to append textual content to your cells, together with discovering a particular character and including your textual content earlier than or after it. Right here’s how.

Add Textual content to the Starting of a Cell

To add some text earlier than your current textual content in a cell, merely use the & (ampersand) operator or the CONCAT perform. Each work the identical method.

To make use of them, first, open your Excel spreadsheet and choose the cell the place you wish to show your merged textual content.

Select a cell.

Within the chosen cell, kind the next method and press Enter. On this method, change Mr.  (notice the area after the textual content) with the textual content you wish to add and B2 with the reference of the cell the place you wish to append your textual content.

="Mr. "&B2

Observe that we’ve enclosed the textual content so as to add in double-quotes. You may add any textual content, areas, numbers, or symbols inside these quotes, and Excel will append them to your current cell content material.

Add text before text using the & operator.

Should you’d prefer to use the CONCAT function, then within the cell the place you wish to show the consequence, enter the next perform and press Enter. Right here, change Mr.  with the textual content so as to add and B2 with the cell reference the place your current textual content is.

=CONCAT("Mr. ",C2)

Your consequence will appear like the next:

Add text before text using CONCAT.

RELATED: How to Add Space Between Text and Cell Borders in Excel

Add Textual content to the Finish of a Cell

To append your customized textual content on the finish of your current textual content, use the identical & (ampersand) operator or the CONCAT perform.

Should you’d like to make use of the & operator, then in your Excel spreadsheet, click on the cell the place you wish to show the consequence.

Choose a cell.

Within the chosen cell, kind the next method and press Enter. Right here, change B2 with the cell the place your current textual content is and (Journalist)with the textual content you wish to append.

=B2&" (Journalist)"

There’s an area earlier than (Journalist) in order that this tradition textual content provides an area proper after your current textual content ends.

Add text after text using the & operator.

Should you’d like to make use of the CONCAT perform, then in your chosen cell, enter the next and press the Enter key. As soon as once more, change B2 with the cell containing your current textual content and (Journalist) with the textual content you wish to add.

=CONCAT(B2," (Journalist)")

And right here’s what the consequence will appear like:

Add text after text using CONCAT.

RELATED: How to Add Alternative Text to an Object in Microsoft Excel

Add Textual content After a Particular Variety of Characters

Excel means that you can add customized textual content after the desired variety of characters in your current textual content or after a particular character.

So as to add your textual content after a particular variety of characters, use the LEFT , RIGHT , and LEN functions together with the & operator.

For instance, so as to add a - (hyphen) after the second character within the C2 cell’s content material, choose the cell the place you wish to show the consequence.

Within the chosen cell, kind the next method and press Enter. Right here, change all situations of C2 together with your cell reference, - (hyphen) with the textual content you wish to add, and 2 with the variety of characters after which you need your customized textual content to look.

=LEFT(C2,2)&"-"&RIGHT(C2,LEN(C2)-2)

Quickly as you press Enter, Excel will add the desired textual content and show the consequence.

Insert text after specific characters.

Add Textual content After a Particular Character

In case you wish to add textual content after or earlier than a particular character in a cell’s textual content content material, then use Excel’s LEFT , SEARCH , RIGHT , and LEN capabilities.

As an illustration, so as to add 212 (NYC’s space code) after the # (hash) image, you’ll use the next method. Right here, you’ll change C2 with the cell the place your current textual content is, # with the character after which you wish to append your textual content, and 212 with the textual content so as to add.

=LEFT(C2,SEARCH("#",C2))&"212"&RIGHT(C2,LEN(C2)-SEARCH("#",C2))

You’ll see the end in your chosen cell.

Append text after a specific character.

When you’ve used a method or perform from the above sections, you’ll be able to automatically copy it for all your records within the sheet. To try this, from the bottom-right nook of the cell the place you’ve entered your perform or method, drag downwards till all of your information are lined. And that’s all.

Is your concatenated textual content not becoming Excel’s default cell measurement? There’s a option to shrink or expand your cells.


Source link