+ Reply to Thread
Results 1 to 10 of 10

Formula to help transpose horizontal agent result to vertical columns

  1. #1
    Forum Contributor
    Join Date
    05-22-2012
    Location
    Boise, Idaho
    MS-Off Ver
    Office 365
    Posts
    156

    Formula to help transpose horizontal agent result to vertical columns

    I am looking for help with a Formula to help transpose horizontal agent result to vertical columns. I have hundreds of lines of data for agents. Each agent has a line of data that stretches about 246 columns when exported. I'm looking for a formula so I can paste the data on the 'Skills Data' tab and it will update the teams columns with the corresponding values on the 'Teams Skills' tab. then I can replicate this for the 20+ teams I have.

    Document attached with 2 examples of what the results should look like.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: Formula to help transpose horizontal agent result to vertical columns

    Try this and copy to every other column:

    =WRAPROWS(FILTER('Skills data'!$I$2:$AB$9,'Skills data'!$C$2:$C$9=C$2),2)

    You'll need to clear the results table first. You may need to sign up to the Office Insider Beta Channel to access the WRAPROWS function.
    Attached Files Attached Files
    Last edited by AliGW; 09-21-2022 at 02:46 AM. Reason: Typo corrected.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Formula to help transpose horizontal agent result to vertical columns

    Try

    C4
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Copy across
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,465

    Re: Formula to help transpose horizontal agent result to vertical columns

    Please try in C18 and copy down and across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Please try in C16 and copy across:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  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 2403
    Posts
    44,101

    Re: Formula to help transpose horizontal agent result to vertical columns

    Delete ALL expecte3d answers. or:

    =LET(d,'Skills data'!I2:AD9,INDEX(d,INT((ROW(d)-1)),COLUMN(d)-MIN(COLUMN(d))+1))

    in C4. Formula spills out and there's no need for Office Insider.
    Attached Files Attached Files
    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

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,247

    Re: Formula to help transpose horizontal agent result to vertical columns

    @Glenn

    Will that work if the order of the agents were to change?

    Actually, it doesn't seem to pull the data required.

    Required:

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    C
    D
    3
    Client Skill
    4
    Company 1
    4
    5
    Company 4
    3
    6
    Company 7
    2
    7
    Company 5
    1
    8
    Company 6
    4
    9
    Company 8
    4
    10
    Company 10
    4
    11
    Company 2
    2
    12
    Company 9
    4
    13
    Company 3
    4
    Sheet: Team Skills

    Your option:

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    C
    D
    15
    Company 1
    4
    16
    Company 5
    2
    17
    Company 7
    1
    18
    Company 6
    2
    19
    Company 7
    1
    20
    Company 2
    1
    21
    Company 8
    2
    22
    Company 3
    2
    Sheet: Team Skills

    Maybe I'm missing something?
    Last edited by AliGW; 09-21-2022 at 03:24 AM.

  7. #7
    Forum Contributor
    Join Date
    05-22-2012
    Location
    Boise, Idaho
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Formula to help transpose horizontal agent result to vertical columns

    AliGW when replicating this to multiple tabs and expanding the ranges anything specific I need to do? I'm running into #SPILL! errors

  8. #8
    Forum Contributor
    Join Date
    05-22-2012
    Location
    Boise, Idaho
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Formula to help transpose horizontal agent result to vertical columns

    HansD when I expand this option to multiple team tabs the team members will be static. Is there a way to update your formula so it does not pull for the order of the agent names from the 'Skills data' tab? We can auto populate the agent name in that cell then the data will search for the match on the 'Skills data' tab

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

    Re: Formula to help transpose horizontal agent result to vertical columns

    Quote Originally Posted by mrteater View Post
    AliGW when replicating this to multiple tabs and expanding the ranges anything specific I need to do? I'm running into #SPILL! errors
    Make sure there is nothing below and to the right preventing it from spilling correctly.

  10. #10
    Forum Contributor
    Join Date
    05-22-2012
    Location
    Boise, Idaho
    MS-Off Ver
    Office 365
    Posts
    156

    Re: Formula to help transpose horizontal agent result to vertical columns

    Thank you-- I'm golden.

+ 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] Simple Vertical to Horizontal Transpose formula help
    By Sekars in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-06-2020, 04:28 AM
  2. Transpose vertical values into horizontal columns
    By bcastle88 in forum Excel General
    Replies: 1
    Last Post: 09-06-2019, 05:21 PM
  3. Transpose web data from horizontal (rows) to vertical (columns) for html files
    By Dahlia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-23-2018, 11:02 AM
  4. [SOLVED] Transpose web data from horizontal (rows) to vertical (columns)
    By Dahlia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-13-2018, 06:10 AM
  5. Replies: 3
    Last Post: 04-27-2015, 05:26 PM
  6. Formula Horizontal and Vertical Result excel
    By almourasel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-25-2015, 09:15 PM
  7. [SOLVED] Converting Vertical Columns in to Horizontal Rows - (Better solution to Transpose)
    By ps_upasani in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-30-2013, 05:32 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