Find position of the first number in a cell, not working?

Camel123

Board Regular
Joined
Jun 5, 2018
Messages
186
Hi,

I am trying to return the minimum value of the position of all numbers in Mi Yang 1337

=MIN(FIND(0&1&2&3&4&5&6&7&8&9;A2&"0123456789"))

Using the above function gives 13 as result. It should be 9.

What is wrong?
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
If you replace the commas with semicolons then what happens?

=MIN(FIND({0;1;2;3;4;5;6;7;8;9};A2&"0123456789"))
 
Upvote 0
Because using ";" in my Excel brings me to the next step in the function and gives errors, see img:
https://imgur.com/og02qby


In the attached picture what should I see ???

At least you tried?

Copy one of the formulas and paste into the cell where you need it, and you will see it work.

= MIN (FIND ({0; 1; 2; 3; 4; 5; 6; 7; 8; 9}; A2 & "0123456789"))
OR
= MIN (FIND ({0; 1; 2; 3; 4; 5; 6; 7; 8; 9}; A2 & 1/17))
 
Upvote 0
Omg it works! I don't know what stupid mistake I did when I tried it first but thanks a lot to you all!

You're welcome, glad you got it working.

Didn't I already made that suggestion back in Post # 6?
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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