Guide: Inserting Manual Inputs Into Cells Using Formulas in Microsoft Excel
Guide: Inserting Manual Inputs Into Cells Using Formulas in Microsoft Excel
Quick Links
- Add Text to the Beginning of a Cell
- Add Text to the End of a Cell
- Add Text After a Specific Number of Characters
- Add Text After a Specific Character
Key Takeaways
To add text to the beginning or the end of your existing text, use the “&” operator or the CONCAT function. Using other functions, you can add text at the nth character or before or after a specific character.
Do you want to add some text to the beginning, middle, or end of the existing text in your cells? Microsoft Excel has you covered. You can use a formula or function to append text to your cells, including finding a specific character and adding your text before or after it. Here’s how.
Add Text to the Beginning of a Cell
To add some text before your existing text in a cell, simply use the &
(ampersand) operator or the CONCAT
function. Both work the same way.
To use them, first, open your Excel spreadsheet and select the cell where you want to display your merged text.
In the chosen cell, type the following formula and press Enter. In this formula, replace Mr.
(note the space after the text) with the text you want to add and B2
with the reference of the cell where you want to append your text.
=”Mr. “&B2
Note that we’ve enclosed the text to add in double-quotes. You can add any text, spaces, numbers, or symbols within these quotes, and Excel will append them to your existing cell content.
If you’d like to use the CONCAT function , then in the cell where you want to display the result, enter the following function and press Enter. Here, replace Mr.
with the text to add and B2
with the cell reference where your existing text is.
=CONCAT(“Mr. “,C2)
Your result will look like the following:
Related: How to Add Space Between Text and Cell Borders in Excel
Add Text to the End of a Cell
To append your custom text at the end of your existing text, use the same &
(ampersand) operator or the CONCAT
function.
If you’d like to use the &
operator, then in your Excel spreadsheet, click the cell where you want to display the result.
In the selected cell, type the following formula and press Enter. Here, replace B2
with the cell where your existing text is and (Journalist)
with the text you want to append.
=B2&” (Journalist)”
There’s a space before (Journalist)
so that this custom text adds a space right after your existing text ends.
If you’d like to use the CONCAT
function, then in your chosen cell, enter the following and press the Enter key. Once again, replace B2
with the cell containing your existing text and (Journalist)
with the text you want to add.
=CONCAT(B2,” (Journalist)”)
And here’s what the result will look like:
Related: How to Add Alternative Text to an Object in Microsoft Excel
Add Text After a Specific Number of Characters
Excel allows you to add custom text after the specified number of characters in your existing text or after a specific character.
To add your text after a specific number of characters, use the LEFT
, RIGHT
, and LEN functions in combination with the &
operator.
For example, to add a -
(hyphen) after the second character in the C2
cell’s content, select the cell where you want to display the result.
In the selected cell, type the following formula and press Enter. Here, replace all instances of C2
with your cell reference, -
(hyphen) with the text you want to add, and 2
with the number of characters after which you want your custom text to appear.
=LEFT(C2,2)&”-“&RIGHT(C2,LEN(C2)-2)
Soon as you press Enter, Excel will add the specified text and display the result.
Add Text After a Specific Character
In case you want to add text after or before a specific character in a cell’s text content, then use Excel’s LEFT
, SEARCH
, RIGHT
, and LEN
functions.
For instance, to add 212
(NYC’s area code) after the #
(hash) symbol, you’ll use the following formula. Here, you’ll replace C2
with the cell where your existing text is, #
with the character after which you want to append your text, and 212
with the text to add.
=LEFT(C2,SEARCH(“#”,C2))&”212”&RIGHT(C2,LEN(C2)-SEARCH(“#”,C2))
You’ll see the result in your selected cell.
Once you’ve used a formula or function from the above sections, you can automatically copy it for all your records in the sheet. To do that, from the bottom-right corner of the cell where you’ve entered your function or formula, drag downwards until all your records are covered. And that’s all.
Is your concatenated text not fitting Excel’s default cell size? There’s a way to shrink or expand your cells .
Also read:
- [New] 2024 Approved Propel Your Content Using IGTV Hashtags to Expand Audiences
- [Updated] Elevate Your Zoom Sessions Utilizing Filters Effectively
- [Updated] Skyrocketing Channels Essential Narrative Methods
- [Updated] Your First Steps in High-Quality YouTubing for 2024
- 1. Comprehensive Guide to WinXVideo AI: Official Technical Specifications Revealed
- 2024 Approved Quick Hands Turning Photos Into Compelling YouTube Thumbnails
- Clarifying the Image: Solutions for Crystal-Clear Outriders Graphics
- Expert Guide: Fixing Launch Errors for the Thaumaturge Program on PC Systems
- Expert Tips to Restart Your MSI Mystic Light Connectivity with Windows Systems
- Fixes for Persistent Issues - How to Prevent NieR: Automata From Crashing
- Fixing 2024 Stutter and Lag in Assassin's Creed Odyssey on Windows PC - Step-by-Step Tips
- How to Optimize Your PC for Smooth Frame Rates While Playing F1 2021 Racing Simulator
- In 2024, Expert Tips for Selecting the Right Editor Filmora and Democracy Creator Guide
- In 2024, Leveraging Zoom for Superior Skype Interactions & Communication
- Keep Up with Technology: The Definitive Guide to Update Your Webcam Drivers in Windows 11
- Team Fortress 2 Won't Start? Here Are Solutions to Get You Game On!
- Upgrade Your Laptops with Sabrent Rocket Nano 2242 SSD – Perfect for Lenovo Legion Go and Mini Desktops
- War Thunder Performance Optimization: Ultimate Guide to Fixing Low FPS Issues with Latest Tips
- Why Is 'Call of Duty: Warzone' Still Crashing on My PC ? Here Are the Fixes!
- Title: Guide: Inserting Manual Inputs Into Cells Using Formulas in Microsoft Excel
- Author: Paul
- Created at : 2024-11-29 16:12:37
- Updated at : 2024-12-06 16:42:49
- Link: https://win-able.techidaily.com/guide-inserting-manual-inputs-into-cells-using-formulas-in-microsoft-excel/
- License: This work is licensed under CC BY-NC-SA 4.0.