Microsoft Excel
--
Questions
--
Followers
Top Experts
Determine the position of the first of any of the ten primary digits in an Excel text entry
Hello,
Does Excel (2013) have a command which will search for the position of the first number or digit in a string of text?
The command =SEARCH() will return the position of the first specified character or sequence of characters in a given cell. However, suppose you want to determine the position of the first of any of the ten primary digits (ie 0, 1, 2, 3...9) in a cell. Is there a way to do that?
For example, such a command would return the following results:
5 β for a cell containing "mT Β z7DL2x Y"
8 β for a cell containing "g DqQj 3vd2AEp"
2 β for a cell containing "y4tKgu"
6 β for a cell containing "tq Β k8w3a4"
and so on.
Thanks
Does Excel (2013) have a command which will search for the position of the first number or digit in a string of text?
The command =SEARCH() will return the position of the first specified character or sequence of characters in a given cell. However, suppose you want to determine the position of the first of any of the ten primary digits (ie 0, 1, 2, 3...9) in a cell. Is there a way to do that?
For example, such a command would return the following results:
5 β for a cell containing "mT Β z7DL2x Y"
8 β for a cell containing "g DqQj 3vd2AEp"
2 β for a cell containing "y4tKgu"
6 β for a cell containing "tq Β k8w3a4"
and so on.
Thanks
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Thanks
You're welcome.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Microsoft Excel
--
Questions
--
Followers
Top Experts
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.