Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Remove data from Excel cell

Posted on 2014-10-01
4
Medium Priority
?
185 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 1600 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 400 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 34

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

877 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