E
E
Elephant_Jim2020-08-07 06:49:23
excel
Elephant_Jim, 2020-08-07 06:49:23

How to assemble a column with only filled cells from a column with empty and filled cells?

Please tell me the formula. Or how it can be done. There is a column1 with data, some cells are filled, some are not. You need to create a column2 (next to or on another sheet) with data from column1, only without gaps, all cells in a row are filled.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alexalexes, 2020-08-07
@Elephant_Jim

On Sheet1, in column A you have the initial data.
Put the cursor on B1, insert the formula.
Press Ctrl+Shift+Enter to activate the array formula.

=ЕСЛИОШИБКА(ИНДЕКС(Лист1!A$1:A$99;НАИМЕНЬШИЙ(ЕСЛИ(Лист1!A$1:A$99<>"";СТРОКА(Лист1!A$1:A$99));СТРОКА(B1)));"")

Drag the selected cell B1 to the required length along the column.

D
datka, 2020-08-07
@datka

It is possible still so to make: You filter a column. remove empty cells through the filter. copy and paste on a new sheet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question