=TRIM(LEFT(B47,FIND(" ",B47)-1))
Hi,
If I understand correctly you want to keep everything upto the first blank:
Select the cell or range (B47 here) and choose Data, Text to Columns,
Delimited, Next, specify Space as the delimiter and click Next. Select all
columns to the right of the first column in the preview area and choose Do
not import, Skip. Set a destination cell and click OK.
--
If this helps, please click the Yes button.
Cheers,
Shane Devenshire
"Jim" wrote:
Hello,
How do I write this formula so that the result is a blank cell if B47 is
blank? I get a #VALUE now.
=TRIM(LEFT(B47,FIND(" ",B47)-1))
Thanks so much for hte help
|