Filter google sheets column. I want to return the column without the empty cells
Jump to turn (12)
- 1Filter google sheets column. I want to return the column without the empty cells
- 2={Sheet1!BZ2;FLATTEN({ArrayFormula(SPLIT(Sheet1!BZ2:BZ50,",",FALSE,TRUE))})} Thi
- 3I have a column which is made up of cells which have comma seaprated values. I w
- 4I get result was not expanded error. How do I fix that?
- 5Currently the code is working fine. But I found an issue. It seems to add empty
- 6It is still the same.
- 7=FLATTEN(ArrayFormula(IF(BZ2:BZ101<>"", TRIM(SPLIT(BZ2:BZ101, ",")), ""))) This
- 8I got the following error Wrong number of arguments to SPLIT. Expected between 2
- 9It is still throwing the same error
- 10This is okay. Now how do I remove empty strings from inside the arrayformula
- 11Formula for removing empty string from column and returning cloumn
- 12I want it to also filter values which are equal to 'other'
- User
Filter google sheets column. I want to return the column without the empty cells
- Assistant
To filter a Google Sheets column and return it without empty cells, you can use the
FILTERfunction with theISBLANKfunction as a condition. Here's how you can do it:- Assuming your column's values are in column A, starting from cell A1, enter the following formula in an empty column (e.g., B1):
code=FILTER(A:A, NOT(ISBLANK(A:A)))This formula filters the values in column A (A:A) by checking if they are not blank (NOT(ISBLANK(A:A))).
- Press Enter, and you will get a filtered list of values from column A without any empty cells in column B.
Note: You can change column references (e.g., A:A) based on your actual sheet configuration.
- User