Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 110
Default Sort/Filter issue

We have a problem. We have a long string of data that had sections separated
by spaces. We want to pull out the first section and the third section.
Problem is there not all the same length. Example below

B360N V ORB 505 123
FB350N V FLA 505

So we want to pull out the B360N and the FB350N and the ORB & FLA into two
columns.

Does anyone have any suggestions --

We can do in access or excel?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Sort/Filter issue

One way

=LEFT(A2,FIND(" ",A2)-1)

copy down, when you are done copy the range and then do editpaste special
as values if you want the result to be independent of the data


--
Regards,

Peo Sjoblom



"terri" wrote in message
...
We have a problem. We have a long string of data that had sections
separated
by spaces. We want to pull out the first section and the third section.
Problem is there not all the same length. Example below

B360N V ORB 505 123
FB350N V FLA 505

So we want to pull out the B360N and the FB350N and the ORB & FLA into two
columns.

Does anyone have any suggestions --

We can do in access or excel?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Sort/Filter issue

One way which might suffice ..
Source data assumed in A1 down
In B1: =LEFT(A1,FIND("V",A1)-1)
In C1: =MID(A1,FIND("V",A1)+2,3)
Select B1:C1, copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"terri" wrote:
We have a problem. We have a long string of data that had sections separated
by spaces. We want to pull out the first section and the third section.
Problem is there not all the same length. Example below

B360N V ORB 505 123
FB350N V FLA 505

So we want to pull out the B360N and the FB350N and the ORB & FLA into two
columns.

Does anyone have any suggestions --

We can do in access or excel?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 385
Default Sort/Filter issue

Perhaps you can highlight the column and try "text to columns" under menu
selection Data... choose delimited and "spaces" as your delimiter.

"terri" wrote:

We have a problem. We have a long string of data that had sections separated
by spaces. We want to pull out the first section and the third section.
Problem is there not all the same length. Example below

B360N V ORB 505 123
FB350N V FLA 505

So we want to pull out the B360N and the FB350N and the ORB & FLA into two
columns.

Does anyone have any suggestions --

We can do in access or excel?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Sort/Filter issue

try
=LEFT(A24,FIND(" ",A24)-1)

=MID(A24,FIND(" ",A24,FIND(" ",A24)+1)+1,FIND(" ",A24,FIND(" ",A24,FIND("
",A24)+1)+1)-FIND(" ",A24,FIND(" ",A24)+1)+-1)

"terri" wrote:

We have a problem. We have a long string of data that had sections separated
by spaces. We want to pull out the first section and the third section.
Problem is there not all the same length. Example below

B360N V ORB 505 123
FB350N V FLA 505

So we want to pull out the B360N and the FB350N and the ORB & FLA into two
columns.

Does anyone have any suggestions --

We can do in access or excel?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter, sort and sum Amy Excel Discussion (Misc queries) 2 March 22nd 07 07:46 PM
Advanced Filter Issue [email protected] Excel Discussion (Misc queries) 1 April 26th 06 10:49 PM
Header Rows and Sort Issue MikeL. Excel Discussion (Misc queries) 1 March 28th 06 12:23 AM
Filter and sort afdmello Excel Discussion (Misc queries) 1 June 14th 05 08:02 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM


All times are GMT +1. The time now is 03:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"