Pretty much all of that can be done natively in Glide. I think sheet formulas would only be necessary in highly specific cases. us the experience is much better when you don’t have to wait for for those sheet formula values to sync back to Glide.
Filtering and Sorting can be done directly on a collection or within a Query column.
Index and Match is can be replaced with Query/Relation and Lookup columns
Count and Countif can be replaced with Query/Relation and Rollup columns.
Row, I guess it depend on how you are using it, but I doubt you need it.
IsNa, can be replaced with an IF column that checks for empty.
You are much better off moving your logic into Glide.