Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Extract data from tab based on similar name

Hello,   I am wondering if this is something possible to do. I receive 30 files per month with two tabs (ie A-aa and B-bb). I need to extract data from tab A-aa. However, some people name it as A-...
  • Nolock's avatar
    Nolock
    7 years ago

    Hi Anonymous,

    you can get all column names of a table and filter out only those which are similar to your pattern.

    You will need following functions:

    And then you'll get a new list of column names which you use for selecting columns of your table.