0

In google sheet, I have a data set A:

enter image description here

In another sheet I am creating a dynamic list using the UNIQUE formula: enter image description here

However, when I use filters to sort the data, it gets all scattered leaving empty cells where there shouldn't be any:

enter image description here

Does anyone know a workaround to avoid this? Is it impossible to use filters AND Unique at the same time or is there another way to do this?

  • share a copy of your sheet pls – user0 May 23 at 11:19
0

It's not possible to use the UI filters to filter the result of formulas like UNIQUE that return an array of values, instead you could use the built-in function SORT, i.e. =SORT(UNIQUE(A1:B6,1) among other alternatives (pivot table, Google Apps Script, copy-paste as values, then sort, etc.)

0

Use a pivot table, and sort it by sumof column2 instead of the unique + sumif combination that you are using. See this spreadsheet to see it working on your data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.