+ Reply to Thread
Results 1 to 13 of 13

rows to columns

  1. #1
    Registered User
    Join Date
    11-06-2013
    Location
    Croydon,England
    MS-Off Ver
    MS 365 Subscription
    Posts
    16

    rows to columns

    The attached mock Excel file shows what I currently have and what I need
    Currently my scores show in one cell whereas I need them to spread across 3 columns in order to work out points for goals scored
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,389

    Re: rows to columns

    Are you still using Excel 2010?
    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 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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,389

    Re: rows to columns

    Maybe this:

    =TRIM(LEFT(INDEX($A$3:$K$3,MATCH(A7,$A$2:$K$2,0)),2))

    and this:

    =TRIM(RIGHT(INDEX($A$3:$K$3,MATCH(A7,$A$2:$K$2,0)),2))

  4. #4
    Registered User
    Join Date
    11-06-2013
    Location
    Croydon,England
    MS-Off Ver
    MS 365 Subscription
    Posts
    16

    Re: rows to columns

    Many thanks for quick reply First of all I am using MS 365 Subscription and I will change my profile thanks for pointing out
    Secondly where do I actually paste the formulaes ? In the cells I require ? or blank sheet?

  5. #5
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,389

    Re: rows to columns

    In B7:

    =TRIM(LEFT(INDEX($A$3:$K$3,MATCH(A7,$A$2:$K$2,0)),2))

    In D7:

    =TRIM(RIGHT(INDEX($A$3:$K$3,MATCH(A7,$A$2:$K$2,0)),2))

    Your profile is still showing Excel 2010.

  6. #6
    Registered User
    Join Date
    11-06-2013
    Location
    Croydon,England
    MS-Off Ver
    MS 365 Subscription
    Posts
    16

    Re: rows to columns

    Hi AliGW
    That works perfectly thank you very much

  7. #7
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,389

    Re: rows to columns

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

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  8. #8
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,469

    Re: rows to columns

    Cell B7 array formula , Drag down and accross

    HTML Code: 

  9. #9
    Registered User
    Join Date
    11-06-2013
    Location
    Croydon,England
    MS-Off Ver
    MS 365 Subscription
    Posts
    16

    Re: rows to columns

    this worked ok apart from when I came to copy and paste into my spreadsheet the formulas would not work correctly I have attached basic copy of small part to show problem. Any ideas?
    Attached Files Attached Files

  10. #10
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,469

    Re: rows to columns

    Cell O4 ?

    =IF(--K4="","",(IF($F4=Q4,2,)+(IF($B4=--I4,1,)+(IF($D4=--K4,1)+(IF($B4=--I4,AND($D4=--K4,1,AND($D4=--K4))))))))+IF(P4,1,0)
    Last edited by wk9128; 06-08-2021 at 06:18 AM.

  11. #11
    Registered User
    Join Date
    11-06-2013
    Location
    Croydon,England
    MS-Off Ver
    MS 365 Subscription
    Posts
    16

    Re: rows to columns

    I think my formula OK its just that the pasted format is not being read correctly. I can get formula to work but I have to go in to cell I4 and and change 1 to number 1 same with K4. It seems as though when convert from rows to columns it has changed number format. Could this be right?

  12. #12
    Registered User
    Join Date
    06-01-2021
    Location
    sweden
    MS-Off Ver
    365
    Posts
    18

    Re: rows to columns

    Convert a cell line to various segments or lines with Text to Columns and Paste Transpose capacities.
    Convert a solitary line to various sections and lines with Transform Range.
    Select the cell you need to change over, and click Data > Text to segments.

  13. #13
    Registered User
    Join Date
    11-06-2013
    Location
    Croydon,England
    MS-Off Ver
    MS 365 Subscription
    Posts
    16

    Re: rows to columns

    My formula to work out points is correct and i have tested it out time and again BUT only way I can get it work is by inputting scores manually. Whether I use TRIM or Clear the formula does not wotk after pasting. I must be doing something wrong but no idea what

+ 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: 1
    Last Post: 05-30-2015, 03:12 PM
  2. [SOLVED] Formula to transpose rows to new columns and columns to new rows in Excel
    By bjnockle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-26-2014, 06:28 PM
  3. Merge Duplicate Rows unique values into single rows for an infinite amount of columns/rows
    By aimeecrystalaid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-21-2013, 08:43 PM
  4. Combining multiple rows from 2 columns into sorted columns depending on 1st columns value
    By Dexamphetamine in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-11-2013, 10:00 AM
  5. Replies: 15
    Last Post: 12-06-2012, 01:07 PM
  6. [SOLVED] Swapping rows for columns and columns for rows in a large database
    By Bloomingdales in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2012, 06:06 PM
  7. Replies: 0
    Last Post: 11-28-2007, 06:46 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