Formula to create a list of table entries by row

Anonymous
2021-12-17T07:42:53+00:00

I need a formula that takes my table of 5 columns and an arbitray number of rows and creates a list row by row in a single column like the following example. I appreciate your assistance.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2021-12-20T02:20:09+00:00

    Hi Guy,

    Good day to you and thank you for querying in this forum. Whenever you have any problem, feel free to post and community members will be happy to help.

    Regards,

    Christophe

    0 comments No comments
Answer accepted by question author
  1. Ashish Mathur 100.9K Reputation points Volunteer Moderator
    2021-12-18T00:10:27+00:00

    Hi,

    In cell C3, enter this formula

    =IFERROR(INDEX($A$3:$A$19,SEQUENCE(ROUNDUP(COUNTA($A$3:$A$19)/5,0),5)),"")

    Hope this helps.

    There is a way to solve this in the Query Editor as well. Let me know if you want to solve the problem with that method as well.

    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2021-12-17T07:54:00+00:00

    Hi,

    Try this formula in cell A3:

    =INDEX(C3:G5,INT(SEQUENCE(ROWS(C3:G5)*COLUMNS(C3:G5),,0,1)/COUNTA(C3:G3))+1,MOD(SEQUENCE(ROWS(C3:G5)*COLUMNS(C3:G5),,0,1),COUNTA(C3:G3))+1)

    This formula works if you have installed Office 365 for Windows, otherwise you can use this below formula:

    =IFERROR(INDEX($C$3:$G$5,INT((ROW(A1)-1)/COLUMNS($C$3:$G$5))+1,MOD(ROW(A1)-1,COLUMNS($C$3:$G$5))+1),"")

    HTH

    0 comments No comments

0 additional answers

Sort by: Most helpful