ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Pick up some text in a cell (https://www.excelbanter.com/excel-worksheet-functions/229008-pick-up-some-text-cell.html)

Elton Law[_2_]

Pick up some text in a cell
 
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton


David Biddulph[_2_]

Pick up some text in a cell
 
=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton




Elton Law[_2_]

Pick up some text in a cell
 
Hi David,
If this time, I want to capture the 3 letters in front of mio please ?'
EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
In this case, it should be 20, 1, 1 in each each.
Thanks
Elton

"David Biddulph" wrote:

=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton





Ashish Mathur[_2_]

Pick up some text in a cell
 
Hi,

Try this

=1*MID(C11,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},C11&"0 123456789")),SEARCH("
",C11,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},C11&"012345 6789")))-MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},C11&"0123456789") ))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Elton Law" wrote in message
...
Hi David,
If this time, I want to capture the 3 letters in front of mio please ?'
EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
In this case, it should be 20, 1, 1 in each each.
Thanks
Elton

"David Biddulph" wrote:

=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be
JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton





Teethless mama

Pick up some text in a cell
 
Try this:
=--TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",99)),277,99))

copy down


"Elton Law" wrote:

Hi David,
If this time, I want to capture the 3 letters in front of mio please ?'
EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
In this case, it should be 20, 1, 1 in each each.
Thanks
Elton

"David Biddulph" wrote:

=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton





Teethless mama

Pick up some text in a cell
 
Your formula returns incorrect value with this example

EUR/JPY SHORT EUR 20000 MIO

=MID(A1,FIND("MIO",A1)-3,3)



"Glenn" wrote:

=MID(A1,FIND("MIO",A1)-3,3)

Elton Law wrote:
Hi David,
If this time, I want to capture the 3 letters in front of mio please ?'
EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
In this case, it should be 20, 1, 1 in each each.
Thanks
Elton

"David Biddulph" wrote:

=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton





Glenn

Pick up some text in a cell
 
=MID(A1,FIND("MIO",A1)-3,3)

Elton Law wrote:
Hi David,
If this time, I want to capture the 3 letters in front of mio please ?'
EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
In this case, it should be 20, 1, 1 in each each.
Thanks
Elton

"David Biddulph" wrote:

=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton




Elton Law[_2_]

Pick up some text in a cell
 
tks all ... all are super stars !

"Teethless mama" wrote:

Your formula returns incorrect value with this example

EUR/JPY SHORT EUR 20000 MIO

=MID(A1,FIND("MIO",A1)-3,3)



"Glenn" wrote:

=MID(A1,FIND("MIO",A1)-3,3)

Elton Law wrote:
Hi David,
If this time, I want to capture the 3 letters in front of mio please ?'
EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
In this case, it should be 20, 1, 1 in each each.
Thanks
Elton

"David Biddulph" wrote:

=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton





Teethless mama

Pick up some text in a cell
 
You're Welcome!

"Elton Law" wrote:

tks all ... all are super stars !

"Teethless mama" wrote:

Your formula returns incorrect value with this example

EUR/JPY SHORT EUR 20000 MIO

=MID(A1,FIND("MIO",A1)-3,3)



"Glenn" wrote:

=MID(A1,FIND("MIO",A1)-3,3)

Elton Law wrote:
Hi David,
If this time, I want to capture the 3 letters in front of mio please ?'
EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
In this case, it should be 20, 1, 1 in each each.
Thanks
Elton

"David Biddulph" wrote:

=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton





Glenn

Pick up some text in a cell
 
It doesn't "capture the 3 letters in front of mio"?

(Where I took "letters" to mean "characters")


Teethless mama wrote:
Your formula returns incorrect value with this example

EUR/JPY SHORT EUR 20000 MIO

=MID(A1,FIND("MIO",A1)-3,3)



"Glenn" wrote:

=MID(A1,FIND("MIO",A1)-3,3)

Elton Law wrote:
Hi David,
If this time, I want to capture the 3 letters in front of mio please ?'
EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
In this case, it should be 20, 1, 1 in each each.
Thanks
Elton

"David Biddulph" wrote:

=MID(A2,FIND("/",A2)+1,3)
--
David Biddulph

"Elton Law" wrote in message
...
Dear Expert,

Want to extract 3 letters after /, in this case, the answer should be JPY.

EUR/JPY SHORT EUR 20 MIO
AUD/JPY SHORT AUD 1 MIO
USD/JPY SHORT USD 1 MIO
Can ?
Thanks
Elton




All times are GMT +1. The time now is 08:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com