Excel how to merge 2 columns

Antonella Ficini 1 Reputation point
2023-01-05T15:36:11.577+00:00

If I have the following excel 2 colums
a 1
b 2
c 3
How can I get a single column formatted like this
a
1
b
2
c
3
Unfortunately using autofill skips some cells

Microsoft 365 and Office Excel For business Windows
{count} votes

3 answers

Sort by: Most helpful
  1. Lz._ 9,016 Reputation points
    2023-01-09T11:03:08.457+00:00

    Alternatively, with Microsoft/Office 365:

    277453-sample.png

    1 person found this answer helpful.
    0 comments No comments

  2. Emily Hua-MSFT 27,796 Reputation points
    2023-01-06T01:48:07.043+00:00

    Hi @Antonella Ficini

    Welcome to Q&A forum ~

    Please check whether the formula is helpful.
    =OFFSET(A$1,INT((ROW(A1)-1)/2),MOD(ROW(A1)-1,2))

    276716-capture3.png

    Please note, the part of INT((ROW(A1)-1)/2) can be INT((ROW(A1)-Row($A$1))/2), and MOD(ROW(A1)-1,2) can be MOD(ROW(A1)-Row($A$1),2). Cell A1 is the first cell in my sample, you can change it as yours first one.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



  3. Lz._ 9,016 Reputation points
    2023-05-13T15:52:09.01+00:00

    With Excel 2021

    =LET(
      rng, A1:B3,
      cls, COLUMNS(rng),
      sek, SEQUENCE(cls*ROWS(rng),,0),
      INDEX(rng, 1+QUOTIENT(sek,cls), 1+MOD(sek,cls))
    )
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.