Formula help

Jewells0905

New Member
Joined
Mar 10, 2024
Messages
42
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I am trying to generate one formula for cell C2, using the functions SPLIT and PROPER, to produce the first name with proper capitalization in cell C2, and properly capitalized last name into cell D2. I need to have D2 free from formulas
And then needing to combine CellsH2:K2, using functions PROPER and UPPER, to produce the full address in L2, with the states capitalized. I have tried several combinations and none are giving the results I'm after.


=PROPER(SPLIT(A3," ",FALSE,TRUE)) - this is what I'm currently working with in cell C2, which as you can see produces the first name into C2, but not the last name into D2. And of course this formula works to split the names into the cells but is not capitalizing the first/last name - =SPLIT(A2," ")

=PROPER(H2)&" "&PROPER(I2)&","&PROPER(J2)&","UPPER(K2) is giving me formula parse error in cell L2 currently, and the below is producing the desired address however, I can not figure out how to add in proper to get the state capitalized - =H3&" "&I3&", "&J3&", "&K3 (currently in H3)

Full NameGenderPhoneHouse NumberStreet NameCityState
james smithMr.James SmithJamesm4176607092(417) 660-7092787MadisonBIG SUMMITmo#ERROR!
robert johnsonMr.Robert JohnsonRobertm6037376794(603) 737-67943728HilltopBLUE SPRINGSmo3728 Hilltop, BLUE SPRINGS, mo
john williamsMr.John WilliamsJohnm8377096850(837) 709-68508555AspenBIG SUMMITmo8555 Aspen, BIG SUMMIT, mo
linda brownMs.Linda BrownLindaf9514182256(951) 418-22569299SunriseRAYTOWNmo9299 Sunrise, RAYTOWN, mo
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Excel Formula:
=PROPER(H2)&" "&PROPER(I2)&","&PROPER(J2)&","&UPPER(K2)
Book1
ABCDEFGHIJKL
1Full NameGenderPhoneHouse NumberStreet NameCityState
2james smithMr.James SmithJamesm4.18E+09(417) 660-7092787MadisonBIG SUMMITmo787 Madison,Big Summit,MO
3robert johnsonMr.Robert JohnsonRobertm6.04E+09(603) 737-67943728HilltopBLUE SPRINGSmo3728 Hilltop,Blue Springs,MO
4john williamsMr.John WilliamsJohnm8.38E+09(837) 709-68508555AspenBIG SUMMITmo8555 Aspen,Big Summit,MO
5linda brownMs.Linda BrownLindaf9.51E+09(951) 418-22569299SunriseRAYTOWNmo9299 Sunrise,Raytown,MO
Sheet1
Cell Formulas
RangeFormula
L2:L5L2=PROPER(H2)&" "&PROPER(I2)&","&PROPER(J2)&","&UPPER(K2)
 
Upvote 0
Solution
=PROPER(SPLIT(A3," ",FALSE,TRUE))
That looks like a google sheets formula :unsure: - if that is the case, 1. you should probably mention such facts, and 2. you could try : =SPLIT(PROPER(A1)," ",FALSE,TRUE)
 
Upvote 0
to be fair you had the hard work done just forgot the & before UPPER at the end
 
Upvote 1

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top