Solved

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

Posted on 2012-03-27
2
241 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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;…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

867 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

15 Experts available now in Live!

Get 1:1 Help Now