Microsoft KB Archive/280388

From BetaArchive Wiki

Article ID: 280388

Article Last Modified on 1/29/2007



APPLIES TO

  • Microsoft Office Excel 2003
  • Microsoft Excel 2002 Standard Edition
  • Microsoft Excel 2000 Standard Edition
  • Microsoft Excel 97 Standard Edition
  • Microsoft Excel 95 Standard Edition
  • Microsoft Excel 2004 for Mac
  • Microsoft Excel X for Mac
  • Microsoft Excel 2001 for Mac
  • Microsoft Excel 98 for Macintosh



This article was previously published under Q280388

SUMMARY

In Microsoft Excel, it is possible to combine, or concatenate, different cells of data into one cell. This article contains two examples.

MORE INFORMATION

Simple Concatenation

The following formula combines data from cells A1, B1 and C1. Write this formula into another column, such as column D1:

=A1&B1&C1


Add Spaces Between Each Column

The following formula combines data from cells A1, B1 and C1 and adds spaces between each set of data. Write this formula into another column, such as column D1:

=A1&" "&B1&" "&C1


REFERENCES

For more information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

113237 Visual Basic macro to concatenate columns of data


290359 How to remove leading space for values converted to strings


154873 Error when you concatenate string and numeric values



Additional query words: XL2000 XL97 XL7 add merge join XL2002 XL2003 macXL2004 macXLX XLX XL2004

Keywords: kbhowto KB280388