Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 925

How can I sort a filter function using custom column arrangement and not have headers included in the sorting?

$
0
0

I was able to get this formula to work for the filter where I have columns AE and AF selected.

When I tried doing adding a sort portion to the formula it mixed the headers in with it, the formula mixed the headers in with the listed data.

Original:

=FILTER(CHOOSE({1,2},AF:AF,AE:AE),AE:AE>0)

Sorting in ascending order for 1st column:

=SORT(FILTER(CHOOSE({1,2},AF:AF,AE:AE),AE:AE>0),1,1)

Is there a way to not have the headers included in the sorting?

Note: The data set is not a table and I cannot make it into a table per Client doesn't want the raw data transformed.

Resource for custom columns:


Viewing all articles
Browse latest Browse all 925

Trending Articles