Hi,
I have data table with multiple columns and filter the data based on “Value added” column with starts text with XBA or XDA(in place of * it can be anything like 0-9 or A to Z) and different date column data need to be pick. Could you please help me on this.
Please find the below sample data
Input:
Category | Brand | Model | Modification date | Value added |
---|---|---|---|---|
abc1 | exe0001 | rgg345 | 9/6/2024 | X1BA2Testing1 |
abc2 | exe0002 | rgg346 | 9/7/2024 | XABACTesting2 |
abc3 | exe0003 | rgg347 | 9/8/2024 | X0BAETesting3 |
abc4 | exe0004 | rgg348 | 9/9/2024 | X5DAATesting3 |
abc5 | exe0005 | rgg349 | 9/10/2024 | X7DAZTesting3 |
abc6 | exe0006 | rgg350 | 9/6/2024 | X7DAZTesting4 |
abc7 | exe0007 | rgg351 | 9/6/2024 | XODAKTesting5 |
abc8 | exe0008 | rgg352 | 9/6/2024 | X0BAETesting3 |
abc9 | exe0009 | rgg353 | 9/6/2024 | X7DAZTesting4 |
Output: Data to be filter with distinct dates(if distinct dates not found we can pick any 3 rows but 3 rows need to select as output)
Output data with starts with XBA
Category | Brand | Model | Modification date | Value added |
---|---|---|---|---|
abc1 | exe0001 | rgg345 | 9/6/2024 | X1BA2Testing1 |
abc2 | exe0002 | rgg346 | 9/7/2024 | XABACTesting2 |
abc3 | exe0003 | rgg347 | 9/8/2024 | X0BAETesting3 |
Output data with starts with XDA
Category | Brand | Model | Modification date | Value added |
---|---|---|---|---|
abc4 | exe0004 | rgg348 | 9/9/2024 | X5DAATesting3 |
abc5 | exe0005 | rgg349 | 9/10/2024 | X7DAZTesting3 |
abc6 | exe0006 | rgg350 | 9/6/2024 | X7DAZTesting4 |
TIA