Removing Trailing Alpha?
With the data in A1:Axx, you could use a helper column:
=if(isnumber(-right(a1,1)),a1,--left(a1,len(a1)-1))
the -- stuff converts the text (from =left()), back to a real number.
ConfusedNHouston wrote:
I have a column of data that looks like the following:
1501
1501B
1520
1530
1530B
11
11B
120
120C
120D
I want to pull the numerals from the cells and somehow "discard" the alpha
portion of the datum therein. I've tried, RIGHT, 1) with the intention of
doing a sort; but that pulls the numerics if there is no alpha. I've tried
Find and Replace *B with * and it puts a handy little star in place of the
orginal datum. I've messed around with MID, Cell, 1,4) but that doesn't
impact the 3 numeral - 1 alpha combinations.
I'm assuming there is an easy way of doing this. I'd appreciate your help
with this problem. Thanks,
--
Dave Peterson
|