+ Reply to Thread
Results 1 to 9 of 9

counting doublicated last digit ( right)

  1. #1
    Registered User
    Join Date
    01-29-2021
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    93

    counting doublicated last digit ( right)

    Hello,
    I have a question and I will be very thankful for help
    I want to find out if i have a range of numbers, how can I find out how many repeated numbers i have ( last digit only ) maybe something like: countif with right,1
    example if i have numbers, 5, 15, 25, 30, 33, 34 I be able to count repeated right digits which is 3 fives.
    Thanks
    Attached Files Attached Files
    Last edited by Excl3454; 07-19-2023 at 05:04 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: counting doublicated last digit ( right)

    So you would need a list of how many 1's, how many 2's etc?
    And would this be per line or for a range?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-29-2021
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    93

    Re: counting doublicated last digit ( right)

    i think just a simple count for duplicated items, but only last digit on right, maybe a if count if with right,1 together

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: counting doublicated last digit ( right)

    Try

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


    Control+Shift+Enter
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    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,053

    Re: counting doublicated last digit ( right)

    Why is row 1 2 and not 4... there are also two that end in zero.
    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

  6. #6
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: counting doublicated last digit ( right)

    I1=IFERROR(SUMPRODUCT(--(RIGHT(A1:F1,1)+0=MODE.MULT(RIGHT(A1:F1,1)+0))),"")

    copy down
    Last edited by CARACALLA; 07-19-2023 at 04:45 AM.

  7. #7
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: counting doublicated last digit ( right)

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


    ...and this to tell you which digit was most repeated:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by leelnich; 07-19-2023 at 07:19 AM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  8. #8
    Registered User
    Join Date
    01-29-2021
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    93

    Re: counting doublicated last digit ( right)

    Quote Originally Posted by CARACALLA View Post
    I1=IFERROR(SUMPRODUCT(--(RIGHT(A1:F1,1)+0=MODE.MULT(RIGHT(A1:F1,1)+0))),"")

    copy down
    Thank you so much. well done appropriate it.

  9. #9
    Registered User
    Join Date
    01-29-2021
    Location
    Canada
    MS-Off Ver
    2019
    Posts
    93

    Re: counting doublicated last digit ( right)

    Thank you so much

+ 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. Replies: 1
    Last Post: 04-18-2019, 01:35 AM
  2. [SOLVED] Counting the occurrences of a digit
    By Volle12 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-29-2015, 07:23 AM
  3. Counting pairs from 4 digit----
    By wd8ekd in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 10-28-2014, 02:26 PM
  4. [SOLVED] LOTTERY FILTER#4, Find if 1 Digit Sum of 2 Digit or 3 Digit, Single Cell w/ dash
    By david gonzalez in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-08-2014, 12:57 AM
  5. [SOLVED] Counting digit occurrence in number/column
    By tazdingomon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2012, 02:35 AM
  6. Counting Occurance of Particular Digit
    By newbie1234 in forum Excel General
    Replies: 14
    Last Post: 12-13-2008, 09:21 AM
  7. Counting a value in a range ingnoring last digit
    By starguy in forum Excel General
    Replies: 5
    Last Post: 08-23-2006, 10:33 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