Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Formula for Computer Names

Hello All,
I am using Office 2003 and have the following problem for eg.

Col A – Heading is User Name = JOHN.EMBUREY (first name is JOHN and
second name is EMBUREY)
Col B – Heading is Computer Name = should show first 3 characters of
second name and first two characters of the first name plus 01 and LT

Col B = In the above example would be EMBJO01LT

Obviously the number of characters in first name and second name will
vary.

I need a formula which should look up first 3 characters of the last
name i.e. after the period (.) and first two characters of the first
name i.e beginning two characters concatenated with 01LT.

Any help would be appreciated.


TIA

Rashid Khan
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Formula for Computer Names

hi.
try something like this....
=MID(A2,FIND(".",A2,1),4)&LEFT(A2,2)&"01LT"

worked on your example in xp....on friday.
Regards
FSt1

" wrote:

Hello All,
I am using Office 2003 and have the following problem for eg.

Col A €“ Heading is User Name = JOHN.EMBUREY (first name is JOHN and
second name is EMBUREY)
Col B €“ Heading is Computer Name = should show first 3 characters of
second name and first two characters of the first name plus 01 and LT

Col B = In the above example would be EMBJO01LT

Obviously the number of characters in first name and second name will
vary.

I need a formula which should look up first 3 characters of the last
name i.e. after the period (.) and first two characters of the first
name i.e beginning two characters concatenated with 01LT.

Any help would be appreciated.


TIA

Rashid Khan

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Formula for Computer Names

On Jan 24, 11:34*am, Lars-Åke Aspelin
wrote:
On Fri, 23 Jan 2009 23:07:42 -0800 (PST), wrote:
Hello All,
I am using Office 2003 and have the following problem for eg.


Col A – Heading is User Name = JOHN.EMBUREY (first name is JOHN and
second name is EMBUREY)
Col B – Heading is Computer Name = should show first 3 characters of
second name and first two characters of the first name plus 01 and LT


Col B = In the above example would be EMBJO01LT


Obviously the number of characters in first name and second name will
vary.


I need a formula which should look up first 3 characters of the last
name i.e. after the period (.) and first two characters of the first
name i.e beginning two characters concatenated with 01LT.


Any help would be appreciated.


TIA


Rashid Khan


Try this formula in cell B1

=MID(A1,FIND(A1,".")+1,3)&LEFT(A1,2)&"01LT"

Hope this helps / Lars-Åke- Hide quoted text -

- Show quoted text -


It shows #Value error
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Formula for Computer Names

On Jan 24, 11:32*am, FSt1 wrote:
hi.
try something like this....
=MID(A2,FIND(".",A2,1),4)&LEFT(A2,2)&"01LT"

worked on your example in xp....on friday.
Regards
FSt1



" wrote:
Hello All,
I am using Office 2003 and have the following problem for eg.


Col A – Heading is User Name = JOHN.EMBUREY (first name is JOHN and
second name is EMBUREY)
Col B – Heading is Computer Name = should show first 3 characters of
second name and first two characters of the first name plus 01 and LT


Col B = In the above example would be EMBJO01LT


Obviously the number of characters in first name and second name will
vary.


I need a formula which should look up first 3 characters of the last
name i.e. after the period (.) and first two characters of the first
name i.e beginning two characters concatenated with 01LT.


Any help would be appreciated.


TIA


Rashid Khan- Hide quoted text -


- Show quoted text -


It works but with a period in the beginning.
Any clues?
Thanks


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Formula for Computer Names

On Jan 24, 12:27*pm, Lars-Åke Aspelin
wrote:
On Sat, 24 Jan 2009 00:22:41 -0800 (PST), wrote:
On Jan 24, 11:34*am, Lars-Åke Aspelin
wrote:
On Fri, 23 Jan 2009 23:07:42 -0800 (PST), wrote:
Hello All,
I am using Office 2003 and have the following problem for eg.


Col A – Heading is User Name = JOHN.EMBUREY (first name is JOHN and
second name is EMBUREY)
Col B – Heading is Computer Name = should show first 3 characters of
second name and first two characters of the first name plus 01 and LT


Col B = In the above example would be EMBJO01LT


Obviously the number of characters in first name and second name will
vary.


I need a formula which should look up first 3 characters of the last
name i.e. after the period (.) and first two characters of the first
name i.e beginning two characters concatenated with 01LT.


Any help would be appreciated.


TIA


Rashid Khan


Try this formula in cell B1


=MID(A1,FIND(A1,".")+1,3)&LEFT(A1,2)&"01LT"


Hope this helps / Lars-Åke- Hide quoted text -


- Show quoted text -


It shows #Value error


Sorry, I mixed up the arguments.
Try this instead

=MID(A1,FIND(".",A1)+1,3)&LEFT(A1,2)&"01LT"

Lars-Åke- Hide quoted text -

- Show quoted text -


Works ok now.
Thanks a lot
Reply
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
COPYING FORMULA CONTAINING NAMES/RELATIVE RANGE NAMES Bricol Excel Discussion (Misc queries) 0 July 8th 08 03:54 PM
Formulaed cell response varies from computer to computer WKH Excel Discussion (Misc queries) 3 November 21st 07 06:37 PM
Display size difference- PC computer vs. Mac computer? dk_ Excel Discussion (Misc queries) 1 October 17th 06 05:48 AM
How do I copy all Excel files from old computer to new computer? Rfarsh Excel Discussion (Misc queries) 2 December 20th 05 03:23 AM
Autocomplete works with my home computer but not the office computer Andy Excel Discussion (Misc queries) 4 December 11th 04 07:21 PM


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

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

About Us

"It's about Microsoft Excel"