Combine Data From Two Cells Into One


Key to Instructions
To help readers follow the instructions in this article, we use two different typefaces.
Boldface type identifies the names of icons, agendas, URLs and application commands.
Sans serif type indicates instructions and commands that users should type and file names.
Q. I need to combine the data from two cells and put them into a third cell. I’ve heard that it can be done, but I don’t know how. Can you help?

A. What you want to do, in technical terms, is concatenate the content of two cells into a third—a technique often used in consolidating data. The basic formula, where, for example, 56 is in cell B1 and 78 is in C1 and you want them combined as one number in D1, is

=concatenate(B1,C1)

The shorthand formula is

=B1&C1

If you want a space between the two numbers, use this formula—placing as many spaces as you wish between the quote marks:

=concatenate(B1,” “,C1)

And the shorthand version is

=B1&” “&C1

If you have a list of names, with first names in one column and last names in another column, and you want the two names of each person joined in one column with a space between them, use this formula:

=concatenate(B1,” “,C1)

But if you want the last name first, separated by a comma, use this formula:

=concatenate(B1”, “C1)

Or this shorthand formula:

=B1&”, “&C1

For more on this subject, see “ Make Excel a Little Smarter.

SPONSORED REPORT

Why cybercriminals are targeting CPAs

This free report expands on the most commonly found scams, why education and specialized IT knowledge help to lessen security vulnerabilities, and why every firm should plan carefully for how it would respond to a breach.

PODCAST

How tax reform — and Excel — are changing the CPA Exam

Mike Decker, the vice president of examinations at the AICPA, discusses changes being made to the exam as a result of tax reform — and about how Excel will now be available for use on the test.