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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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