Extract Left Of A Upper Case Letter

gr8whthunter76

New Member
Joined
Feb 16, 2021
Messages
23
Office Version
  1. 365
Platform
  1. Windows
When I copy and paste a name from pdf to excel the name gets all mushed together, not sure why. No matter which paste function I use, can't get things to work. For example, Private Joe Snuffy in pdf becomes PrivateJoeSnuffy when you copy from pdf to excel. If I paste that name in A1,PrivateJoeSnuffy, is there a formula to break the name back apart? I would assume there has to be some sort of formula to extract between upper case letters maybe? I've even tried exporting to excel but then you run into another problem is that excels puts a space between each letter so Private Joe Snuffy becomes P r i v a t e J o e S n u f f y which is an easy fix using =SUBSTITUTE(A1," ","").............but then you are back to square one lol, PrivateJoeSnuffy.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hello, would this work for you:

Excel Formula:
=LET(
a,A1,
b,MID(a,SEQUENCE(LEN(a)),1),
TRIM(TEXTJOIN("",,IF(EXACT(b,UPPER(b))," "&b,b))))
 
Upvote 0

Forum statistics

Threads
1,223,879
Messages
6,175,148
Members
452,615
Latest member
bogeys2birdies

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