+ Reply to Thread
Results 1 to 12 of 12

Stack Columns?

  1. #1
    Forum Contributor
    Join Date
    04-28-2016
    Location
    Stavanger, Norway
    MS-Off Ver
    365
    Posts
    142

    Stack Columns?

    I wish to stack columns with "OPERATOR" and "VALUE" where i repeat "NAME" like shown in the dummy sheet.

    Is there a smart way of doing this with formula or maybe VBA?

    Please advice
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Stack Columns?

    One way (of many):

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    04-28-2016
    Location
    Stavanger, Norway
    MS-Off Ver
    365
    Posts
    142

    Re: Stack Columns?

    Seems to work but when I copy it into another spreadsheet I get unsupported function?

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Stack Columns?

    Go to your account page in Excel. What VERSION NUMBER of O365 do you have. It's a 4 digit number... 2202 or whatever.

  5. #5
    Forum Contributor
    Join Date
    04-28-2016
    Location
    Stavanger, Norway
    MS-Off Ver
    365
    Posts
    142

    Re: Stack Columns?

    I have Excel version 2202

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Stack Columns?

    OK. You don't have VSTACK. About to have my evening meal. I'll respond in about 2 hrs.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Stack Columns?

    Try this instead:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    04-28-2016
    Location
    Stavanger, Norway
    MS-Off Ver
    365
    Posts
    142

    Re: Stack Columns?

    Okay, that seems to work! Could you quickly explain how I now can change this to do this for 500 columns?

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Stack Columns?

    I fiddled with it a bit to make adjustment easier.

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


    Just change the bits in red to match your data.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    04-28-2016
    Location
    Stavanger, Norway
    MS-Off Ver
    365
    Posts
    142

    Re: Stack Columns?

    That worked, thank you! Really appreciate all your help Glenn

  11. #11
    Forum Contributor
    Join Date
    04-28-2016
    Location
    Stavanger, Norway
    MS-Off Ver
    365
    Posts
    142

    Re: Stack Columns?

    Hi,

    I have tested this a bit more now and see that it stops stacking at column AA. How can I get it to carry on stacking until column RW?

    Please Login or Register  to view this content.

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Stack Columns?

    Please attach a file.

+ 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] trying to stack up a range of columns
    By MannStewart in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-24-2020, 11:35 AM
  2. [SOLVED] Stack columns that are not next to each other
    By herbie000 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-20-2020, 05:18 PM
  3. [SOLVED] Stack 4 columns into one column.
    By archvanarl in forum Excel General
    Replies: 2
    Last Post: 12-22-2018, 09:29 PM
  4. [SOLVED] Transpose then stack columns
    By russc2541 in forum Excel General
    Replies: 5
    Last Post: 01-09-2014, 11:59 AM
  5. Trying to Stack Many Columns into 2
    By JustSalsa in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-17-2012, 09:06 AM
  6. [SOLVED] stack columns
    By Wan in forum Excel General
    Replies: 1
    Last Post: 12-26-2005, 01:25 AM
  7. [SOLVED] How can I stack 3-D columns
    By jiggiddi in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-15-2005, 12:05 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