Extract certain character set from cell Google Sheets

▼魔方 西西 提交于 2019-12-12 05:27:21

问题


I'm using IFTTT to keep track of my PayPayl invoices. Every time I get a new invoice email, a row is added to my Google Sheet. However, the entire message appears in one cell of my sheet.

Is there a way to extract the Transaction ID and put it in a seperate cell? I have tried using =SPLIT, but no luck so far.

Here a link to an example: https://goo.gl/w3oA9R


回答1:


I left you an example on your sheet highlighted in green - the formula in case anyone else is wondering is this:

=regexextract(concatenate(D2);".*(Transaction ID:.*)")

note: if you want the id by itself, then modify it slightly like this:

=regexextract(concatenate(D2);".*Transaction ID:(.*)")


来源:https://stackoverflow.com/questions/34803617/extract-certain-character-set-from-cell-google-sheets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!