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

Revenue recognition: A complex effort

Implementing the new standard requires careful judgment. Learn how to make significant accounting judgments and document them and collaborate with peers for consistent application.

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

News quiz: Taking an economic snapshot and looking to the future

Recent news included IRS actions that affect individuals and partnerships and a possibly influential move by a Big Four accounting firm.Take this short quiz to see how much you know about the news.