Link to home
Start Free TrialLog in
Avatar of Julie Lyman
Julie Lyman

asked on

Copy Partial Data from Cell (omit 2 digits) and Convert to Upper/Lowercase

Data Sample

This is in ONE CELL:    146301 ASPHALT WORKS: OP BY CONTR-PERM & DRVR

I only want the first 4 digits of the number above then I want the ALL CAPS to be Upper/Lowercase Formatting.

Result Desired in ONE CELL:  1463 Asphalt Works: Op by Contr-Perm & Drvr  (or something close,
Avatar of Terry Woods
Terry Woods
Flag of New Zealand image

This seems to work:
=LEFT(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"0123456789"))+3)&PROPER(MID(A1,MAX(FIND({0,1,2,3,4,5,6,7,8,9},"0123456789"&A1,1))+10,99999))

Open in new window


My result:
ONE CELL:    1463 Asphalt Works: Op By Contr-Perm & Drvr

Open in new window


Swap all the occurrences of A1 in the formula for the cell you're wanting to target.
ASKER CERTIFIED SOLUTION
Avatar of Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs)
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Haha I must be half asleep in my lunch hour... I included ONE CELL as part of the data... oops
Only functioning response.