Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,670
Default How to retrieve character from a string for excel?

Does anyone know how to retrieve the first two character from a string for
excel?
such as there is a word in Cell B2 = "Choice", then in Cell B1, which
display only "Ch".
Does anyone have any suggestion?
Thank you for any suggestion
Eric
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 33
Default How to retrieve character from a string for excel?

=left(A1,2)

"Eric" wrote in message
...
Does anyone know how to retrieve the first two character from a string for
excel?
such as there is a word in Cell B2 = "Choice", then in Cell B1, which
display only "Ch".
Does anyone have any suggestion?
Thank you for any suggestion
Eric



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default How to retrieve character from a string for excel?

=mid(b1,1,2)

mid() can replace left() and right().


"Eric" wrote:

Does anyone know how to retrieve the first two character from a string for
excel?
such as there is a word in Cell B2 = "Choice", then in Cell B1, which
display only "Ch".
Does anyone have any suggestion?
Thank you for any suggestion
Eric

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,670
Default How to retrieve character from a string for excel?

Thank everyone for suggestion
Eric
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
How to retrieve character from a string for excel? Eric Excel Discussion (Misc queries) 1 September 4th 06 08:20 AM
List File Properties - Author SS Excel Worksheet Functions 1 June 23rd 06 04:56 PM
Extracting a character from a string of characters Sue Excel Discussion (Misc queries) 6 October 30th 05 01:35 AM
Setting character attributes in a text string Greg Neill Excel Worksheet Functions 1 June 15th 05 08:47 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 02:53 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"