TB's Code Library
If it ain't tight, it ain't right!
Search
Thursday, May 26, 2005
Excel code to grab the first word in a referring cell
In this case…Cell, T4, has the value in it you want.
=IF(LEN(T4)=0,"",IF(ISERR(FIND(" ",T4)),T4,LEFT(T4,FIND(" ",T4)-2)))
Newer Post
Older Post
Home