Excel search function

  • Thread starter Thread starter Thyag
  • Start date Start date
T

Thyag

Hi All,
Is there a way to use the search function to search non "0" value in
cell.

Ex - if i have "110254" in cell A1 - I need the position of non zero
digit in the string of A1.


Thanks, Thyag.
 
With the value in A1

=MID(A1,MIN(FIND({1,2,3,4,5,6,7,8,9},A1&"1,2,3,4,5,6,7,8,9")),1)

will return the first non zero digit
 
With the value in A1

=MID(A1,MIN(FIND({1,2,3,4,5,6,7,8,9},A1&"1,2,3,4,5,6,7,8,9")),1)

will return the first non zero digit

--
Regards,

Peo Sjoblom







- Show quoted text -

Thank you it is working fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top