Solved

Remove data from Excel cell

Posted on 2014-10-01
4
170 Views
Last Modified: 2014-10-02
I have the attached an excel file where I have data like this AS-P31-111   25   00

Up to the first 3 spaces it is the SKU"AS-P31-111" and I want to remove everything starting at the 3 spaces

Can someone help with the formula to do this?
sample.xlsx
0
Comment
Question by:Gerhardpet
4 Comments
 
LVL 21

Accepted Solution

by:
Tapan Pattanaik earned 400 total points
ID: 40355356
Hi  Gerhardpet ,

Your answer to your question is : =LEFT(A2,11) . Please find the attached excel sheet.

Reagards,
Tapan Pattanaik
Answer--sample.xlsx
0
 
LVL 27

Assisted Solution

by:Glenn Ray
Glenn Ray earned 100 total points
ID: 40355362
Here is a more open-ended formula (in same row as A2, then copied down):
=LEFT(A2,FIND("   ",A2)-1)

It doesn't matter how many characters there are before the three spaces.

Regards,
-Glenn
0
 
LVL 32

Expert Comment

by:Rob Henson
ID: 40356634
Alternatively, use the Text to Columns function to split the text at the spaces.

Thanks
Rob H
0
 
LVL 1

Author Closing Comment

by:Gerhardpet
ID: 40356826
That worked! Thanks for the help!
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 article will show you how to use shortcut menus in the Access run-time environment.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

911 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

23 Experts available now in Live!

Get 1:1 Help Now