+ Reply to Thread
Results 1 to 7 of 7

Vertically Combining data from multiple columns to have all data in 1 column

  1. #1
    Registered User
    Join Date
    10-12-2011
    Location
    England
    MS-Off Ver
    Excel 365
    Posts
    36

    Vertically Combining data from multiple columns to have all data in 1 column

    Hi guys,

    Struggling to find an answer to this one!

    I have product id's in multiple columns that I need a formula that can combine all of the non-blank cells in those columns into one long list on another tab.

    Google sheets can do this with the formula =FILTER({A2:A;C2:C}, LEN({A2:A;C2:C})) but this won't work on Excel.

    The few that I found online aren't doing the the trick! I've created an example sheet which shows the source data on tab 1, and the desired output on tab 2.

    Any advice?

    SKU LIST EXAMPLE.xlsx

  2. #2
    Registered User
    Join Date
    10-12-2011
    Location
    England
    MS-Off Ver
    Excel 365
    Posts
    36

    Re: Vertically Combining data from multiple columns to have all data in 1 column

    UPDATE: I've actually found this formula from another thread, which worked on 2 columns, how do I adapt it to pull data from columns C,D,E & F?

    =LET(a,C2:C1000,b,D2:D5000,ra,ROWS(a),s,SEQUENCE(ra+ROWS(b)),c,IF(s<=ra,a,INDEX(b,s-ra)),FILTER(c,c<>0))

  3. #3
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: Vertically Combining data from multiple columns to have all data in 1 column

    Try this,

    Please Login or Register  to view this content.
    Last edited by windknife; 02-28-2024 at 08:35 AM.

  4. #4
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Vertically Combining data from multiple columns to have all data in 1 column

    You could use = TOCOL()

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

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

    Re: Vertically Combining data from multiple columns to have all data in 1 column

    pls try this formula

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


    OR

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

  6. #6
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: Vertically Combining data from multiple columns to have all data in 1 column

    Thanks for your rep.
    --------------------------------------
    If that takes care of your original question, please click on "Thread Tools" from the menu link above and mark this thread as SOLVED.

  7. #7
    Registered User
    Join Date
    10-12-2011
    Location
    England
    MS-Off Ver
    Excel 365
    Posts
    36

    Re: Vertically Combining data from multiple columns to have all data in 1 column

    Thanks all! TOCOL is a new one for me but it worked perfectly!

+ 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] Combining two columns into one column vertically in excel 365
    By ahmadjumaa80 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-09-2022, 03:14 AM
  2. Replies: 0
    Last Post: 08-28-2021, 11:30 AM
  3. Sort and Filter Multiple Columns of Data Vertically
    By Timmer2005 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-15-2021, 12:53 AM
  4. Combining multiple columns data into a single column
    By tmor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-25-2016, 07:12 PM
  5. Combining data in multiple columns(all columns have same length)into one column
    By nzi0001 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-24-2014, 11:19 AM
  6. [SOLVED] Combining multiple columns of data into single column
    By dsklein85 in forum Excel General
    Replies: 6
    Last Post: 10-30-2012, 11:18 PM
  7. Combining data from three columns into a new column.
    By nns110 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2009, 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