How to return # characters based on 2nd instance of value

J

JDay01

I have a range of text fields with descriptions containing a combination of
words and spaces. I want to return the leftmost two words of each
description, however, the position of where the 2nd space occurs varies by
cell.
I have found a way to return the first word by using the following formula:
=LEFT(E4,FIND(" ",E4)-1)) However, I cannot figure out how to return the
TWO words. Can someone help?
 
D

Duke Carey

The third argument to Find() is optional, & it indicates which character
Excel should start searching from. You could use 1+ the position of the
first space as the starting point

=LEFT(E4,FIND(" ",E4,1+FIND(" ",E4,1))-1))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top