A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
If Date Services Ceased is in column 21 Use 2.
=SORT(IF(F2="All",CHOOSECOLS(FILTER(tblConsumerList,tblConsumerList[Receiving Services]="No"),1,21,22),CHOOSECOLS(FILTER(tblConsumerList,tblConsumerList[Reason, If not receiving service]=F2),1,21,22)),2,-1,)