Use the Excel CONCATENATE function to practice combining names in your spreadsheet using this interactice.
My boss wants me to copy a list of names from a spreadsheet to a text document. But when I copy and paste, the formatting ends up all weird. I think it'd work better if the first and last names were in the same column, but it'll take forever to type all that."
Once you've downloaded our spreadsheet, open the file in Excel or another spreadsheet application. It looks like we have a list of contact information. Each person has his or her own row, and there are columns for each person's first name, last name, and other contact information.
We want the information from the Last Name and First Name column to appear together in the same cell, but it would take a long time to type everything by hand. Rather than combining this data manually, we can use the CONCATENATE function to do it automatically.
The word concatenate is just another way of saying "to combine" or "to join together". The CONCATENATE function allows you to combine text from different cells into one cell. In our example, we can use it to combine the text in column A and column B to create a combined name in a new column.
Before we start writing the function, we'll need to insert a new column in our spreadsheet for this data. In our example, we'll insert it to the right of column B.
We're ready to enter our function into cell C2. As usual, we'll start with the equals sign (=) followed by the function name and an open parenthesis:
Now we're ready to enter our arguments. The arguments tell the CONCATENATE function what cells to combine. In our example, we want to combine the text in cells A2 and B2, so we'll make each of those an argument:
OK, let's run this function!
You may have noticed that the first and last names don't have a space in between them. That's because CONCATENATE will combine exactly what you tell it to combine, and nothing more. If you want punctuation, spaces, or any other details to appear in the cell, you’ll need to tell CONCATENATE to include it.
To add a space, we can simply add another argument: " " (two double quotes around a space). Make sure the three arguments are separated by commas:
Perfect! Now we can use the fill handle to copy the formula to the remaining cells in this column.
That's it! We're ready to hand this back to our friend:
Thanks for helping me figure this out so fast! Your Pad Thai is on me tonight!"