Link to home
Create AccountLog in
Microsoft Excel

Microsoft Excel

--

Questions

--

Followers

Top Experts

Avatar of Steve_Brady
Steve_BradyπŸ‡ΊπŸ‡Έ

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

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


SOLUTION
Avatar of Joe WinogradJoe WinogradπŸ‡ΊπŸ‡Έ

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

ASKER CERTIFIED SOLUTION
Avatar of barry houdinibarry houdiniπŸ‡¬πŸ‡§

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

Avatar of Steve_BradySteve_BradyπŸ‡ΊπŸ‡Έ

ASKER

Thanks

Avatar of Joe WinogradJoe WinogradπŸ‡ΊπŸ‡Έ

You're welcome.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Microsoft Excel

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.