Solved

Remove data from Excel cell

Posted on 2014-10-01
4
182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 33

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
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…

615 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