+ Reply to Thread
Results 1 to 13 of 13

Transpose data from single column to multiple columns

  1. #1
    Registered User
    Join Date
    05-02-2023
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    5

    Transpose data from single column to multiple columns

    My task in a trade database agency to maintain business data, the format of business listing is membership no in column A, and business details in Column B. I wants to split or transpose data in a such way that data in cell B3 should be transfer to Cell C3, B4 should be transfer to Cell D4 and B5 should be transfer to Cell E5 which can be visible in Transposed Data. The Membership Nos are also listed along side of business details. A sample sheet is attached.
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Transpose data from single column to multiple columns

    maybe something like this with Power Query

    Membership No Business Detail.1 Business Detail.2 Business Detail.3 Business Detail.4 Business Detail.5 Business Detail.6
    M-1 Syed Hamid Ilyas Welfare Trust, 051-895632
    M-2 Muhammad Ishfaq memon coporations 0333-52642563 051-2536123
    M-3 Adeel Shahzad AH Agri Tech 0300-5151124 Roadhan Aurf Orang Aslam Khan 0336-4592122
    M-4 Rana Osman Khan Heaven Growers (Pvt) Mr.Gul Nawaz 051-5281791 051-4525369


    Please Login or Register  to view this content.
    Last edited by sandy666; 05-02-2023 at 11:14 AM. Reason: correction

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Transpose data from single column to multiple columns

    Are you the same person as asad.ermo? The question you ask is almost identical to one asked by that user a day or two ago.

    What is the logic for Aslam Khan's data starting on a new line, when he and Adeel Shahzad are both code M-3?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Registered User
    Join Date
    05-02-2023
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    5

    Re: Transpose data from single column to multiple columns

    can you please guide me how to apply power query

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Transpose data from single column to multiple columns

    Kindly do NOT ignore my question.

  6. #6
    Registered User
    Join Date
    05-02-2023
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    5

    Re: Transpose data from single column to multiple columns

    Data provided in sample sheet is for reference purpose only, actual data is different but the format is same.

  7. #7
    Registered User
    Join Date
    05-02-2023
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    5

    Re: Transpose data from single column to multiple columns

    please refer to previous answer

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Transpose data from single column to multiple columns

    to whom are you talking to?
    use username in your answers

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,443

    Re: Transpose data from single column to multiple columns

    Please answer the questions asked in post #3.

    No further help can be offered until you do.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  10. #10
    Registered User
    Join Date
    05-02-2023
    Location
    Pakistan
    MS-Off Ver
    2016
    Posts
    5

    Re: Transpose data from single column to multiple columns

    No, I am different from asad.ermo,
    Adeel Shahzad and Aslam Khan's are partners of the same company their phone numbers are also shown.

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Transpose data from single column to multiple columns

    OK. I will accept that.

    However, I do not understand your logic. Why is this formula solution INCORRECT???


    =IFERROR(IF(COUNTIF($A$3:$A3,$A3)=1,INDEX($B:$B,AGGREGATE(15,6,ROW($B$3:$B$20)/($A$3:$A$20=$A3),COLUMNS($C3:C3))),""),"")
    Attached Files Attached Files

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Transpose data from single column to multiple columns

    alternative to my previous post it could be this

    Membership No Number Business Details.1 Business Details.2 Business Details.3
    M-1 051-895632 Syed Hamid Ilyas Welfare Trust,
    M-2 0333-52642563 Muhammad Ishfaq memon coporations
    M-2 051-2536123 memon coporations
    M-3 0300-5151124 Adeel Shahzad AH Agri Tech
    M-3 0336-4592122 Roadhan Aurf Orang Aslam Khan
    M-4 051-5281791 Rana Osman Khan Heaven Growers (Pvt) Mr.Gul Nawaz
    M-4 051-4525369 Mr.Gul Nawaz
    Last edited by sandy666; 05-02-2023 at 01:14 PM.

  13. #13
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,408

    Re: Transpose data from single column to multiple columns

    Power Query
    Please Login or Register  to view this content.

+ 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] VBA to transpose data on multiple sheets from single column to rows
    By pixifaery in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-08-2022, 05:04 AM
  2. How to Transpose single cell data into multiple column for multiple files
    By Merrysa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-06-2022, 03:46 AM
  3. [SOLVED] Request = transpose multiple columns of three numbers into a single column and delete blan
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-07-2017, 02:17 PM
  4. [SOLVED] Transpose single column of data into three columns (...of seven)
    By 2vbr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2017, 11:29 PM
  5. Transpose Data from Multiple Column to Single Column
    By smudger1989 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-12-2013, 04:38 AM
  6. Replies: 5
    Last Post: 05-25-2013, 07:12 AM
  7. Transpose multiple text-based columns to single column while retaining record ids
    By SchoobsVT in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-06-2010, 12:26 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