1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Concatenate two rows with condition

Discussion in 'Ask an Excel Question' started by Deepak Sharma, May 15, 2018.

  1. Deepak Sharma

    Deepak Sharma Member

    Messages:
    164
    Hi All,

    Is it possible to display two columns's (A and B Column's) result in C column like :-

    Col A Col B
    1 A
    2 B
    3 C
    4 D

    Col C (Result should as below)
    1A
    1B
    1C
    1D
    2A
    2B
    2C
    2D
    3A
    3B
    3C
    3D
    4A
    4B
    4C
    4D

    Regards,
  2. bosco_yip

    bosco_yip Excel Ninja

    Messages:
    1,950
    In C2, copied down :

    =IFERROR(INDEX(A$2:A$5,INT((ROWS($1:1)-1)/4)+1)&INDEX(B$2:B$5,MOD(ROWS($1:1)-1,4)+1),"")

    Regards
    Bosco
    Deepak Sharma likes this.
  3. Deepak Sharma

    Deepak Sharma Member

    Messages:
    164
    Thanks Bosco! It's working perfectly! Thank you so much :) !


    Regards,

Share This Page