+ Reply to Thread
Results 1 to 5 of 5

Count specific numbers in cells

  1. #1
    Registered User
    Join Date
    08-14-2017
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    48

    Count specific numbers in cells

    Good day,

    Ik have a file where I want to count only the numbers between ( ). Is there a simple solution? Cells contain several numbers to be counted.

    Example:
    In cell A1 stands AML04631463 (1), AML06157292 (15), AML06157291 (7)
    So I need the sum of 1, 15 and 7 as a result.

    Thanks in advance!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,848

    Re: Count specific numbers in cells

    Are you still using Excel 2003?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-14-2017
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    48

    Re: Count specific numbers in cells

    Ow sorry,

    Office 365

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,848

    Re: Count specific numbers in cells

    Then you can use a formula:

    =SUM(IFNA(--TEXTAFTER(TEXTSPLIT(A1,")"),"("),0))
    Attached Files Attached Files

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,848

    Re: Count specific numbers in cells

    You could also use this spill array for a column full of such entries:

    =TOCOL(BYROW(A1:A500,LAMBDA(r,SUM(IFNA(--TEXTAFTER(TEXTSPLIT(r,")"),"("),0)))),2)
    Attached Files Attached Files

+ 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] Count specific numbers within a group of numbers
    By ickle1999 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-06-2021, 11:06 AM
  2. [SOLVED] count cells with specific text, then sum employees numbers
    By NicBKK in forum Excel General
    Replies: 2
    Last Post: 10-07-2020, 05:39 AM
  3. Replies: 1
    Last Post: 05-19-2017, 07:37 AM
  4. Find and count specific numbers in a range of cells
    By aslante in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-06-2015, 04:35 AM
  5. [SOLVED] Function possible for Using specific number to count other specific numbers total ?
    By Karnik in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-02-2015, 03:35 AM
  6. [SOLVED] Count of specific numbers in a row
    By zardof in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-04-2012, 12:58 PM
  7. [SOLVED] How do I count cells that contain one of several specific numbers?
    By Lewis0205NC in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-21-2006, 09:30 AM

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