Solved

Extract first 3 letters/number from a 6 digit code through formula

Posted on 2012-03-27
2
229 Views
Last Modified: 2012-03-27
I do a DB dump from SQL to Excel and I have whole bunch of formulars set up to run off that data when I refresh it however one thing I have had to continually do manually is split a column (using Text to Columns) that contains a 6 digit code as I can only use the first 3 digits in my pivottable

Is there a formular which I can have set up that will automatically pull out the first 3 digits from this 6 digit code?

Thanks
0
Comment
Question by:recycleaus
2 Comments
 
LVL 14

Accepted Solution

by:
quizwedge earned 500 total points
ID: 37774573
You can try the Left function. For example, LEFT(A1,3)
0
 

Author Closing Comment

by:recycleaus
ID: 37774636
Thanks quiz
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

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

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

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now