+ Reply to Thread
Results 1 to 8 of 8

detect at each position of a number whether it is even or odd.

Hybrid View

jorel detect at each position of a... 07-23-2021, 03:20 PM
Rick Rothstein Re: detect at each position... 07-23-2021, 03:31 PM
AliGW Re: detect at each position... 07-24-2021, 08:18 AM
jorel Re: detect at each position... 07-24-2021, 08:43 AM
AliGW Re: detect at each position... 07-24-2021, 09:20 AM
Rick Rothstein Re: detect at each position... 07-24-2021, 09:47 AM
jorel Re: detect at each position... 07-24-2021, 09:50 AM
Rick Rothstein Re: detect at each position... 07-24-2021, 10:40 AM
  1. #1
    Forum Contributor
    Join Date
    11-29-2014
    Location
    brasil
    MS-Off Ver
    excel 2016
    Posts
    2,344

    detect at each position of a number whether it is even or odd.

    detect at each position of a number whether it is even or odd. taking into account the last digit ex= 17= the 7 is the last digit and is odd or 14 last is 4 and is even
    https://www.excelforum.com/attachmen...1&d=1627068046
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,475

    Re: detect at each position of a number whether it is even or odd.

    Put this formula in cell Q7 and copy across to cell AE7...

    =IF(ISODD(A7),"x","")

    Put this formula in cell AF7...

    =COUNTIF(Q7:AE7,"x")

    Put this formula in cell AG7 and copy accros to cell AU7...

    =IF(ISEVEN(A7),"x","")

    Put this formula in cell AV7...

    =COUNTIF(AG7:AU7,"x")

    Then copy all of these formulas down to the end of your data.
    Last edited by Rick Rothstein; 07-23-2021 at 03:33 PM.

  3. #3
    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
    91,088

    Re: detect at each position of a number whether it is even or odd.

    The wrong forum? Does that mean you are cross-posting again without providing links here?
    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.

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

    Re: detect at each position of a number whether it is even or odd.

    but it's not the same subject, and the forum
    is lotteries only, the forum is only lotteries
    quite different from this one. alw can delete the wrong message? please

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

    Re: detect at each position of a number whether it is even or odd.

    Thanks for clarifying.

  6. #6
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,475

    Re: detect at each position of a number whether it is even or odd.

    So, did what I post in Message #2 work for you or not???

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

    Re: detect at each position of a number whether it is even or odd.

    yes , thank you!

  8. #8
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,475

    Re: detect at each position of a number whether it is even or odd.

    *** IGNORE THIS MESSAGE - I see you did that already ***

    In that case, you should mark this thread as "SOLVED" then.

+ 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 only when number is in the same position in each of the two sectors (yellow color),
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-23-2021, 03:04 PM
  2. [SOLVED] detect the 4 patterns that are in 4 colors in each position.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2020, 03:40 PM
  3. always detect the numbers from the last draw to the next, in the same position.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2020, 02:18 PM
  4. [SOLVED] detect in each position the 4 patterns with the corresponding colors.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-02-2020, 10:03 AM
  5. [SOLVED] detect only the 1st number in the position of each sector.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-14-2020, 08:18 AM
  6. [SOLVED] detect the same repeated numbers from the same position.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-26-2020, 08:20 AM
  7. [SOLVED] detect in each position * the repetition of the pattern.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-07-2019, 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