Microsoft Excel: 5 Tips to Work with Text

Microsoft Excel Tips & Tricks

Numbers and formulas aren’t the only important data in Microsoft Excel. Text entries are also a key part of worksheet data. Whether the text is a column heading or a critical data element, Excel includes many ways to improve the layout, appearance, and value of the text. Find out how to format text cells, combine data from multiple cells, and other Excel text tips.

1. Formatting Text Cells

Microsoft Excel text tips, working with text in ExcelIf you are having problems sorting or filtering data lists, one of the reasons may be that some data in a column is formatted as text and some as numbers. In an ascending sort order, numbers and punctuation will sort before the text. For instance, entries of 22, 1111, 333 would sort as 22, 333, 1111 if formatted as a number and 1111, 22, 333 if formatted as text (left-to-right). You will get inconsistent results when a combination of formats exists. The Text format is also needed for data that includes a fixed number of places or leading zeros such as 0001234.

One plus in Excel is you can format cells prior to entering data. This is true for text as well as numbers. To format entire columns for text entry, highlight the column(s), then right-click on the column and choose Format Cells. Next, pick the Number tab from the dialog box, and then select the Text format, finish with OK. The Text alignment choice is also found on the Home tab (Alignment group) of the Ribbon. Apply the Text format to existing cells as well for better sorting and filtering results.

2. When Formatting Doesn’t Work

To change a single entry to a text format, type an apostrophe (‘) in front of the data.

3. Combining Two or More Cells (Sounds Like Cat)

Existing data may not be formatted exactly the way you need. For example, if employee names are in 2 columns, Last Name, and First Name, but you want to display a full name for reporting as in Last Name, First Name (Smith, Joe), there are several ways to do this. Options include the CONCATENATE or CONCAT functions and the ampersand (&). In the following examples, Column B is Last Name, and Column C is First Name. To create the Full Name in Column D, the formula would be similar to (either example works):

=CONCAT(B2,”, “,C2) <—– CONCAT is a function that “combines”; additional text like the comma is included in quotations; CONCAT replaces the CONCATENATE function in Excel 2016/2019 as well as Excel 365. The CONCATENATE function will continue to be supported with all versions of Excel.

=B2 & “, ” & C2 <—– the & also combines the values in cells B2 and C2.

4. Another Use of the Ampersand (&) in Excel and Access

In the above example, the ampersand (&) is a character used to combine or add multiple entries. In Excel as well as Microsoft Access, the & is also a special code which means a single ampersand won’t work in most text entries (the result is _ instead). To use an ampersand in a header, footer, or label in Excel or Access, type 2 ampersands, such as TIPS && TRICKS.

5. Wrapping Text in Excel

For multiple line entries of labels, comments, notes, or descriptions in Microsoft Excel, select the cells (or an entire row or column), right-click on the selection and choose Format Cells, pick the Alignment Tab, and check the option for Wrap Text, finish with OK. In Excel, Wrap Text is also found on the Home tab of the Ribbon. The column width will determine how many lines are needed to display the text. Choose this over multiple rows for lengthy text entries for greater readability and for any lists of data. Once the text is formatted to enable wrapping, you can further control the layout by pressing [Alt] + [Enter] to force a line break or a new line within the same cell.

Try these tips and tricks to master your text entries in Microsoft Excel. Discover 6 more tips to work with text in Excel.

Discover more Excel shortcuts, tips, and tricks here.

© Dawn Bjork, MCT, MOSM, CSP®, The Software Pro®
Microsoft Certified Trainer, Productivity Speaker, Certified Speaking Professional

Excel functions, Excel shortcuts, Excel Tips & Tricks
Previous Post
How to Calculate Working Days in Excel & Exclude Weekends
Next Post
Microsoft Excel: How to Change the Starting Page Number in a Worksheet

Related Posts

Join Our Tips Newsletter

Receive 477+ shortcuts & more!

Categories