+ Reply to Thread
Results 1 to 5 of 5

Count Digits

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    New delhi
    MS-Off Ver
    Excel 2007
    Posts
    50

    Count Digits

    Hi

    Is there any formula to count digits in cell value

    Like I have value AAGPS5501A in cell A1 and wanted to count only numbers in this value

  2. #2
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Count Digits

    Try This!

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Confirm the formula by Ctrl + Shift + Enter, Not just Enter..
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  3. #3
    Registered User
    Join Date
    04-25-2013
    Location
    New delhi
    MS-Off Ver
    Excel 2007
    Posts
    50

    Re: Count Digits

    Thanks Debraj

    It Works, Thanks for your help

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Count Digits

    Non-array

    =SUMPRODUCT(--(ISNUMBER(MID(A1,ROW(A1:A100),1)*1)))
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count Digits

    Here's another one...

    Array entered**:

    =COUNT(-MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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