extract word function
=LEFT( TRIM( A1 ), IF( ISERR( SEARCH( " ", SUBSTITUTE( TRIM( A1 ), " ", "
", 3 ) ) ), LEN( A1 ), SEARCH( " ", SUBSTITUTE( TRIM( A1 ), " ", " ", 3 ) )
- 1 ) )
--
Regards,
Luc.
"Festina Lente"
"Dinesh" wrote:
Is their a function to extract first 3 words from a text string?
Thanks.
Dinesh Shah
|