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

Keeping client information safe in an age of scams and security threats

A look at the Dirty Dozen tax scams and ways to protect taxpayer information.

TAX PRACTICE CORNER

More R&D tax help

"Can I use the R&D credit?" PATH Act enhancements make the credit more attractive to a wider range of taxpayers.

QUIZ

News quiz: Tax-related data breach explained

News about a data breach that affected about 100,000 people, the IRS’s budget for the fiscal year, and the 2018 health spending account limits received attention recently. See how much you know with this short quiz.