Broken formulas

By J. Carlton Collins, CPA

Q: In Excel, I use the CONCATENATE function to combine customer address information, but I would like the formula to display the results on separate lines in the same cell instead of just one line. Is there a way to accomplish this?

A: You can achieve the result you want by inserting the phrase CHAR(10) in your formula to add line breaks, and then apply the text wrapping alignment format. In the example below, the formulas in cells H2 and H3 are identical, except in cell H3 I have inserted the phrase CHAR(10) (underlined in red) before and after the street address reference, which forces the results in cell H3 to display on three lines instead of one.

techqa1


J. Carlton Collins
(carlton@asaresearch.com) is a technology consultant, CPE instructor, and a JofA contributing editor.

Note: Instructions for Microsoft Office in “Technology Q&A” refer to the 2013, 2010, and 2007 versions, unless otherwise specified.

Submit a question

Do you have technology questions for this column? Or, after reading an answer, do you have a better solution? Send them to jofatech@aicpa.org. We regret being unable to individually answer all submitted questions.

 

SPONSORED REPORT

How the election may affect taxation of business income

This report summarizes recent proposals to reform the U.S. business income tax system and considers the path to enactment of any such legislation.

VIDEO

How to Excel pivot a general ledger

The general ledger is a vast historical data archive of your company's financial activities, including revenue, expenses, adjustments, and account balances. J. Carlton Collins, CPA, shows how to prepare data for, and mine data with, PivotTables.

QUIZ

Did you follow 2016’s biggest accounting news?

CPAs will remember 2016 as a year of new standards and new faces. How well did you follow the biggest accounting events? The 7 questions in this quiz will help you find out