Hello - I have a spreadsheet where column A is a paragraph of text such as:
sent to: abc@xyx.com
received from: 1234@myco.com
Text here....
or sometimes the cell has contents such as:
sent to: xxx@ourcompanycom received from: xxx@mail.com Hello, I am looking for.. and so on.
Looking for a formula to extract the email address (regardless of length) after the "from:" and put the output into column B
I have used: =TRIM(LEFT(SUBTITUTE(TRIM(MID(A1,FIND("from:",A1)+1,100)," ",REPT(" ",100),1),100)) With mixed results looking to capture the from: email address regardless of length - any help would be greatly appreciated.
Regard,
dangileri
sent to: abc@xyx.com
received from: 1234@myco.com
Text here....
or sometimes the cell has contents such as:
sent to: xxx@ourcompanycom received from: xxx@mail.com Hello, I am looking for.. and so on.
Looking for a formula to extract the email address (regardless of length) after the "from:" and put the output into column B
I have used: =TRIM(LEFT(SUBTITUTE(TRIM(MID(A1,FIND("from:",A1)+1,100)," ",REPT(" ",100),1),100)) With mixed results looking to capture the from: email address regardless of length - any help would be greatly appreciated.
Regard,
dangileri