+ Reply to Thread
Results 1 to 3 of 3

reading non numeric text in a cell

  1. #1
    Registered User
    Join Date
    03-17-2006
    MS-Off Ver
    2007
    Posts
    93

    reading non numeric text in a cell

    SUM(IF(FREQUENCY(E10:E29,E10:E29)>0,1))

    this is the formula I currently use to read employee numbers and it works when we just use the number i.e. 011004.


    When we use the full employee number with alpha characters it does not work i.e. ASMO011004.



    I have used helper cells to do similar, but am not wanting to do this way for simplicity reasons.


    Any help?
    Last edited by NBVC; 04-01-2009 at 12:11 PM.
    Better to be roughly right than exactly wrong, unless you are using Excel.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: reading non numeric text in a cell

    if the employee number is consistently 6 digits, then perhaps:

    =SUM(IF(FREQUENCY(RIGHT(E10:E29,6)+0,RIGHT(E10:E29,6)+0)>0,1))

    CSE confirmed

    or if you want to use the whole code alphanumeric... try:

    =SUMPRODUCT((E10:E29<>"")/COUNTIF(E10:E29,E10:E29&""))

    ENTER only
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-17-2006
    MS-Off Ver
    2007
    Posts
    93

    Solved: reading non numeric text in a cell

    Quote Originally Posted by NBVC View Post

    or if you want to use the whole code alphanumeric... try:

    =SUMPRODUCT((E10:E29<>"")/COUNTIF(E10:E29,E10:E29&""))

    ENTER only


    thank you!

+ 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