+ Reply to Thread
Results 1 to 11 of 11

How Many digits in a spreadsheet

  1. #1
    Registered User
    Join Date
    06-09-2017
    Location
    Phila
    MS-Off Ver
    2010
    Posts
    12

    How Many digits in a spreadsheet

    I'm trying to do a simple formula to figure out how many numbers are in the list.
    We Letter sports jersey so we need to know how many 1's and 2's ect we need.
    If we have a list of 100 players all with different numbers how can I select the list and see how many of each number I need?
    Thanks in advance.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,400

    Re: How Many digits in a spreadsheet

    Please Login or Register  to view this content.
    Excel 2007 32 bit
    A
    B
    C
    D
    E
    1
    2
    Numbers List Data Total
    3
    6
    1
    0
    4
    12
    2
    0
    5
    8
    3
    1
    6
    9
    4
    1
    7
    4
    5
    1
    8
    7
    6
    1
    9
    3
    7
    1
    10
    13
    8
    1
    11
    5
    9
    2
    12
    9
    0
    0
    Sheet: Sheet1
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-09-2017
    Location
    Phila
    MS-Off Ver
    2010
    Posts
    12

    Re: How Many digits in a spreadsheet

    Thank you. However if you look at your list the #1 has a total of "0" but the list has 2 #1's in the list.
    I need the Number 12 and 13 to show me one number 1,2 & 3 as separate numbers.

  4. #4
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: How Many digits in a spreadsheet

    Please attach a sample sheet with manually added expected results (see yellow banner at the top of this page).

  5. #5
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: How Many digits in a spreadsheet

    Hi there,

    See if the attached workbook does what you need.

    Jersey numbers (1-digit or 2-digit) are entered in Cells A2:A101


    Cell B2 contains the following formula to extract the first digit:

    Please Login or Register  to view this content.


    Cell C2 contains the following formula to extract the second digit:

    Please Login or Register  to view this content.


    Cells E2:E11 contain the digits 0-9


    Cell F2 contains the following formula to count how many of each digit are required:

    Please Login or Register  to view this content.

    The formulas in Columns B and C are copied downwards to Row 101.
    The formula in Column F is copied downwards to Row 11.


    Hope this helps.

    Regards,

    Greg M
    Attached Files Attached Files
    Last edited by Greg M; 06-15-2023 at 11:20 AM. Reason: Highlighted correction inserted

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: How Many digits in a spreadsheet

    Yes thanks your example is clear.
    I'll think about a formula.

  7. #7
    Registered User
    Join Date
    06-09-2017
    Location
    Phila
    MS-Off Ver
    2010
    Posts
    12

    Re: How Many digits in a spreadsheet

    Ok, sorry. Here is the example of what I'm looking to do. Attachment 833221

  8. #8
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: How Many digits in a spreadsheet

    Are you still using Excel 2010?

  9. #9
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: How Many digits in a spreadsheet

    I found a formula suitable for EXCEL2007 and newer:

    Please try in F2 and copy down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  10. #10
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: How Many digits in a spreadsheet

    I think it would be appropriate to at least acknowledge the source of a workbook before hijacking it like that

    Greg M

  11. #11
    Registered User
    Join Date
    06-09-2017
    Location
    Phila
    MS-Off Ver
    2010
    Posts
    12

    Re: How Many digits in a spreadsheet

    I have office 2021

+ 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] separate pairs without repetition of digits, that is 4 distinct digits .
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-16-2021, 07:11 AM
  3. Replies: 4
    Last Post: 11-09-2017, 02:05 PM
  4. [SOLVED] add 0 to numerical digits of 6 digits only in mixed alphanumerical columns
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2017, 01:35 PM
  5. [SOLVED] Combine digits in double digits in 4 numbers without repeating each other
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-14-2014, 08:18 AM
  6. [SOLVED] How to multiply a constant to only first 10 digits of 45 digits in a Logical Function
    By gz3s36 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-10-2014, 02:40 PM
  7. Changing digits after decimal to specific digits based on a criteria
    By mpatel000 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-28-2012, 02:41 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