The Opposite of Concatenate

katiapro93

Board Regular
Joined
Jun 25, 2009
Messages
140
Hello everyone, hope there is an answer for my question. I am using Excel 2010 and I know there is a formula that does the opposite of the Concatenate formula, but I need a little more.

I have a column which I use in a larger spreadsheet which reads something like this: 10*3
I just need the number before the *.

I wrote a formula something like this: =MID($E3,3,LEN($E3)-3) and it worked well.

Problem is that it is not consistant in where I have 2 digits in front or in the back of the *. So I can have the following: 10*3, 5*6, 5*10.

Is there a way that I can put a formula in a cell to delete everything after the * and use as many digits as seen in the front of the *?

Thanks in advance for any help.
 
I don't know what I did, but the formula did not work. Can you explain your formula so I can see if I can follow along and figure out what I did wrong?
 
Upvote 0
It did work. When I wrote the formula, I wrote it with the ~ character. Once I deleted that character, it worked perfect. Thank you!
 
Upvote 0
No problem ... glad I could help :) Appreciate the feedback!
 
Upvote 0

Forum statistics

Threads
1,226,849
Messages
6,193,321
Members
453,790
Latest member
yassinosnoo1

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