Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Auto splitting of data in a cell

Good evening.
A have a board, copied from and html file, to an excel worksheat. The cells
now contain numerical data, but in a form like this: "33,87% (14)". The
33,87% is the persentage of people who answered a question and the (14) is
the number of people who answered that question.
So, what i want is to automaticaly split this data in a different worksheat,
without using the "text to columns" tool.
The point is to copy and paste the unsorted and mixed data from the html
file, and simply have columns with the data that are usefull for making
charts etc. In my case, 33,87 in one cell, and 14 in another cell (without
the simbols %, (, ) or a space).
Hope you can help me.
Best regars.
Ioannis
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Auto splitting of data in a cell

If you have your value to split in A1 then enter this in B1
=LEFT(A1,FIND("%",A1)-1)

and this in C1
=MID(A1,FIND("(",A1)+1,LEN(A1)-FIND("(",A1)-1)

If you want these in another sheet then replace A1 with Sheet1!A1 everywhere
(assuming that value is in A1 of Sheet1).
You can copy the formula to parse multiple values.

"Ioannis Syrakis" wrote:

Good evening.
A have a board, copied from and html file, to an excel worksheat. The cells
now contain numerical data, but in a form like this: "33,87% (14)". The
33,87% is the persentage of people who answered a question and the (14) is
the number of people who answered that question.
So, what i want is to automaticaly split this data in a different worksheat,
without using the "text to columns" tool.
The point is to copy and paste the unsorted and mixed data from the html
file, and simply have columns with the data that are usefull for making
charts etc. In my case, 33,87 in one cell, and 14 in another cell (without
the simbols %, (, ) or a space).
Hope you can help me.
Best regars.
Ioannis

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
Splitting Data in a Cell into Groups Howard New Users to Excel 1 March 14th 08 01:37 AM
Splitting data in a cell JamesBurrows Excel Discussion (Misc queries) 9 June 13th 06 05:06 PM
Splitting data out of a single cell davids Excel Discussion (Misc queries) 1 March 22nd 06 12:31 AM
Splitting Cell Data Zip Codes Excel Discussion (Misc queries) 5 June 2nd 05 04:52 AM
Splitting Data in a Cell Newbie1092 Excel Worksheet Functions 3 May 10th 05 05:48 PM


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

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

About Us

"It's about Microsoft Excel"