Hello,
I'm trying to use the FILTER Function along with the SORTBY function to sort by two different columns. However, it's not sorting the same way it does when sorting manually in a Table.
Here's what the data looks like when sorting by Title first and then by Test Date within a Table:
We can see that the Titles are in ascending order, and then the Test Dates. Titles with no Test Date remain in ascending order below the ones with a Test Date.
Here's what it looks like when I use SORTBY Title then Test Date using the Filter Function:
This method seems to disregard the 2nd Sort Order to the Test Date…
Here's what my SAMPLE DATA Looks like:
Any help would be greatly appreciated.
Thank you…
I'm trying to use the FILTER Function along with the SORTBY function to sort by two different columns. However, it's not sorting the same way it does when sorting manually in a Table.
Here's what the data looks like when sorting by Title first and then by Test Date within a Table:
We can see that the Titles are in ascending order, and then the Test Dates. Titles with no Test Date remain in ascending order below the ones with a Test Date.
Here's what it looks like when I use SORTBY Title then Test Date using the Filter Function:
This method seems to disregard the 2nd Sort Order to the Test Date…
Here's what my SAMPLE DATA Looks like:
Cell Formulas | ||
---|---|---|
Range | Formula | |
K2:M33 | K2 | =LET( x,FILTER(CHOOSECOLS(t_Students,5,1,2),COUNTIF(l_OnHand,t_Students[Book Status])), SORTBY(x,INDEX(x,,3),1,INDEX(x,,1),1)) |
Dynamic array formulas. |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
l_OnHand | =t_BookStatus[On Hand] | K2:M33 |
Any help would be greatly appreciated.
Thank you…