Excel Subtract text after the third space and before the fourth (from between spaces)

Joined
Jun 5, 2020
Messages
1
Reaction score
1
Hi,

I'm trying to subtract a text from a string, specifically starting after the third space and ending before the fourth space (the length of the text is not always the same).
So, what I need is to get only the red portion of the text.
Please help!

1591392559266.webp


Many thanks!!!
 
Hi,

I'm trying to subtract a text from a string, specifically starting after the third space and ending before the fourth space (the length of the text is not always the same).
So, what I need is to get only the red portion of the text.
Please help!

View attachment 13479

Many thanks!!!
If I do it precisely what will I get? :)
 
assuming the text is in cell c6....the formula is =IF(ISERR(FIND(" ",C6,FIND(" ",C6,FIND(" ",C6,1)+1)+1)),"3rd space missing",MID(C6,FIND(" ",C6,FIND(" ",C6,1)+1)+1,(FIND(" ",C6,FIND(" ",C6,FIND(" ",C6,1)+1)+1))-FIND(" ",C6,FIND(" ",C6,1)+1)-1))
 
Some expert from linkedin has reacted in celebration of my input...thanks
 

Attachments

  • Screenshot_2020-06-20-20-32-08-81.webp
    Screenshot_2020-06-20-20-32-08-81.webp
    38.9 KB · Views: 108
Back
Top