+ Reply to Thread
Results 1 to 2 of 2

Count numeric digits in the cell formula string!

  1. #1
    Forum Contributor
    Join Date
    08-19-2020
    Location
    Dubai
    MS-Off Ver
    Office365
    Posts
    131

    Count numeric digits in the cell formula string!

    Hi,

    Required a formula help*to count numeric digits in the cell added (eg:-10+12+26) formula string.


    Sample sheet enclosed with expected results.



    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Count numeric digits in the cell formula string!

    In your sample they were all +, so


    =LEN(FORMULATEXT(B5))-LEN(SUBSTITUTE(FORMULATEXT(B5),"+",""))+1

    should do it.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Looking for a formula to count single digits vs. double digits?
    By mnlaw in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-29-2023, 02:20 PM
  2. [SOLVED] Extract Numbers from Alpha Numeric String & Count Letters
    By lil_ern63 in forum Excel General
    Replies: 16
    Last Post: 02-09-2019, 04:21 AM
  3. Replies: 14
    Last Post: 03-08-2014, 03:25 PM
  4. Count the numer of digits in an alphanumerc string
    By HangMan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2013, 04:41 PM
  5. Using the IF function with non-numeric digits & with numeric consequences
    By oldmillbill in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-08-2012, 02:39 PM
  6. Replies: 11
    Last Post: 11-16-2011, 12:56 PM
  7. [SOLVED] Formula to extract digits from a text string?
    By [email protected] in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-15-2006, 12:16 AM

Tags for this Thread

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