+ Reply to Thread
Results 1 to 7 of 7

detect code 6,7,8,9. well we have 8 possible numbers .

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

    detect code 6,7,8,9. well we have 8 possible numbers .

    detect code 6,7,8,9.
    well we have 8 possible numbers
    in last digit code,
    * 06 07 08 09 16 17 18 19
    the macro will detect on last digit
    6,7,8,9 in their respective positions
    * of the sweepstakes, this code 6,7,8,9 is last
    * number digit
    * example 17 last digit is 7
    https://www.excelforum.com/attachmen...1&d=1564427055
    Attached Files Attached Files

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: detect code 6,7,8,9. well we have 8 possible numbers .

    Hi

    Try this formula in Q5 and drag down and forward.

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

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

    Re: detect code 6,7,8,9. well we have 8 possible numbers .

    hello,AUGUSTO= THANK YOU
    the formula has to be in portuguese
    * excel 2016

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

    Re: detect code 6,7,8,9. well we have 8 possible numbers .

    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    As any english formula can be directly added to a cell whatever the Excel local version
    on VBE side via the Immediate window (Ctrl G) …

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: detect code 6,7,8,9. well we have 8 possible numbers .

    Hi

    Formula in Portuguese, Portugal
    =SE(É.NÚM(LOCALIZAR(DIREITA(A5;1);"6789"));A5;"")

    Formula in Portuguese, Brazil
    =SE(ÉNÚM(PROCURAR(DIREITA(A5;1);"6789"));A5;"")

    Nota: Como pode ver, existem pequenas diferenças entre as duas fórmulas, nada que o tradutor não o possa fazer (Thanks to @AliGW for the link).

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

    Re: detect code 6,7,8,9. well we have 8 possible numbers .

    hello,AUGUSTO, perfect, conglatulations, thank you!!
    funcionou !abraçoes

+ 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] detect double-digit numbers together in the * growing.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-25-2019, 02:26 PM
  2. Replies: 1
    Last Post: 07-06-2019, 08:54 AM
  3. [SOLVED] detect the numbers of the two sectors *
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2019, 08:32 AM
  4. Is there a way to detect changes to vba code?
    By Jenkins27 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-22-2016, 05:02 AM
  5. Replies: 7
    Last Post: 02-27-2014, 10:56 PM
  6. Detect Negative numbers
    By new@this in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-04-2007, 05:30 AM
  7. Replies: 3
    Last Post: 03-03-2007, 10: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