Right, ladies and gents, I have a bit of conundrum here.
I've got a spreadsheet that has a column that has letters THEN a number. I only need the number.
The issue is that I can't just do a replace all because there're about 1 million rows in this list and there're about 100,000 different letter sequences before the numbers. The letter sequences are all also different lengths.
Is there a way to strip all the letters from this column alone (I suppose I could transfer it to another spreadsheet and strip out all letters, so do with that as you will) without ruining the rest of the spreadsheet?
Thanks in advance,
Bob
Last edited by bobbertr; 12-14-2011 at 05:19 AM.
Hi,
This array (CTRL, SHIFT & ENTER) formula returns just the numeric portion of the cell contents
=1*MID(A1,MATCH(TRUE,ISNUMBER(1*MID(A1,ROW($1:$99),1)),0),COUNT(1*MID(A1,ROW($1:$99),1)))
note that the maximum length of the contents of A1 should be 99 characters. If this is going to be longer, alter the ROW($1:$99) portions of the formula.
Please disregard anything in the above post. It may well have been edited without my consent, as has been the case with several posts and threads recently.
Hi
And also you mentioned that you have too much data, I think a more simple formula will work well.I've got a spreadsheet that has a column that has letters THEN a number. I only need the number.
Pls try this in B1 per example.
Hope to helps you.=LOOKUP(9^9;1*RIGHT(TRIM(A1);COLUMN($2:$2)))
Regards
Fotis.
I am proud that i am Greek.
Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?
Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Please,mark your thread [SOLVED] if you received your answer.
My Avadar picture, is from Athens Acropolis.
http://www.theacropolismuseum.gr
http://www.visitgreece.gr/
Thank you very much, that worked perfectly.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks