+ Reply to Thread
Results 1 to 6 of 6

Detect the presence of the double of the last digit, after separating the lasts type of th

  1. #1
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,338

    Detect the presence of the double of the last digit, after separating the lasts type of th

    Detect the presence of the double of the last digit, after separating the lasts type of the lottery
    * Objective = identify doubles of digits from 00 to 99 = are 10 doubles
    Sometimes we will have 6,6,6, but two already enough to form the pair
    * Having a last digit is considered zero, mark the value zero in a color
    https://www.excelforum.com/attachmen...1&d=1524744810
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,957

    Re: Detect the presence of the double of the last digit, after separating the lasts type o

    The following proposed solution is formula based and employs a helper row (AE2:AN2) which may be hidden by setting the font color to white.
    1) The formula which separates the last digits is: =VALUE(RIGHT(A4,1))
    2) The formula which identifies duplicates is: =IF(COUNTIFS($P4:$AC4,AE$2)>1,1,0)
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,338

    Re: Detect the presence of the double of the last digit, after separating the lasts type o

    Hello jeteMec yes this is correct, very good job Is it possible to put a color in the value zero?
    Ex = 1 0 1 1 0

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,957

    Re: Detect the presence of the double of the last digit, after separating the lasts type o

    Yes, use conditional formatting > highlight cells rules > equal to: 0 > with: custom
    Font: Yellow
    Fill: No fill
    Let us know if you have any questions.

  5. #5
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,338

    Re: Detect the presence of the double of the last digit, after separating the lasts type o

    Hello. Ok, jeteMc, it worked perfect, thank you!

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,957

    Re: Detect the presence of the double of the last digit, after separating the lasts type o

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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: 6
    Last Post: 01-23-2018, 08:09 PM
  2. Replies: 3
    Last Post: 01-21-2018, 08:31 PM
  3. [SOLVED] Return double digit month
    By quartz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-20-2017, 05:05 AM
  4. [SOLVED] Keep certain number from being reduce to a double digit
    By MRozell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2016, 10:36 AM
  5. [SOLVED] Not of Double Type but within Double Type Range?
    By exceltabz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-09-2014, 09:30 AM
  6. Excel 2010 Separating 6 digit number into 6 cells per row
    By Michael_GR in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-03-2013, 10:05 AM
  7. [SOLVED] Separating digit of numbers into each cell?
    By Exxcel Noob in forum Excel General
    Replies: 14
    Last Post: 06-01-2012, 05:38 PM

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