Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Capitalize the last character of a cell.

I have a huge amount of cells where the city and state are combined.
For example Los Angeles, CA. The problem is the text comes over as LOS
ANGELES, CA and when I use the proper function it comes out to Los
Angeles, Ca. All I need to do is figure out how to capitalize the last
character in each of these cells without having to do go city by city.
Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Capitalize the last character of a cell.

Maybe you can use a helper cell with a formula like:

=PROPER(LEFT(A1,LEN(A1)-2))&UPPER(RIGHT(A1,2))



oobe wrote:

I have a huge amount of cells where the city and state are combined.
For example Los Angeles, CA. The problem is the text comes over as LOS
ANGELES, CA and when I use the proper function it comes out to Los
Angeles, Ca. All I need to do is figure out how to capitalize the last
character in each of these cells without having to do go city by city.
Any ideas?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Capitalize the last character of a cell.

Thanks a million!!!! =]

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
Excel 2007 - Formatting text in cell (character by character) TomC Excel Discussion (Misc queries) 0 January 29th 10 07:25 PM
Capitalize text when input in cell shamor Excel Discussion (Misc queries) 1 May 21st 08 04:21 PM
capitalize first letter automatically when typing in excel cell raft Excel Discussion (Misc queries) 1 April 23rd 08 10:10 AM
Capitalize officegirl Excel Discussion (Misc queries) 2 November 30th 07 04:35 AM
Capitalize first letter when type a name in each cell. Craig Brody Excel Worksheet Functions 6 December 20th 04 03:21 PM


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