Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Excel search function

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.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Excel search function

But you have 5 non-zero digits in your example - which one would you
like to find?

Pete

On Aug 10, 4:02 pm, Thyag wrote:
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.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Excel search function

On Aug 10, 11:09 am, Pete_UK wrote:
But you have 5 non-zero digits in your example - which one would you
like to find?

Pete

On Aug 10, 4:02 pm, Thyag wrote:



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.- Hide quoted text -


- Show quoted text -


The first non "0" digit in th string.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Excel search function

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



"Thyag" wrote in message
oups.com...
On Aug 10, 11:09 am, Pete_UK wrote:
But you have 5 non-zero digits in your example - which one would you
like to find?

Pete

On Aug 10, 4:02 pm, Thyag wrote:



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.- Hide quoted text -


- Show quoted text -


The first non "0" digit in th string.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Excel search function

On Aug 10, 12:18 pm, "Peo Sjoblom" wrote:
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

"Thyag" wrote in message

oups.com...



On Aug 10, 11:09 am, Pete_UK wrote:
But you have 5 non-zero digits in your example - which one would you
like to find?


Pete


On Aug 10, 4:02 pm, Thyag wrote:


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.- Hide quoted text -


- Show quoted text -


The first non "0" digit in th string.- Hide quoted text -


- Show quoted text -


Thank you it is working fine.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search function keeps quitting in Excel Rebecca[_2_] Excel Worksheet Functions 0 February 20th 07 12:41 AM
Disable Search Function In Excel Worksheet Dileep Excel Worksheet Functions 0 September 29th 06 09:59 AM
Excel search function LegalPC Excel Discussion (Misc queries) 2 August 8th 06 07:47 PM
Excel Search function dm2504 Excel Discussion (Misc queries) 2 February 6th 06 03:46 PM
Help with a complicated search function in Excel Ironman273 Excel Worksheet Functions 1 January 9th 06 04:10 AM


All times are GMT +1. The time now is 10:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"