Extract only the numbers

gpapagre

New Member
Joined
Mar 6, 2009
Messages
18
Dear all,

thanks for your hospitality. this is the second time i post a question to this board, hopefully i will get the same help as in the first time when NMeeker solved my problem with missing invoices. i thank him very much.

my question is simple.

In column A I have a list of numbers which unfortunalely sometimes when I extract them from accounting softwares are in the form of letters, commas etc plus the numbers. examples: INVOICE_5526, INV-2343, INV/3369 and in other formats. What I want to have in column B is just the numbers.

Is there a formula I can apply in any case to isolate only the numbers?

Thank you all
George
 
There must be happening something. Are you seeing the formula instead of a result?

Yes. I see the formula, just that. No only with this formula but with any other.

When press F2 and Enter (just to see) a message also appears "the formula you typed contains an error. for info about fixing common formula problems..."
 
Upvote 0

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Yes. I see the formula, just that. No only with this formula but with any other.

When press F2 and Enter (just to see) a message also appears "the formula you typed contains an error. for info about fixing common formula problems..."

Lets try a few things:

Enter the following in K1:K10...

0
1
2
3
4
5
6
7
8
9

Go the Formula Bar, type =, then select K1:K10, hit F9, and copy what you see and paste here in your reply.
 
Upvote 0
Lets try a few things:

Enter the following in K1:K10...

0
1
2
3
4
5
6
7
8
9

Go the Formula Bar, type =, then select K1:K10, hit F9, and copy what you see and paste here in your reply.

Thanks again, I did exactly as you said. For sure I must be doing something wrong. I did as you say and here are the results.
{0;1;2;3;4;5;6;7;8;9}
 
Upvote 0
Thanks again, I did exactly as you said. For sure I must be doing something wrong. I did as you say and here are the results.
{0;1;2;3;4;5;6;7;8;9}

Perfect. Now re-try:

=REPLACE(A2;1;MIN(FIND({0;1;2;3;4;5;6;7;8;9};A2&"0123456789"))-1;"")+0
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,795
Members
449,468
Latest member
AGreen17

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