Column 1: 250 names: Column 2 only the last 4 characters of

Dinictus

Board Regular
Joined
Mar 19, 2002
Messages
162
hi,

I want to create 4 character login names from a column with 250 adressen. Example:

column 1: Miss L. chackenbackerslacher
Column 2: acher

Column 1: mrs P. diddy
Column 2: iddy


The point is, not all names have the same length otherwise I could just pull a simple substring.

I tried working with the mid function but this only works from position 1. I looking for a "reverser" (start at end) mid function or something.


To be honest: If I`d put some effort in it, I could figure this one myself of course. But I know that there are users here who can just dream codes like these. It wil save me a lot of time so I owuld be gratefull if someone would help me out.

Cheers,
Dinictus.
This message was edited by Dinictus on 2002-03-27 02:13
This message was edited by Dinictus on 2002-03-27 02:27
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
OMG,

I will go and be ashamed the rest of the day now. Sometimes you make things more difficult then they really are.

thanks.
Din.
 
Upvote 0
I dated a Miss L Achenbackerslacher, actually....


anyhow, :wink:

are you okay if you have 2 Mr Smiths or a number of Miss Whites etc etc etc....
 
Upvote 0

Forum statistics

Threads
1,214,413
Messages
6,119,374
Members
448,888
Latest member
Arle8907

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top