FIND function

CHuguley

New Member
Joined
Feb 17, 2002
Messages
45
In using the FIND function, how can I make the it look at the second space in text that I'm extracting from? I'm trying to return the text after the second space in the orginal text.

Thanks
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Juan Pablo González

MrExcel MVP
Joined
Feb 8, 2002
Messages
11,959
Something like this ?

=RIGHT(A1,LEN(A1)-FIND(" ",SUBSTITUTE(A1," ","",1))-1)


I'm using the SUBSTITUTE to replace the first space with nothing, and then, use the RIGHT function to extract the right portion of the text...
 

CHuguley

New Member
Joined
Feb 17, 2002
Messages
45
What about the left position? How can I accomplish using the LEFT function?

Thanks
 

Juan Pablo González

MrExcel MVP
Joined
Feb 8, 2002
Messages
11,959
The FIND(..) function I posted in the previous post should give you (-1) the position of the second space in the string of A1, you can use that number to return the text you want.
 

Forum statistics

Threads
1,144,768
Messages
5,726,179
Members
422,660
Latest member
mrsteele

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top