Stripping characters from cells

Timbo50

New Member
Joined
May 15, 2015
Messages
18
Office Version
  1. 2019
Platform
  1. Windows
Hi, I have a column of cells with numbers and text. I would like to strip the numbers out, but there is a character at the front and one at the end of the cell content e.g. (*123.4p and *12.4506p) The additional problem is that the cells have different length of numbers. Any help would be appreciated, preferably with formula. Thanks.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi,

Please be a little more specific, which are the characters you want extracted?
The ones represented as * or the p(s) in your sample?
 
Upvote 0
Or, if you are wanting to keep the numbers:

=VALUE(MID(G9,2,LEN(G9)-2))

where the *12.34p is in cell G9
 
Upvote 0
Hi jtakw,

thanks for responding. I'm looking to extract the numbers, so I've got to get rid of both the '*' and the 'p's.
 
Upvote 0

Forum statistics

Threads
1,216,103
Messages
6,128,854
Members
449,472
Latest member
ebc9

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