+ Reply to Thread
Results 1 to 5 of 5

How to transpose variable data from column B to multiple rows data is seperated by 2 blank

  1. #1
    Registered User
    Join Date
    07-21-2010
    Location
    UK
    MS-Off Ver
    MSOffice Pro 2019
    Posts
    2

    How to transpose variable data from column B to multiple rows data is seperated by 2 blank

    Hi, everyone, this is my first post although I have followed the forums guidance for years and many thanks to all the contributors.

    I have a workbook with around 100 plus tabs, each tab is a separate construction trade with contact details, sample tab attached.

    I am trying to create a list that would take the tab title as column A and transpose the Co Name & Address detail in column B into rows followed by the remaining data fields.

    Addresses could be anything from 3 to 7 rows for each but each separated by 2 blank lines in column B.

    I have tried various look ups and third party tools to try an achieve the desired result with many failures, hence my post in the hope someone may be able to help.

    I have very little VBA experience apart from understanding how to copy code into macro and run, but I am willing to learn.

    Many Thanks in anticipation.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: How to transpose variable data from column B to multiple rows data is seperated by 2 b

    Hi GWhite1956: I think I understand what you're after. However, Could you add another tab for one additional construction trade with some corresponding data, and an end result tab, which I'm assuming is a compilation of all the data from all the other tabs?

    Pete

  3. #3
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: How to transpose variable data from column B to multiple rows data is seperated by 2 b

    Is the address in column "B" needs to be spilt into several columns ?
    Can you show a final result for some few records
    - Battle without fear gives no glory - Just try

  4. #4
    Registered User
    Join Date
    07-21-2010
    Location
    UK
    MS-Off Ver
    MSOffice Pro 2019
    Posts
    2

    Re: How to transpose variable data from column B to multiple rows data is seperated by 2 b

    Hi thanks for the replies, it still amazes me that there are so many people out there willing to help. Attached an amended file with an output tab. The address in colum B in the trades tabs need split into several columns. Thanks
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: How to transpose variable data from column B to multiple rows data is seperated by 2 b

    This isn't a perfect solution (i.e. the town for The Tiling Co), but perhaps it will help speed things up a little.
    There are a lot of formulas involved, so I am not going to mention them individually.
    The formulas in columns J:R arrange the information from column B into rows and the formulas in columns T:AF add the information from columns C:F and remove the blank rows.
    Copying J1:AF4 from either sheet to a new sheet should start the process. Next select J4:AF4 and drag the fill handle down until you get #NUM errors in a row.
    From there I just did a copy and paste to the outcome sheet (paste special text).
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Transpose or Convert column data set to multiple columns-variable!
    By itglaafs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-31-2017, 01:20 PM
  2. How Transpose Multiple Rows of Data into Two Column
    By anandthak in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-01-2015, 07:00 AM
  3. Replies: 7
    Last Post: 10-03-2014, 05:04 AM
  4. Replies: 1
    Last Post: 06-30-2014, 07:23 PM
  5. Help needed for a MACRO to transpose data from multiple variable columns into rows.
    By excel_starter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2014, 02:30 PM
  6. How to transpose variable data from column A to multiple rows
    By Davidko19 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 01:31 PM
  7. Transpose Variable Data from Column A to Multiple Rows
    By downthesun in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2013, 06:45 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1