Let's say you want to create a single Full Name column by combining two other columns, First Name and Last Name. To combine first and last names, use the CONCATENATE function or the ampersand (&) operator.
Example
The example may be easier to understand if you copy it to a blank worksheet.
How to copy an example
- Create a blank workbook or worksheet.
- Select the example in the Help topic.
Note Do not select the row or column headers.
Selecting an example from Help
- Press CTRL+C.
- In the worksheet, select cell A1, and press CTRL+V.
- To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.
|
|
| A |
B |
| First Name |
Last Name |
| Nancy |
Davolio |
| Andrew |
Fuller |
| Formula |
Description (Result) |
| =A2&" "&B2 |
Combines the names above, separated by a space (Nancy Davolio) |
| =B3&", "&A3 |
Combines the names above, separated by a comma (Fuller, Andrew) |
| =CONCATENATE(A2," ",B2) |
Combines the names above, separated by a space (Nancy Davolio) |
|
Note To replace the formula with the results, select the cells, and on the Home tab, in the Clipbboard group, click Copy
, click Paste
, and then click Paste Values.
Function details
CONCATENATE