Forum Discussion

cerebro's avatar
cerebro
Helper I
3 years ago
Solved

Check if column text contains values from another column and return the text

Dear everybody,   I have two different sources and i would like to search for the project number from the second source in the account from the first source and return the project in the custom col...
  • PhilipTreacy's avatar
    PhilipTreacy
    3 years ago

    Hi cerebro 

     

    Download sample XLSX file

     

    Yes, you can use Text.BetweenDelimiters to extract just the 4 digits between the - -

     

    = Text.Select(Text.BetweenDelimiters([Account], "-", "-"), {"0".."9"})

     

     

     

    Regards

     

    Phil