+ Reply to Thread
Results 1 to 6 of 6

Needing to transpose a bunch of numbers??????

  1. #1
    Registered User
    Join Date
    01-15-2018
    Location
    Charlotte
    MS-Off Ver
    Office 2016
    Posts
    3

    Question Needing to transpose a bunch of numbers??????

    I have two columns of data. In column A I have customer numbers, in column B I have equipment ID's that belong to that customer. I need the equipment ID's to go horizontally and match up with the customer number. I have given an example of the way I need it to look in row 3 of this picture. Any help would be greatly appreciated.

    Excel Challenge.png
    Attached Files Attached Files
    Last edited by Restiphani; 01-15-2018 at 11:09 AM. Reason: Adding Attachment

  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
    80,990

    Re: Needing to transpose a bunch of numbers??????

    Welcome to the forum!

    Sounds like a Power Query job to me. Attach the workbook here. We can't work with an image!

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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
    Registered User
    Join Date
    01-15-2018
    Location
    Charlotte
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Needing to transpose a bunch of numbers??????

    Spreadsheet should be attached in the original message now.

    Thanks

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,740

    Re: Needing to transpose a bunch of numbers??????

    You can do this with a couple of formulae. Put this formula in C2:

    =IF(B2="","",A2&"_"&COUNTIF(A$2:A2,A2)-1)

    and copy down to the bottom of your list of data. It will tag a unique serial number onto the end of each Location Number for those records where the Equipment number is not blank.

    Then you can use this formula in cell E2:

    =IF($B2="",IFERROR(INDEX($B:$B,MATCH($A2&"_"&COLUMNS($E:E),$C:$C,0)),""),"")

    This can be copied across and down as required, and will return each equipment number in turn for the Locations where there is no equipment (i.e. on the first record for each Location).

    The attached file demonstrates this, but I have only copied the formulae down to row 114, and across to column M - you will see that the block of records from rows 29 to 43 and from 74 to 103, for example, will require the formula in column E to be copied across further, in order to display all the relevant Equipment numbers (14 and 29 respectively).

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-15-2018
    Location
    Charlotte
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Needing to transpose a bunch of numbers??????

    I wish I could give you a hug ...... You know how much time you have saved me.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,740

    Re: Needing to transpose a bunch of numbers??????

    You're welcome - thanks for the rep.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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. Replies: 4
    Last Post: 02-25-2017, 02:18 AM
  2. Need Vlookup help with numbers needing to stay as Text
    By MAPoppins718 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-15-2014, 01:01 PM
  3. Need help to transpose and sorting numbers
    By lhunyi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-16-2007, 07:10 AM
  4. Needing a solution for port numbers floor plan
    By gillme in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-20-2006, 04:35 PM
  5. how do I transpose a column of 80 numbers into...
    By beatrice25 in forum Excel General
    Replies: 8
    Last Post: 05-21-2006, 05:35 AM
  6. How to generate a bunch of random numbers???
    By ddawg09 in forum Excel General
    Replies: 6
    Last Post: 03-12-2006, 09:40 PM
  7. [SOLVED] Transpose week numbers to date
    By Lewej in forum Excel General
    Replies: 2
    Last Post: 05-06-2005, 08:06 AM

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