Results 1 to 10 of 11

Thread: Excel Formula To Check If All Characters Are Text Non-Numeric

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Forum Guru Rick Rothstein's Avatar
    Join Date
    Feb 2012
    Posts
    662
    Rep Power
    14
    Quote Originally Posted by snb View Post
    @rick

    Did you consider using offset ?

    PHP Code:
    =MAX(ABS(CODE(MID(UPPER(A1),ROW(OFFSET(A1,,,LEN(A1))),1))-77.5))<13 
    I do not see what the benefit of using OFFSET has over using INDIRECT... your formula, like mine, still needs to be array-entered and it is still Volatile. Although I find the construction awkward, the following modification to my formula has the benefit of being non-Volatile (still needs to be array-entered** though)...

    =MAX(ABS(CODE(MID(UPPER(A1),ROW(INDEX(A:A,1):INDEX(A:A,LEN(A1))),1))-77.5))<13

    **Commit this formula using CTRL+SHIFT+ENTER, not just Enter by itself.
    Last edited by Rick Rothstein; 12-10-2012 at 09:17 AM.

  2. #2
    Junior Member
    Join Date
    Dec 2012
    Posts
    8
    Rep Power
    0
    Quote Originally Posted by Rick Rothstein View Post
    I do not see what the benefit of using OFFSET has over using INDIRECT... your formula, like mine, still needs to be array-entered and it is still Volatile. Although I find the construction awkward, the following modification to my formula has the benefit of being non-Volatile (still needs to be array-entered** though)...

    =MAX(ABS(CODE(MID(UPPER(A1),ROW(INDEX(A:A,1):INDEX(A:A,LEN(A1))),1))-77.5))<13

    **Commit this formula using CTRL+SHIFT+ENTER, not just Enter by itself.
    Hi Rick,

    Thanks for helping but it is not working for special characters say like abc.. der

    Thanks

    Nitin

  3. #3
    Forum Guru Rick Rothstein's Avatar
    Join Date
    Feb 2012
    Posts
    662
    Rep Power
    14
    Quote Originally Posted by NITIN SHETTY View Post
    Hi Rick,

    Thanks for helping but it is not working for special characters say like abc.. der
    That is probably because you did not follow my instructions about array-entering** the formula...

    **Commit this formula using CTRL+SHIFT+ENTER, not just Enter by itself.

Similar Threads

  1. Remove Special Characters From Text Or Remove Numbers From Text
    By Excel Fox in forum Excel and VBA Tips and Tricks
    Replies: 5
    Last Post: 05-31-2013, 04:43 PM
  2. Extract Certain Characters From A Text String
    By bobkap in forum Excel Help
    Replies: 5
    Last Post: 05-24-2013, 06:25 AM
  3. Replies: 11
    Last Post: 04-07-2013, 07:51 PM
  4. Macro to check values based on certain text
    By Howardc in forum Excel Help
    Replies: 25
    Last Post: 11-05-2012, 09:03 PM
  5. Replies: 6
    Last Post: 09-26-2011, 07:39 AM

Posting Permissions

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