Solved

Remove data from Excel cell

Posted on 2014-10-01
4
167 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 31

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

757 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

17 Experts available now in Live!

Get 1:1 Help Now