How to Sort Unique and Filter Formulas in Google Sheets

Mattdim805

New Member
Joined
Dec 11, 2013
Messages
11
I have a table in Google Sheets that is automatically populated by referencing a data set using UNIQUE and FILTER formulas. I'm trying to add a SORT formula to it so that I can populate the last column from Z to A.

Below is the current code, which sorts the table from A to Z by the Openers column:

Code:
=SORT(UNIQUE(FILTER('2021 Lead Data'!D:D,('2021 Lead Data'!B:B=2)*('2021 Lead Data'!D:D<>""))))

When I try to sort the table by ratio column, it moves the formula that's generating the list of people, which causes a bunch of white spaces to show up on top. This causes half of the table to not accurately report. See the example below.

1619624170956.png


I know I can do it using the below code in a different cell, but I'm trying to declutter the sheet if at all possible, so I want to avoid having to created duplicated tables for sorting.

Code:
=SORT(G4:J23,4,FALSE)

Any guidance on how I can sort the Ratio table from Z to A would be greatly appreciated - thanks!
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top