+ Reply to Thread
Results 1 to 12 of 12

Splitting Columns into Multiple

  1. #1
    Registered User
    Join Date
    02-02-2024
    Location
    Glasgow, Scotland
    MS-Off Ver
    365
    Posts
    44

    Splitting Columns into Multiple

    Hopefully this can be done without a Macro?

    Using Power Query, I get a result with 3 columns, and varying number of rows.

    This is then going to be linked to a PowerPoint document, but the number of rows is too many to fit and be readable on a single slide. We are currently manually moving a group of cells around to make it look better before pasting onto the slide. All other slides are linked back to the workbook so just needs a refresh..

    is there a way to split by say 30 rows into as many columns as need?

    Sample file enclosed.

    thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,642

    Re: Splitting Columns into Multiple

    Hi there,

    Based on your workbook:

    What's the maximum number of rows you can fit on a slide? 30??

    What's the maximum number of columns you can fit on a slide? 3??

    Regards,

    Greg M

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Splitting Columns into Multiple

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

  4. #4
    Registered User
    Join Date
    02-02-2024
    Location
    Glasgow, Scotland
    MS-Off Ver
    365
    Posts
    44

    Re: Splitting Columns into Multiple

    Quote Originally Posted by Greg M View Post
    Hi there,

    Based on your workbook:

    What's the maximum number of rows you can fit on a slide? 30??

    What's the maximum number of columns you can fit on a slide? 3??

    Regards,

    Greg M
    Hi Greg

    So, the link between the workbook and the slide places it into the slide as an image, so this can be resized slightly, but as a guide I would say 30-40 rows max. As for the columns, we are placing 2 wide each time, so we may get away with 4 or 5 double columns.

    thanks
    Barry

  5. #5
    Registered User
    Join Date
    02-02-2024
    Location
    Glasgow, Scotland
    MS-Off Ver
    365
    Posts
    44

    Re: Splitting Columns into Multiple

    Quote Originally Posted by Fluff13 View Post
    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Hi there

    Thanks for this, not sure how I use that though. Would this be used as a formula in Power Query, or somewhere in the Excel worksheet?

    thanks
    Barry

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

    Re: Splitting Columns into Multiple

    It's a formula - nothing to do with PQ. Just paste it on a new worksheet.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  7. #7
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,642

    Re: Splitting Columns into Multiple

    Hi again,

    Thanks for that, but ...


    As for the columns, we are placing 2 wide each time

    the workbook you posted shows THREE columns (Index, Cost Centre and Spend). Which of these columns should be excluded?


    Regards,

    Greg M

  8. #8
    Registered User
    Join Date
    02-02-2024
    Location
    Glasgow, Scotland
    MS-Off Ver
    365
    Posts
    44

    Re: Splitting Columns into Multiple

    Quote Originally Posted by Greg M View Post
    Hi again,

    Thanks for that, but ...

    the workbook you posted shows THREE columns (Index, Cost Centre and Spend). Which of these columns should be excluded?


    Regards,

    Greg M
    My bad

    We can exclude the Index column, that's not required. I put it there thinking it may be needed for some formula.

    thanks
    Barry

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Splitting Columns into Multiple

    If you don't want the 1st column you can just use the original table
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    02-02-2024
    Location
    Glasgow, Scotland
    MS-Off Ver
    365
    Posts
    44

    Re: Splitting Columns into Multiple

    Quote Originally Posted by Fluff13 View Post
    If you don't want the 1st column you can just use the original table
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Perfect, this does exactly what I need. Thank you!

  11. #11
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,789

    Re: Splitting Columns into Multiple

    Glad to help & thanks for the feedback.

  12. #12
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,642

    Re: Splitting Columns into Multiple

    Hi there,

    Here's a totally different approach which you might find interesting.

    You can choose to spread the values involved can over 3, 4 or 5 "mini-tables" which can contain up to 40 rows. Values are distributed evenly over the appropriate number of rows.

    The above choice is implemented in Cell F1.

    Conditional formatting is used to hide unused rows (and tables 4 and 5 if appropriate).

    The Index columns (i.e. H, L, P, T and X) can be hidden if required

    Take a look at the attached workbook and see what you think - formulas and conditional formatting are relatively straightforward, but would be difficult to explain here in a few words!

    I'd be pleased to hear any comments you might have.

    Regards,

    Greg M
    Attached Files Attached Files

+ 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] splitting row into multiple columns
    By kisanvikas2015 in forum Excel General
    Replies: 8
    Last Post: 04-25-2015, 06:03 AM
  2. Splitting a list of data into multiple columns
    By achhun02 in forum Excel General
    Replies: 1
    Last Post: 03-18-2015, 04:51 PM
  3. Splitting multiple entries in single cell into multiple columns
    By David_Mitchell in forum Excel General
    Replies: 12
    Last Post: 01-24-2013, 06:57 AM
  4. [SOLVED] Excel 2007 : splitting data into multiple columns
    By SubtleFudge in forum Excel General
    Replies: 3
    Last Post: 07-17-2012, 02:21 PM
  5. Splitting a column in CSV to multiple columns
    By Nehalem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-04-2012, 07:08 AM
  6. Splitting address into multiple columns
    By susriram in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-07-2011, 02:02 PM
  7. [SOLVED] Splitting one column into multiple columns
    By paintermonkey@gmail.com in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-02-2006, 03:10 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