Solved

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

Posted on 2016-09-06
43 Views
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,
0
Question by:Julie Lyman
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• Learn & ask questions
• 2
• 2

LVL 35

Expert Comment

ID: 41787111
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))
``````

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

Swap all the occurrences of A1 in the formula for the cell you're wanting to target.
0

LVL 47

Accepted Solution

Wayne Taylor (webtubbs) earned 500 total points (awarded by participants)
ID: 41787114
Try this formula...

=LEFT(A1, 4) & PROPER(MID(A1, FIND(" ", A1), 999))
0

LVL 35

Expert Comment

ID: 41787134
Haha I must be half asleep in my lunch hour... I included ONE CELL as part of the data... oops
0

LVL 47

Expert Comment

ID: 41814569
Only functioning response.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
###### Suggested Courses
Course of the Month7 days, 21 hours left to enroll

#### 729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.