Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Conditional Formatting Color Scales Examples in Excel
  • Excel Line Chart
  • How to Create Gantt Chart in Excel
  • How To Perform and Interpret Regression Analysis in Excel
  • Remove Duplicates Example in Excel

References

  • Multi-criteria lookup and transpose in Excel
  • How to retrieve first match between two ranges in Excel
  • How to get address of named range in Excel
  • How to use Excel ROW Function
  • How to get address of first cell in range in Excel

Data Validations

  • Excel Data validation require unique number
  • Data validation must not exist in list
  • Excel Data validation with conditional list
  • Excel Data validation only dates between
  • Excel Data validation date in next 30 days

How to add a line break with a formula while joining text strings in Excel

by

To add a line break with a formula, you can use the concatenation operator (&) along with the CHAR function.

Note: make sure you have text wrap enabled on cells that contain line breaks.

Formula

="text"&CHAR(10)&"text"

Explanation

In the example shown the formula in E4 is:

=B4&CHAR(10)&C4&CHAR(10)&D4

How this formula works

This formula “glues together” the pieces of text that appear in B4, C4, and D4 using the ampersand (&) which is the concatenation operator in Excel.

In between each piece of text, the CHAR function appears with an argument of 13. The character code for a line break in Excel varies depending on the platform. On Windows, the  code is 10 and on a Mac it’s 13.

The result of the concatenation is text with line breaks:

Traci Brown¬
1301 Robinson Court¬
Saginaw, MI 48607

To know more on how to join multiple text strings in Excel you can visit: Join Text Strings Using Concatenate or ‘& Operator’ .

Post navigation

Previous Post:

Get day from date in Excel

Next Post:

Calculate loan interest in given year in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • TRUE function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • How to use IFS function in Excel

Date Time

  • How to calculate Next working/business day in Excel
  • Generate series of dates by weekends in Excel
  • Display Days until expiration date in Excel
  • NOW function: Description, Usage, Syntax, Examples and Explanation
  • Dynamic date list in Excel

Grouping

  • Group times into unequal buckets in Excel
  • Group numbers at uneven intervals in Excel
  • If cell contains one of many things in Excel
  • Group arbitrary text values in Excel
  • Categorize text with keywords in Excel

General

  • Count cells that contain errors in Excel
  • Count cells that do not contain errors in Excel
  • Count cells less than in Excel
  • Advanced Number Formats in Excel
  • Count cells that do not contain many strings in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning