LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need Help!!


I have been asked to complete an excel spreadsheet thing. But i have a
question. The spreadsheet has list of names and other details in each
column. For the column after the names, i need to do the following.

"This is the 2nd, 3rd and 5th characters from the Client's last name
excluding andy punctuation. If there is not enough letters to use the
2nd, 3rd and 5th characters then the number 2 is used to substitute the
missing characters."

So if a clients name was:
"Joe Somebody"

Then the next column should contain:
"omb" [Joe S*om*e*b*ody]

But if their name was:
"Joe Bump"

Then the next column should contain:
"um2" [Joe B*um*p] (cos there isnt a 5th, it is then substituted with a
'2')

But I do not know how to put this in place for 1 cell, let alone the
whole column. I think there might be some code written for this?

Any help is much appreciated, thanks.


--
Murty
------------------------------------------------------------------------
Murty's Profile: http://www.excelforum.com/member.php...o&userid=31255
View this thread: http://www.excelforum.com/showthread...hreadid=509302

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"