AllExperts > Excel 
Search      
Excel
Volunteer
Answers to thousands of questions
 Home · More Excel Questions · Answer Library  · Encyclopedia ·
More Excel Answers
Question Library

Ask a question about Excel
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Tushar Sakhalkar
Expertise
Formulae in Excel. VB Macros.. Though not really expert in this.

Experience
About 8 years

Education/Credentials
B.Tech.

 
   

You are here:  Experts > Computing/Technology > Microsoft Software > Excel > Transposing a list with a blank line dividing contacts

Excel - Transposing a list with a blank line dividing contacts


Expert: Tushar Sakhalkar - 6/10/2008

Question
I have a list of addresses with a blank line dividing one contact from the next.  I have included the example below.  Note that not all contacts have the same amount of lines.  I am currently using a macro that transposes the text every 5 lines but I need something that does every blank line and I don't know how to alter this.     

AAG - Club Empleados  
Av. Corrientes 538 piso 11
(1043) Capital Federal
4325-1113
4325-8660
handicap@aag.org.ar

ABRIL CLUB DE CAMPO
autopista BS AS- La Plata km 33,5
(1884) BERAZATEGUI
4215-4000 4342-6618/6620
starter@abrilclub.com.ar
www.abrilgolf.com.ar

AERO CLUB FORTIN LOBOS
RUTA NAC. Nš 205 KM. 106
(7240) LOBOS
02227-421700 02227-(15)613865
www.afl-golf.com.ar

This is how I would like the macro to respond with.  
AAG - Club Empleados     Av. Corrientes 538 piso 11    (1043) Capital Federal    4325-1113    4325-8660    handicap@aag.org.ar
ABRIL CLUB DE CAMPO    autopista BS AS- La Plata km 33,5    (1884) BERAZATEGUI    4215-4000 4342-6618/6620    starter@abrilclub.com.ar    www.abrilgolf.com.ar
AERO CLUB FORTIN LOBOS    RUTA NAC. Nš 205 KM. 106    (7240) LOBOS    02227-421700 02227-(15)613865    www.afl-golf.com.ar    

Please help

Answer
If -

A1 - AAG - Club Empleados  
A2 - Av. Corrientes 538 piso 11
A3- (1043) Capital Federal
A4 - 4325-1113
A5 - 4325-8660
A6 - handicap@aag.org.ar
A7 -
A8 - ABRIL CLUB DE CAMPO
A9 - autopista BS AS- La Plata km 33,5
A10- (1884) BERAZATEGUI
A11- 4215-4000 4342-6618/6620
A12- starter@abrilclub.com.ar
A13- www.abrilgolf.com.ar

Do you want (in another sheet)-
A1 = A1 SPACE A2 SPACE A3 SPACE A4 SPACE A5
A2 = A6
A3 = A8 SPACE A9 SPACE A10 SPACE A11 SPACE A12
A2 = A13

OR
A1 = A1; B1 = A2, C1 = A3, D1 = A4, E1 = A5, F1 = A6
B1 = A8; B2 = A9, C2 = A10, D2 = A11, E2 = A12, F2 = A13

Please let me know.
Accordingly I will write a MACRO for you.

Regards

Add to this Answer   Ask a Question


 
About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.