Yogi Anand, D.Eng, P.E. Google Spreadsheet Post #731 Sep 04, 2012 www.energyefficientbuild.com.
user meph2u said: (http://productforums.google.com/forum/?zx=alk42vs49d24#!category-topic/docs/spreadsheets/vd_F4sx0R_E)
trimming trailing spaces.
I am getting external data "Lastname, first name,________" where the underscore signifies trailing spaces. I need to take these off because of a lookup function. I can find the TRIM function which seems to take of preceding spaces but have not been able to find a way to take of the trailing spaces. Any ideas?
----
I have put the problem in this spreadsheet on the TRIM tab:
https://docs.google.com/
I appreciate your help.
In this case, I don't think the SUBSTITUTE function will work as there are blanks in the middle of the names either after the comma, or before Jr, III, etc.
-------------------------------------------------------------------------------------------
I present solution in the following
Am I wrong or does the TRIM function only remove leading and not trailing spaces?
ReplyDeleteHi Robespierre:
ReplyDeleteTRIM function removes both leading and trailing superfluous space characters.
Make It A Great One
Cheers!
Yogi
Cloud Computing -- Google Docs Way
yogi--anand-consulting.blogspot.com