ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sorting data with ; (https://www.excelbanter.com/excel-discussion-misc-queries/82884-sorting-data-%3B.html)

jason2444

sorting data with ;
 
have a data sheet in one column the cell contains data like this
V8; 5.7; gas;CARB;4BBL;N;J;
V8; 5.7; diesel;CARB;4BBL;N;J;
I need to grab everything to the left of the 3rd ; ie. V8; 5.7; gas

any suggestions?


Toppers

sorting data with ;
 
Try this in any spare column, assumin data strts in A1 and copy down

=LEFT(SUBSTITUTE(A1,";","/",3),FIND("/",SUBSTITUTE(A1,";","/",3),1)-1)

HTH

"jason2444" wrote:

have a data sheet in one column the cell contains data like this
V8; 5.7; gas;CARB;4BBL;N;J;
V8; 5.7; diesel;CARB;4BBL;N;J;
I need to grab everything to the left of the 3rd ; ie. V8; 5.7; gas

any suggestions?


jason2444

sorting data with ;
 
AWSOME thanks

"Toppers" wrote:

Try this in any spare column, assumin data strts in A1 and copy down

=LEFT(SUBSTITUTE(A1,";","/",3),FIND("/",SUBSTITUTE(A1,";","/",3),1)-1)

HTH

"jason2444" wrote:

have a data sheet in one column the cell contains data like this
V8; 5.7; gas;CARB;4BBL;N;J;
V8; 5.7; diesel;CARB;4BBL;N;J;
I need to grab everything to the left of the 3rd ; ie. V8; 5.7; gas

any suggestions?


Therese

sorting data with ;
 
Hi
Hope this formula works. = Right(A1;14). I assume the formular is called
"Right", I do not have the english version, but, there is a formular that
counts and leaves out the number of signs that you choose, and then return
everything left of the 3rd in a given cell. In danish it's Right.
--
Therese


"jason2444" skrev:

have a data sheet in one column the cell contains data like this
V8; 5.7; gas;CARB;4BBL;N;J;
V8; 5.7; diesel;CARB;4BBL;N;J;
I need to grab everything to the left of the 3rd ; ie. V8; 5.7; gas

any suggestions?



All times are GMT +1. The time now is 01:31 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com