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

Cybersecurity threats proliferating for midsize and smaller businesses

This report details how SMBs can properly protect private information from breaches, design and implement a cybersecurity policy, and create safeguards for training and education.

QUIZ

Test yourself on these often confused words

The spelling checker on your word processing program can do only so much to flag problems. Your best insurance is to learn the troublesome words that trip up writers and use them correctly by the standards of formal, written English.