Forum Discussion

StokieAC's avatar
StokieAC
Copper Contributor
Nov 07, 2024

Filter, Sortby...help with formula needed!!

I wish to create a table on Sheet 2 extracted from a table on Sheet 1. I only wish certain columns to be used, driven by whether Col 5 is populated. These will then need to be columnised into a diffe...
  • m_tarler's avatar
    Nov 07, 2024

    Yes. you can use a combination of CHOOSECOLS and FILTER and SORT

    let assume your original Table is called DataTable, then maybe:

    =SORT(FILTER(CHOOSECOLS(DataTable, 5,3,1),CHOOSECOLS(DataTable, 5)<>""))

Resources