+ Reply to Thread
Results 1 to 4 of 4

Find num via refer array!

  1. #1
    stewart08
    Guest

    Find num via refer array!

    dear excelers, one for the night:

    how can one make refer to a number by a number array i.e.

    0123456789 < nums array
    1903724103 < what's above num "9"!

    I need to find which number is above "9" should result in "1".

    any last takers for the function

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    Hi,
    Do you mean something like this??
    0123456789 this = 0
    1903724103 this = 8

    If so then this could work

    =LEN(A1)-FIND(9,A1)
    Last edited by davesexcel; 04-05-2008 at 05:13 PM.

  3. #3
    stewart08
    Guest
    davesexcel its close, but each number is within a cell can I should use the LEN function here!
    any ideas...

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486
    Quote Originally Posted by stewart08
    davesexcel its close, but each number is within a cell can I should use the LEN function here!
    any ideas...
    ????
    You want to change a value in a cell that is greater then 9 to 1, is this correct??
    I could not see that from your original question, but is this what you want?

    This code will loop through Column A and change a numbers over 9 to 1
    Please Login or Register  to view this content.
    Last edited by davesexcel; 04-05-2008 at 08:12 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1