• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to find whether a cell contain letter a,b,....,z

kelvin-lkh

New Member
Dear all Excel Pro,

I remember there is a formula to identify whether a cell contain letter a to z but I can't locate the post. Can you please advise where is the post I can refer to the formula.

Thanks.



77932
 
This reverses the @bosco_yip formula by generating a text alphabet and searching the target for alpha characters. The Lambda function and MAP allow the target terms to be evaluated as a single array. This may not be of any special value, but it would, for example, allow the list to be filtered.
Code:
= LET(
  alpha,      CHAR(SEQUENCE(26,,65)),
  hasAlphaλ,  LAMBDA(t, OR(ISNUMBER(SEARCH(alpha,t)))),
  MAP(target, hasAlphaλ))
77942
 
Back
Top