?
Solved

extract number sequence in excel

Posted on 2015-01-13
3
Medium Priority
?
143 Views
Last Modified: 2015-01-13
I have data in the form:

1963 V5A1T 1001 6960
1964 V5A1T 6961 61346
1965 V5A1T 61347 92876

I would like to extract the number sequence after the second and third spaces and store in a separate column.

not sure how
0
Comment
Question by:PeterBaileyUk
[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
3 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 2000 total points
ID: 40546561
Why not highlight the data, and select Data - Text to Columns - select Delimited - and select "Space" and Finish.
0
 
LVL 26

Expert Comment

by:Shaun Kline
ID: 40546566
You can use:
=SEARCH(CHAR(127),SUBSTITUTE(A2," ",CHAR(127),<n>))

Open in new window

to find the nth occurrence of a space. Using this with the MID formula:
MID(A2, SEARCH(CHAR(127),SUBSTITUTE(A2," ",CHAR(127),2)), SEARCH(CHAR(127),SUBSTITUTE(A2," ",CHAR(127),3)) - SEARCH(CHAR(127),SUBSTITUTE(A2," ",CHAR(127),2)))

Open in new window


This formula will pull out the text between the 2nd and 3rd space if your text is in A2.
0
 

Author Closing Comment

by:PeterBaileyUk
ID: 40546604
Thank you worked a treat very quick and simple
0

Featured Post

Independent Software Vendors: 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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
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…

777 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