Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to remove all characters in a cell after the first word. Anyone know how to do this?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

If you assume that a space is the division between words you can use something like this.

=LEFT(A1,FIND(" ",A1,1))

if you have a sentence with a comma after the first word it will return it as well, however. You can insert this in an adjoining cell and paste the result. or if you want a macro to do that, it is fairly simple to adapt.

share|improve this answer
2  
You might also want to add -1 to avoid trailing space, i.e. =LEFT(A1,FIND(" ",A1)-1) –  barry houdini Jul 3 '12 at 9:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.