+ Reply to Thread
Results 1 to 8 of 8

Macro that transposes the information as follows

  1. #1
    Registered User
    Join Date
    03-09-2021
    Location
    Colombia
    MS-Off Ver
    2016
    Posts
    4

    Question Macro that transposes the information as follows

    Hello,

    I need your help to make a macro that does the following:

    They give me the data in this way (all this information is in column A)
    Categoria 1
    a
    b
    c
    d
    b1
    c1
    d1
    b2
    c2
    d2
    Categoría 2
    z
    w
    x
    y
    xy
    w1
    x1
    y1
    w2
    x2
    y2
    xy2
    w3
    x3
    y3
    w4
    x4
    y4
    xy4

    And the macro should convert it just like in the excel file or the image

    2.PNG


    At the moment I have this as a code but it does not do me well
    Please Login or Register  to view this content.
    I would greatly appreciate your help
    Attached Files Attached Files
    Last edited by Nahomi23; 03-09-2021 at 02:01 PM.

  2. #2
    Banned User!
    Join Date
    01-17-2021
    Location
    Omaha, NE
    MS-Off Ver
    office 2016
    Posts
    211

    Re: Macro that transposes the information as follows

    please put code in format tag

    can you show output of what you code does now?

  3. #3
    Registered User
    Join Date
    03-09-2021
    Location
    Colombia
    MS-Off Ver
    2016
    Posts
    4

    Re: Macro that transposes the information as follows

    Sorry, I was wrong about the images, it was this

    Well, I create a module in sheet where I insert this code



    Please Login or Register  to view this content.

    and what he is currently doing is this:

    3.PNG
    Last edited by Nahomi23; 03-09-2021 at 12:41 PM.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,673

    Re: Macro that transposes the information as follows

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code] tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    03-09-2021
    Location
    Colombia
    MS-Off Ver
    2016
    Posts
    4

    Re: Macro that transposes the information as follows

    The requested changes have been made

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,673

    Re: Macro that transposes the information as follows

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)

  7. #7
    Registered User
    Join Date
    03-09-2021
    Location
    Colombia
    MS-Off Ver
    2016
    Posts
    4

    Re: Macro that transposes the information as follows

    When I attach the links it does not leave me, it sends me the message that in order to attach the links I must make more publications, what should I do?

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,673

    Re: Macro that transposes the information as follows

    type out the link. Do not attempt to cut and paste. You need to have a minimum number of posts to attach a link. Suggest you re-read the forum rules you agreed to when you signed up.

+ 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. Scientific Value excel transposes
    By VegasL in forum Excel General
    Replies: 3
    Last Post: 01-07-2019, 04:59 PM
  2. [SOLVED] Command Button that transposes selections from Entry sheet to Data Sheet
    By K_N in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-10-2017, 07:48 PM
  3. [SOLVED] Macro that transposes Vertical Data to Horizontal for Mulitple rows
    By Jbets44 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-27-2014, 05:29 PM
  4. Attempting to create macro that finds a value and then transposes that row to a column
    By exoscoriae in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2014, 11:49 AM
  5. [SOLVED] Need a MACRO which cleans vertical data in 1 column and transposes it to a new worksheet
    By cglobres in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-16-2013, 04:15 AM
  6. create macro that merges cells and then transposes them into other worksheet
    By jloyzaga in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-17-2011, 07:36 PM
  7. How do invert a formula that transposes data across worksheets?
    By Mowglimann in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2009, 06:44 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