Extract and separate numbers from symbols which are in an indefinite order in a cell

komhs

New Member
Joined
Jun 12, 2016
Messages
44
Office Version
  1. 2016
Platform
  1. Windows
Hi everyone and thank you in advance or your help!
I have an issue with some cells which contain numbers and symbols. My goal is to separate them in new cells and these two cells to have a number format. I am referring at "number format" because when I tried to use the left formula to keep some certain numbers, the new cell had a text format. Anyway.

In order to give you a sample... As you can see, the numbers before the two symbols %€ are indefinite. Some times is one character, some other times are two, some other have space in the start... And we have the same problem and with the numbers after the two symbols %€.


ABCDEF
20 %€ 4680 %€ 185204680185
8 %€ 1592 %€ 17581592175
79 %€ 11021 %€ 29791102129
98 %€ 1982 %€ 39819823
23 %€ 5877 %€ 197235877197
3 %€ 897 %€ 2333897233
19 %€ 25475 %€ 1,82619254751826
25 %€ 62375 %€ 1,82625623751826
1 %€ 299 %€ 2001299200
0 %€ 20000100 %€ 1,3170200001001317
7 %€ 60193 %€ 70,49876019370498
43 %€ 31757 %€ 4264331757426
96 %€ 3,9224 %€ 1709639224170
95 %€ 4,1995 %€ 2419541995241
83 %€ 17917 %€ 35831791735
4 %€ 1896 %€ 43941896439
0 %€ 295 %€ 4410295441

I can't find any motive, a way, to separate with formula (I don't want the Data----> Text to columns solution) and keep in different cells (with number format!) the numbers before the %€ symbols and the number after the %€ symbols.
A and B columns is what I have now and C,D,E,F columns is what I want to have as a solution with the formula/function.

Many thanks to anyone who will help me
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
How about
+Fluff 1.xlsm
ABCD
1ABCD
220 %€ 4680 %€ 1852046
38 %€ 1592 %€ 175815
479 %€ 11021 %€ 2979110
598 %€ 1982 %€ 398198
623 %€ 5877 %€ 1972358
73 %€ 897 %€ 23338
819 %€ 25475 %€ 1,82619254
925 %€ 62375 %€ 1,82625623
101 %€ 299 %€ 20012
110 %€ 20000100 %€ 1,317020000
127 %€ 60193 %€ 70,4987601
1343 %€ 31757 %€ 42643317
1496 %€ 3,9224 %€ 170963922
1595 %€ 4,1995 %€ 241954199
1683 %€ 17917 %€ 3583179
174 %€ 1896 %€ 439418
180 %€ 295 %€ 44102
Lists
Cell Formulas
RangeFormula
C2:C18C2=LEFT(A2,FIND("%",A2)-1)+0
D2:D18D2=MID(A2,FIND("%",A2)+2,99)+0


And the same for col B
 
Upvote 0
Solution
How about
+Fluff 1.xlsm
ABCD
1ABCD
220 %€ 4680 %€ 1852046
38 %€ 1592 %€ 175815
479 %€ 11021 %€ 2979110
598 %€ 1982 %€ 398198
623 %€ 5877 %€ 1972358
73 %€ 897 %€ 23338
819 %€ 25475 %€ 1,82619254
925 %€ 62375 %€ 1,82625623
101 %€ 299 %€ 20012
110 %€ 20000100 %€ 1,317020000
127 %€ 60193 %€ 70,4987601
1343 %€ 31757 %€ 42643317
1496 %€ 3,9224 %€ 170963922
1595 %€ 4,1995 %€ 241954199
1683 %€ 17917 %€ 3583179
174 %€ 1896 %€ 439418
180 %€ 295 %€ 44102
Lists
Cell Formulas
RangeFormula
C2:C18C2=LEFT(A2,FIND("%",A2)-1)+0
D2:D18D2=MID(A2,FIND("%",A2)+2,99)+0


And the same for col B
It is a perfect solution. Thank you!!!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,487
Messages
6,113,943
Members
448,534
Latest member
benefuexx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top