Extracting data from a table with merged cells

Copper Contributor

Dear Excel Community 

 

I'm trying to extract data from a table with merged cells into a new table (that doesn't include merged cells). 

 

This is an extract of the table I want to extract data from:

Tom_Brasch_1-1676277652438.png

 

And this is how it should look like:

Tom_Brasch_3-1676277716503.png

 

Is there a good way (ideally with formulas) to extract the data as explained? Ideally the data in the new table should also be updated automatically, in case of any changes made to the text in the original table. 

 

Really appreciate your tips :)

 

Best,

Thomas

 

3 Replies

@Tom_Brasch 

 

Use FILTER, e.g.:

=FILTER(A1:B20,A1:A20<>"")

 Regards

@Tom_Brasch 

I had to go to something a little more elaborate because I did not have the cell merging in both columns.

= LET(
    topics,   FILTER(topic, topic<>""),
    criteria, FILTER(criterion, criterion<>""),
    HSTACK(topics, criteria)
  )

 

@Tom_Brasch 

I propose a non-FILTER solution:

 

=WRAPROWS(TOCOL(data,1),2)