D
Dave Podschweit
Hello All,
I have a concatenate question that I hope someone can help with. I am
creating a spreadsheet with users in Excel 2003, and I need to merge
cells together, but I also need some additional filters in place.
here is my function as it is written now:
D2=LOWER(CONCATENATE(LEFT(A2),LEFT(B2),TRIM(C2)))
FirstName MiddleName LastName Username
John Quincy Public jqpublic
The formula works great in this situation, but lets complicate
matters.
I have multiple users with punctuation in their name, and creating
usernames with punctuation=bad.
John Quincy O'Brien-Public, III jqo'brien-public, iii
If I was entering all of the name information manually, this would not
be a problem, but all of that information is exported from a database
and dropped into an excell file for me to convert and then import into
active directory to create user accounts every year at a educational
institution. I obviously would like to do this as programmatically as
humanly possible.
My thoughts are to do replace on the 's and -s, but I don't know how
to replace them with a <backspace> essentially. My thought on the ,s
is to truncate at that point, but I am unsure as to how I should
accomplish this.
Please help,
Thanks,
Dave
I have a concatenate question that I hope someone can help with. I am
creating a spreadsheet with users in Excel 2003, and I need to merge
cells together, but I also need some additional filters in place.
here is my function as it is written now:
D2=LOWER(CONCATENATE(LEFT(A2),LEFT(B2),TRIM(C2)))
FirstName MiddleName LastName Username
John Quincy Public jqpublic
The formula works great in this situation, but lets complicate
matters.
I have multiple users with punctuation in their name, and creating
usernames with punctuation=bad.
John Quincy O'Brien-Public, III jqo'brien-public, iii
If I was entering all of the name information manually, this would not
be a problem, but all of that information is exported from a database
and dropped into an excell file for me to convert and then import into
active directory to create user accounts every year at a educational
institution. I obviously would like to do this as programmatically as
humanly possible.
My thoughts are to do replace on the 's and -s, but I don't know how
to replace them with a <backspace> essentially. My thought on the ,s
is to truncate at that point, but I am unsure as to how I should
accomplish this.
Please help,
Thanks,
Dave