+ Reply to Thread
Results 1 to 28 of 28

How do I organise it so that it's horizontal?

  1. #1
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    How do I organise it so that it's horizontal?

    If the image is actually visible, then you can see that the document cosists of player items, all with similar attributes.
    I'd like to sort them horizontally using excel so that every player object consumes only a row instead of alot of rows.
    How do I do that? Each column should contain a keyword like name or strength...

    Nh7O0iM.png

  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,780

    Re: How do I organise it so that it's horizontal?

    Welcome to the forum!

    First of all, in your user profile, please show the Office version you have in a more recognisable format (e.g. Office 2010, Office 2013, Office 365).

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    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.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    Thank you for the quick reply. I think I have added the spreadsheet but I'm not sure.
    The mockup is on the right.
    I hope this provides enough information.
    If not, let me know!
    Attached Files Attached Files

  4. #4
    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,780

    Re: How do I organise it so that it's horizontal?

    This can be done with Power Query (Get & Transform on the Data ribbon). Here's the M code:

    Please Login or Register  to view this content.
    I'm attaching an example workbook. If you need help with Power Query (if you haven't used it before), just say.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    Thank you once more for the very quick respons.
    I have indeed never used this before.
    Could you explain to me how this works or refer me to a place where I can learn it?
    Many thanks

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

    Re: How do I organise it so that it's horizontal?

    Before I do, have a look at the attachment and confirm it's what you want.

  7. #7
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    It is indeed what I needed.
    However it does look a little bit like chinese to me.

    Edit: the code i mean
    Last edited by Nub; 08-26-2018 at 05:45 AM. Reason: clarification

  8. #8
    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,780

    Re: How do I organise it so that it's horizontal?

    It will do if you haven't used it before! OK, it will take me a little while to prepare a step-by-step for you, so please be patient. I will post back here as soon as I can - may take about half an hour to do this in the detail you will need.

  9. #9
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    Very well!
    Thank you once more.

  10. #10
    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,780

    Re: How do I organise it so that it's horizontal?

    It's quite a lot of steps, but once done, you only have to refresh the query. I have written the instructions in the attachment as I have included some screenshots. By following these step-by-step instructions, you are effectively creating that M code I posted above. Let us know how you get on!
    Attached Files Attached Files

  11. #11
    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,780

    Re: How do I organise it so that it's horizontal?

    Having spent some considerable time helping you, I had rather hoped for some fairly swift feedback to say how you had got on with my instructions. As far as I can see, you have not even looked at them yet. I hope I wasn't wasting my time.

  12. #12
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    Thank you so much for the guide.
    It was very clear and well explained.
    I do however have a second question.
    Once those steps are done, how can I sort the rows on "Total"?
    Preferably from high to low.

  13. #13
    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,780

    Re: How do I organise it so that it's horizontal?

    Not in PQ, but in the workbook itself, click the downward arrow on the Total column - sort Z to A.

  14. #14
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    My appoligies for the slow reply.
    I have in fact looked at it straight away and was following it step by step.
    But once more, I'm very sorry for my rudeness.

  15. #15
    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,780

    Re: How do I organise it so that it's horizontal?

    If you want PQ to do it, add these steps to the query:

    1. Select all columns except Character, and on the Home ribbon, change Data Type to Whole Numbers using the drop-down selector.
    2. Now select just the Total column and use its drop-down selector to Sort Descending.

    Now close and load the query to see the changes.

  16. #16
    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,780

    Re: How do I organise it so that it's horizontal?

    Quote Originally Posted by Nub View Post
    My appoligies for the slow reply.
    I have in fact looked at it straight away and was following it step by step.
    But once more, I'm very sorry for my rudeness.
    No rudeness - and I am sorry that I misjudged your going offline!!!

  17. #17
    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,780

    Re: How do I organise it so that it's horizontal?

    Updated workbook attached with updated query.
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    I seem to get alot of odd behavior from excel by doing that.
    Alot of the values are being replaced by "error".
    go2bRos.png

  19. #19
    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,780

    Re: How do I organise it so that it's horizontal?

    It looks to me as if you have missed a step or got a step wrong. Please attach your workbook for me to see.

  20. #20
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    I'm trying to do it again, to see if I can figure it out myself. Almost done

  21. #21
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    I get the same result.
    Maybe it's worth mentioning that I live in Belgium and we usually switch
    the use of komma's and dots arround when it comes down to numbers.
    Maybe it could have something to do with that?

    Workbook attatched.
    Attached Files Attached Files

  22. #22
    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,780

    Re: How do I organise it so that it's horizontal?

    Please update your user profile location to Belgium. I will have a look at your workbook.

  23. #23
    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,780

    Re: How do I organise it so that it's horizontal?

    Your workbook is not editable - I cannot remove whatever protection you have put on it. Please remove that and post it again.

  24. #24
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    I have not put any protection on it on purpose so I hope you can open it now. :s
    Attached Files Attached Files

  25. #25
    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,780

    Re: How do I organise it so that it's horizontal?

    OK - I have now managed to open it. Please go back and start again!

    You MUST follow the steps in the order I have told you, otherwise you are going to get errors. You have got at least one step in the wrong place!!!

  26. #26
    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,780

    Re: How do I organise it so that it's horizontal?

    In the attached I have reordered the steps for you. I have also added a step to replace commas with decimal points before changing the data type to whole numbers. It seems to work.
    Attached Files Attached Files

  27. #27
    Registered User
    Join Date
    08-26-2018
    Location
    Tielt, Belgium
    MS-Off Ver
    365
    Posts
    16

    Re: How do I organise it so that it's horizontal?

    It seems like the commas were indeed the problem.
    It works perfectly now and I've learned alot!
    Thank you for all the time spent on helping me and I'll be sure to leave a positive rating.

  28. #28
    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,780

    Re: How do I organise it so that it's horizontal?

    That's very kind of you.

    Please do practise with PQ: I have shown you some useful tricks here. I have been using PQ for about 18 months and I find it extremely useful indeed, in fact I now use it almost every day.

    Don't forget to mark the thread as solved.

+ 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. Organise and evaluate
    By wichiu1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-07-2014, 12:57 PM
  2. Organise a timeline
    By waynetwilliams in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-01-2013, 03:55 AM
  3. how to use vba to organise and select data
    By comp23 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-05-2012, 11:42 AM
  4. Help with function to organise some data
    By Snowtoad in forum Excel General
    Replies: 6
    Last Post: 12-14-2011, 08:36 PM
  5. Transfer and Organise Data
    By Sam J in forum Excel General
    Replies: 1
    Last Post: 09-25-2011, 09:54 AM
  6. Help to organise table
    By wonderdunder in forum Excel General
    Replies: 2
    Last Post: 12-05-2010, 05:09 AM
  7. how to organise this into spreadsheet?
    By fjsafsdfskh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-10-2008, 01:56 AM
  8. Organise data
    By micko_escalade in forum Excel General
    Replies: 6
    Last Post: 03-24-2007, 04:09 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