+ Reply to Thread
Results 1 to 11 of 11

need to transpose the data given in B column

  1. #1
    Forum Contributor
    Join Date
    06-12-2013
    Location
    india
    MS-Off Ver
    Office 365
    Posts
    163

    need to transpose the data given in B column

    Hi Team,

    I have data where I want to transpose the data from B column to other columns for the specific ticket id. I have attached the spread sheet, In sheet 1 I gave the actual data and in other sheet I gave what I need. Kindly check and do the needful.

    Regards,
    Girish
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: need to transpose the data given in B column

    1. This would be simpler if you are OK with filling the blank cells with the ticket numbers. There is a simple and easy method for doing so.
    2. Or simpler yet use a helper column to complete the ticket numbers.
    3. The alternative is a rather lengthy array formula to return the 'Comments'.

    Do you have a preference?
    Dave

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: need to transpose the data given in B column

    Try this:

    Please Login or Register  to view this content.

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button
    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

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: need to transpose the data given in B column

    Use helper column as suggested by FlameRetired, which is easy to understand and works well with huge data
    otherwise use below formula
    B2
    Please Login or Register  to view this content.
    Copy and paste across
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: need to transpose the data given in B column

    To return the Ticket ids this in A2 and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    06-12-2013
    Location
    india
    MS-Off Ver
    Office 365
    Posts
    163

    Re: need to transpose the data given in B column

    Hi Flame,

    Thank you for your response, I am okay with your 1st and 2nd option given above instead of lengthy array formula. Please assist me on how to do that.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: need to transpose the data given in B column

    To make a helper column type this formula in C2 of 'Sheet1' and fill down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    In A2 use the formula I posted in post #5 to isolate the unique ids.

    Use this formula in B2 filled down and across
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    06-12-2013
    Location
    india
    MS-Off Ver
    Office 365
    Posts
    163

    Re: need to transpose the data given in B column

    Hi Flame,

    Thank you for checking, what I need is the data given in the b column should be transpose as I given in another sheet. Kindly check and assist me

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: need to transpose the data given in B column

    did you checked post no 4

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: need to transpose the data given in B column

    Quote Originally Posted by Giri.hb View Post
    Hi Flame,

    ... what I need is the data given in the b column should be transpose as I given in another sheet ...
    Did you also check the last formula in Post #7?

    Both Siva's (Post #4) and Post #7 do what you describe.

  11. #11
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: need to transpose the data given in B column

    Did you attempt my solution in post #3.

+ 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. [SOLVED] Transpose/Merge Two Column Data In Single Column
    By rotiplanta in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 12-15-2017, 02:46 AM
  2. Macro need Arranging column data in Quiz format using transpose and Text to Column Feature
    By successramesh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2014, 02:58 AM
  3. [SOLVED] Macro transpose data one column to multiple column & row
    By Jhon Mustofa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2014, 12:56 AM
  4. Transpose Data from a Particular Column to Multiple Column whose Range is Non-Continuous!
    By Rajeshkumar R in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:47 AM
  5. Replies: 9
    Last Post: 07-22-2012, 12:03 PM
  6. [SOLVED] Match cells in Column A, then transpose (matching) row data from column B, C, D, etc.
    By Jahoker in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-15-2012, 10:37 AM
  7. Move Multiple-Column Data to One Column (not Transpose)
    By CriticalEric in forum Excel General
    Replies: 5
    Last Post: 04-22-2012, 07:17 PM

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