» Combining the Contents of Every N Number of Cells into One Value
CATEGORY - Excel Text Formulas
VERSION - All Microsoft Excel Versions
Problem:Column A contains an imported list of addresses; however, each address has been distributed over 4 cells.
Therefore, we want to combine the contents of each block of four cells so that the addresses will appear as complete entities.
Solution:
Use the IF, MOD, and ROW functions as shown in the following formula:
=IF(MOD(ROW()-ROW($A$2),4)=0, A2&" "&A3&" "&A4&" "&A5," ")
Enter the formula in cell B2 and then copy it down the column until all the addresses in column A are recombined.
Book Store:
Recommended Books:
- F1 Get the Most out of Excel! The Ultimate Excel tip Help Guide
- PowerPoint® 2002 For Dummies®
- How to Use Financial Statements: A Guide to Understanding the Numbers
- Microsoft Office Xp: Advanced Concepts and Techniques: Word 2002, Excel 2002, Access 2002, Powerpoint 2002
- Special Edition Using Microsoft Word 2002
- The 11 Immutable Laws of Internet Branding
No comments have been submitted.

