Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pat Pat is offline
external usenet poster
 
Posts: 122
Default Change part of string to lower

Here is an example of what i would like a formula to carry out:

before
Amur Pink
after
Amur pink

before
Apple-bearing Sage
after
Apple-bearing sage

before
Armenain Yard Long Cucumb
after
Armenain yard long cucumb

Thank you if you can help
Pat


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Change part of string to lower

Assuming your string is in A1, try this formula:

=UPPER(LEFT(A1,1))&LOWER(RIGHT(A1,LEN(A1)-1))

Hope this helps.

Pete

Pat wrote:
Here is an example of what i would like a formula to carry out:

before
Amur Pink
after
Amur pink

before
Apple-bearing Sage
after
Apple-bearing sage

before
Armenain Yard Long Cucumb
after
Armenain yard long cucumb

Thank you if you can help
Pat


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Change part of string to lower

Pat,
if A2 holds the phrase, use the following:
IF(ISNUMBER(FIND(" ",A2)),PROPER(LEFT(A2,FIND("
",A2)))&LOWER(MID(A2,FIND(" ",A2),LEN(A2))),PROPER(A2))

HTH
Kostis Vezerides

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
can i change the part of the data in a colum? phil Excel Discussion (Misc queries) 2 October 28th 05 05:06 PM
Change case setting from lower to upper with current complete doc Nae Excel Worksheet Functions 3 October 21st 05 12:27 PM
HOW DO YOU CHANGE AN ENTIRE SPREAD SHEET FROM LOWER CASE TO UPPER DRPATRICK2 Excel Discussion (Misc queries) 2 August 24th 05 08:51 PM
How to change text string? Dajana Excel Discussion (Misc queries) 2 August 24th 05 02:29 AM
How do I change a column in Excel from upper case to lower case? Debbie Kennedy Excel Worksheet Functions 3 May 2nd 05 06:57 PM


All times are GMT +1. The time now is 03:22 AM.

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"