[mso] Re: TRIM Excel function
- From: "Pearce, Norman" <Norman.Pearce@xxxxxxxxxx>
- To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
- Date: Fri, 27 Jan 2006 12:27:35 -0000
Hi Graham,
Try =substitute(textcell, " ", "")
Where the text cell is the cell address that holds your data, assuming that
is all in a single cell.
The second argument has a space between the quotes.
The third has nothing between the quotes.
Regards
Norman Pearce
IM&T Learning Manager
The Training Centre
Ealing Hospital NHS Trust
UK
Developing the foundations for your success
-----Original Message-----
From: Graham Jones [mailto:agjones@xxxxxxxxxxxxxx]
Sent: 27 January 2006 12:05
To: 'mso@xxxxxxxxxxxxx'
Subject: [mso] TRIM Excel function
I am trying to generate fairly friendly usernames from surnames and need to
eliminate spaces from between double/triple names, e.g. Mohammed Yusuf
Mohammed.
TRIM will only tidy any superfluous spaces, does anyone have an easy way for
me to get MohammedYusufMohammed?
A. Graham Jones
Key Skills and IT
Bellerbys College, Brighton & Hove
T: 01273-323374
F: 01273-749322
E: agjones@xxxxxxxxxxxxxx
www.bellerbys.com <www.bellerbys.com>
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes)
in the subject line.
Or, visit the group's homepage and use the dropdown menu. This will also
allow you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
with instructions. Once you are a member of the files group, you can go
here to upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, send an email to
mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in
the subject line.
Or, visit the group's homepage and use the dropdown menu. This will also allow
you to change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to use the files section for sharing files with the group, send a
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with
instructions. Once you are a member of the files group, you can go here to
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************
Other related posts: