+ Reply to Thread
Results 1 to 12 of 12

Formula to make a Single Column from multiple small Columns (Skipping Even Number Columns)

  1. #1
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Formula to make a Single Column from multiple small Columns (Skipping Even Number Columns)

    Hi,
    I want to make a Single column data from the data of multiple small columns. Formula should take range from cells L26 and M26. In cell L26, I have the value from which the Range will start. In cell M26, I have the value on which range will end. Within this range, I want to make one column data from these columns skipping even number columns.
    Example:
    Let's say I have values 1 in cell L26 and 9 in cell M26. Now range for multiple small columns is staring from Column 1 (Column A) and ending on Column 9 (Column I). Now even number columns (B, D, F and H) should be skipped. Now data of remaining columns should be combined into a single column as shown in cell I26 onward in the attached file.

    Sample file is attached for more clarification

  2. #2
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Hi, Can Anybody please solve my thread Please

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

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Administrative Note:

    It has been only two and a half hours since you last posted. Please do not bump threads until 24 hours have passed, and then only once each day. We are all volunteers here who have lives beyond this forum. While you may be awake and working, this is a world wide forum and others may be playing, sleeping or working and not have the time to look into your issues this minute. Patience is important here. If you have an urgent issue, you may wish to look at paying for help in the Commercial Services sub-forum or hiring a professional consultant in your area. Again, please do not bump threads more often than once in every 24 hours: if you get the help you need today, then great, but you really should not count on it. Thanks for your understanding and patience.
    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.

  4. #4
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Hi AliGW,

    Thank you for your advice. I will keep in mind from the next time.

    Thank you so much

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

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Not sure if this will work in Excel 2021, but you can try it:

    =LET(o,FILTER(A1:BC25,ISODD(COLUMN(A1:BC25))),c,CHOOSECOLS(o,SEQUENCE(,P32+1,L32,1)),FILTERXML("<z><m>"&TEXTJOIN("</m><m>",,TRANSPOSE(c))&"</m></z>","//m"))

    You will need to move your expected results and other calculated cells BELOW the full array - it is currently mixed in with it.

  6. #6
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Hi AliGW,

    This did not work for me. At first when i downloaded the attached excel file and opened it, it was showing expected results. But when i change range number then everything gone. It starts giving error #NAME?

    Even i changed number as it was before, but still it is giving this error #NAME?
    Last edited by rexcel548562; 07-30-2022 at 07:54 AM.

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

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Yes - I was worried this would be the case. I used functions that are only availaible in 365 (seems they aren't in 2021). Sorry. Someone else may be able to suggest an alternative.

  8. #8
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Hi AliGW,

    No issue. I am still very thankful to you for your efforts and time for making this formula.

  9. #9
    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,448

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    No worries - it was fun and I learnt a few things along the way. Someone who knows FILTERXML better than me will I am sure step in.

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

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

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

  11. #11
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Hi Sir Fluff13,

    Thank you so much Sir. It worked perfectly. I am really very thankful to you sir.

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

    Re: Formula to make a Single Column from multiple small Columns (Skipping Even Number Colu

    Glad to help & thanks for the feedback.

+ 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] Drag a formula across 365+ columns skipping 1 row every 3 columns dragged
    By steiny88 in forum Excel Formulas & Functions
    Replies: 36
    Last Post: 02-11-2022, 07:41 AM
  2. Replies: 16
    Last Post: 08-29-2021, 01:20 PM
  3. [SOLVED] extract data from multiple columns and rows to make a single list
    By pvwebster in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-11-2020, 07:48 AM
  4. [SOLVED] Group many columns to single column and make subtraction
    By geofad2000 in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 11-24-2019, 03:25 PM
  5. Replies: 2
    Last Post: 06-16-2016, 08:09 PM
  6. Replies: 6
    Last Post: 11-25-2015, 01:01 PM
  7. Formula to Compare 2 Different Columns on a single Row Multiple Columns
    By dndgeez in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-05-2015, 04:11 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