+ Reply to Thread
Results 1 to 2 of 2

VBA transpose specific columns to rows based on value in other column

  1. #1
    Registered User
    Join Date
    11-17-2014
    Location
    Copenhagen, Denmark
    MS-Off Ver
    MS Office 2010
    Posts
    14

    VBA transpose specific columns to rows based on value in other column

    Hi,

    I would like to transpose a specific column to rows based on the value in another column. So far I have managed to get the code to transpose the value in the column. However I would like it to transpose the same values for each individual variable in column A i.e. so that in this case would paste the same values in lines 1 to 3, 4 to 5, 6 to 7, 8 to 10 etc. See attached example

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by MB1983DK; 04-15-2021 at 08:54 AM. Reason: Solved with formula instead

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,713

    Re: VBA transpose specific columns to rows based on value in other column

    Hi MB1983DK,

    If this is solved & you don't need VBA code, you can mark the thread as [SOLVED] from the Thread Tools above your first post. However, if you still need VBA option, does the attached file show your data before the macro or this is what you're looking for after running the macro ?

+ 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 Specific Column Ranges to Rows, Autofill?
    By rgreenoe in forum Excel General
    Replies: 5
    Last Post: 09-30-2020, 01:18 PM
  2. [SOLVED] Macro to transpose rows into columns and paste to specific columns in another sheet
    By LDLDLD in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-05-2019, 11:08 AM
  3. Formula to transpose rows to column with specific criteria
    By hern in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 11-13-2017, 05:53 AM
  4. Transpose column to rows based on values in two other columns
    By jacobburdis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-11-2017, 01:48 PM
  5. Transpose Columns into Rows based on Unique Identifier for n columns
    By bhavt010785 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-01-2017, 11:55 AM
  6. Moving rows to columns based on information in a specific column
    By adamdpayne in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-02-2014, 10:49 AM
  7. [SOLVED] Transpose Rows to Columns VBA Code and delete specific account numbers
    By cowboys in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-19-2012, 06:10 PM

Tags for this Thread

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