Dear Pankaj, Please try it............and see attached sheet..
*Function Count_text(s As Range) For i = 1 To Len(s) If VBA.Asc(Mid(s, i, 1)) > 65 And VBA.Asc(Mid(s, i, 1)) < 90 Or VBA.Asc(Mid(s, i, 1)) > 96 And VBA.Asc(Mid(s, i, 1)) < 123 Then Count_text = Count_text & VBA.Mid(s, i, 1) End If Next Count_text = VBA.Len(Application.WorksheetFunction.Substitute(Count_text, " ", "")) End Function * Thanks & regards, Noorain Ansari *http://noorain-ansari.blogspot.com/* <http://noorain-ansari.blogspot.com/> On Mon, Sep 5, 2011 at 9:09 PM, Intelligent But Crazy <secrets...@gmail.com>wrote: > > Dear Group, > > Is there any formula which can give the count of alphabets in a cell > without space & special characters ? > -- > Pankaj Pandey > Bhopal > > -- > > ---------------------------------------------------------------------------------- > Some important links for excel users: > 1. Follow us on TWITTER for tips tricks and links : > http://twitter.com/exceldailytip > 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 > 3. Excel tutorials at http://www.excel-macros.blogspot.com > 4. Learn VBA Macros at http://www.quickvba.blogspot.com > 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com > > To post to this group, send email to excel-macros@googlegroups.com > > <><><><><><><><><><><><><><><><><><><><><><> > Like our page on facebook , Just follow below link > http://www.facebook.com/discussexcel > -- -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel
Count_Only_Text.xlsm
Description: Binary data