ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   proper formula - how to make the state be CAPS (https://www.excelbanter.com/excel-discussion-misc-queries/215555-proper-formula-how-make-state-caps.html)

kmjmail

proper formula - how to make the state be CAPS
 
In my worksheet I have the address in separate columns, when I put in a
Proper formula to get the Address City, ST and zip to be all in one cell the
State is always Oh instead of OH and Mi instead of MI. Is there a way to get
the state to be CAPS?

Thanks for you help.

JE McGimpsey

proper formula - how to make the state be CAPS
 
One way:

B1: Address
C1: City
D1: State
E1: Zip

G1: =PROPER(B1 & ", " & C1) & ", " & UPPER(D1) & " " & E1



In article ,
kmjmail wrote:

In my worksheet I have the address in separate columns, when I put in a
Proper formula to get the Address City, ST and zip to be all in one cell the
State is always Oh instead of OH and Mi instead of MI. Is there a way to get
the state to be CAPS?

Thanks for you help.


Sheeloo[_3_]

proper formula - how to make the state be CAPS
 
What is the formula you are using?

If you have lower case text in A1 then
=UPPER(A1) in any other cell will convert it to Upper case.



"kmjmail" wrote:

In my worksheet I have the address in separate columns, when I put in a
Proper formula to get the Address City, ST and zip to be all in one cell the
State is always Oh instead of OH and Mi instead of MI. Is there a way to get
the state to be CAPS?

Thanks for you help.


kmjmail

proper formula - how to make the state be CAPS
 
Thank you so much, it worked perfectly.

"JE McGimpsey" wrote:

One way:

B1: Address
C1: City
D1: State
E1: Zip

G1: =PROPER(B1 & ", " & C1) & ", " & UPPER(D1) & " " & E1



In article ,
kmjmail wrote:

In my worksheet I have the address in separate columns, when I put in a
Proper formula to get the Address City, ST and zip to be all in one cell the
State is always Oh instead of OH and Mi instead of MI. Is there a way to get
the state to be CAPS?

Thanks for you help.




All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com