+ Reply to Thread
Results 1 to 16 of 16

Transpose of Data

  1. #1
    Registered User
    Join Date
    02-05-2018
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    12

    Transpose of Data

    Hi All,

    I was hoping somebody would be able to help with an issue i am having at the moment.I am trying to transpose data from one spreadsheet to another using an index formula however, i am having issues.

    (Please see attached image of example spreadsheet)

    What i am hoping to do is transpose the information on Figure 1 to Figure 2.

    When i try to get (Figure 1) No.1 Ref A for example to Ref A No.1 on Figure 2 it works no problem. The problem that does occur however, is for No.2 - No7 as it doesnt recognise the A from figure 1 it sees it as a blank cell. I was originally going to copy them over indiviually however, there is a vast amount of information and i want to use this exact sheet for other information of a similar standard.

    I would be extrmeley grateful for your help as i have tried everything i know (which is limited). If no one knows a way of solving this i have another possible solution that i also would need your help with but its very complex and a bit of a pain.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by MaverickSemperFi; 02-05-2018 at 11:26 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Transpose of Data

    Where is 255.9 stored? It looks like C3 but is it?
    This is where posting the file, or a small sample of it, instead of an image helps more.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,626

    Re: Transpose of Data

    As you posted no sample workbook, nor described you method to transpose data, try the following (rather universal) procedure:
    Select your merged cells with A...D. Unmerge (format cells: Ctrl+1 and unmark merge cells).
    Having these cells selected use Goto (Ctrl+G) and then select Special - Empty cells
    Note that several ranges are now selected between cells with A and B, B and C etc. Assumming your A is in cell B5 (first selected cell = the active one is B6)
    in formula bar write =B5 and press Ctrl+Enter

    now in first colun you will have
    A
    A
    A... 7 times
    B
    B... etc


    so your transposition method shall work for all data.
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    02-05-2018
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    12

    Re: Transpose of Data

    Apologies for not attaching sample workbook. I have edited post to include sample workbook.

    I shall give these options ago.

    Many Thanks.

  5. #5
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Transpose of Data

    So your data on the ACTUAL spreadsheet starts in B5 and contains the letter A ?
    And the value in column B never exceeds 7 (since your example output doesnt allow for that) ?

    Somehow I suspect this is not the case and this sample data you've provided is a merely an aesthetically pleasing output.
    This means whatever solution is provided you will have to modify it (by yourself) to fit your actual data.
    Last edited by Special-K; 02-05-2018 at 09:58 AM.

  6. #6
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Transpose of Data

    This works on your sample spreadsheet, adjust to fit if necessary

    Please Login or Register  to view this content.

  7. #7
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Transpose of Data

    Here's how I read your problem
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Transpose of Data

    or maybe so
    Please Login or Register  to view this content.

  9. #9
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Transpose of Data

    Ignore this, I unsubscribed to this thread by mistake, just replying so it resubscribes (unless there is another way to do this?)

  10. #10
    Registered User
    Join Date
    02-05-2018
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    12

    Re: Transpose of Data

    Thanks all i will give these a try.

    Much appreciated, If you think of any other ways please let me know just in case.

  11. #11
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Transpose of Data

    Quote Originally Posted by Special-K View Post
    Ignore this, I unsubscribed to this thread by mistake, just replying so it resubscribes (unless there is another way to do this?)
    FYI
    Thread Tools > Subscribe to this Thread

  12. #12
    Registered User
    Join Date
    02-05-2018
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    12

    Re: Transpose of Data

    Does anybody who provided a solution have any pseudocode or notes that i could use?

  13. #13
    Registered User
    Join Date
    02-05-2018
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    12

    Re: Transpose of Data

    I have added a new example spreadsheet that is a more accurate representation of my spreadsheet with random data. They are also on seperate sheets. I tried to modify the code to fit my spreadsheet but didnt manage to sort it.

    Really appreciate the help.

  14. #14
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,626

    Re: Transpose of Data

    This shall do (tried to write it rather simple, using built-in worksheet functions from excel 2016):
    Please Login or Register  to view this content.
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    02-05-2018
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    12

    Re: Transpose of Data

    Quote Originally Posted by Kaper View Post
    This shall do (tried to write it rather simple, using built-in worksheet functions from excel 2016):
    Please Login or Register  to view this content.
    Thank you, this helps loads. Really Appreciate it.

  16. #16
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,626

    Re: Transpose of Data

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    PS. Note rule 12 of our https://www.excelforum.com/forum-rul...rum-rules.html

+ 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. transpose column to a range calculate and transpose to new table loop
    By moshro1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-02-2015, 10:52 AM
  2. Replies: 7
    Last Post: 10-03-2014, 05:04 AM
  3. Transpose Data from Columns to Rows after each unique data point
    By lnagell in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-01-2014, 08:10 PM
  4. Transpose data to columns from rows keeping unique data together
    By aimeecrystalaid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2013, 12:23 AM
  5. Transpose horizontal data to vertical data with paste link
    By M.Devadhasan in forum Excel General
    Replies: 0
    Last Post: 07-07-2012, 01:01 PM
  6. [SOLVED] Transpose: How can I copy a list and transpose it but leaving 3 cells in between each item
    By cocolete in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-11-2012, 10:01 AM
  7. Replies: 2
    Last Post: 02-19-2007, 04:53 PM

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