- Create a blank workbook or worksheet.
- Select the example in the Help topic. 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 Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.
|
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, click Copy
, click Paste
, click Paste Options , and then click Values Only.
Function details
CONCATENATE