Converting 'vertical' address list to 'horizontal'
VBA Telemetry pings you when your VBA projects fail
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Converting 'vertical' address list to 'horizontal'

  1. #1
    New Member
    Join Date
    Mar 2002
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a sheet full of addresses formatted vertically:

    A1: Company1 Name
    A2: Company1 Address
    A3: Company1 City, Zip

    A6: Company2 Name
    A7: Company2 Address
    A8: Company2 City, Zip

    I want to show this data horizontally:
    A1: Company1 Name
    B1: Company1 Address
    C1: Company1 City, Zip

    A2: Company2 Name
    B2: Company2 Address
    C2: Company2 City, Zip

    I can do this easily for 1 address, but my data source includes over 1000 addresses. I'm unable to get the cell references to offset beyond the 1st record.

    Any ideas?
    Thanks in advance...

  2. #2
    Guest

    Default

    If your data is uniform (each company consisting of 5 lines) then your can put these formulas in adjacent columns, starting at row 1:

    =OFFSET($A$1,5*ROW()-5,0)
    =OFFSET($A$1,5*ROW()-4,0)
    =OFFSET($A$1,5*ROW()-3,0)

    and copy down.

  3. #3
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Newcastle, UK
    Posts
    1,174
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    A few people help me out with a similar problem, try this link

    http://www.mrexcel.com/board/viewtop...ic=369&forum=2
    "Have a good time......all the time"
    Ian Mac

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com