+ Reply to Thread
Results 1 to 11 of 11

generate only initial and final suits using lasts digits even / odd.

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

    generate only initial and final suits using lasts digits even / odd.

    generate only initial and final suits
    using lasts digits even / odd
    generate the crack or suits, but only initial and final
    * of the two par / odd patterns = 0,2,4,68 and 1,3,5,7,9
    suits in the central band is not used, only
    * the 1st suits of each pattern, and the last
    * The goal is to separate the suits from both ends.
    * of the 25/15 draw line
    * doubts?
    https://www.excelforum.com/attachmen...1&d=1559734010
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: generate only initial and final suits using lasts digits even / odd.

    All as array fomulas with shift control enter
    q6
    =INDEX($A6:$O6,SMALL(IF(MOD($A6:$O6,2)=0,COLUMN($A6:$O6),""),COLUMN(A1)))

    U6
    =INDEX($A6:$O6,SMALL(IF(MOD($A6:$O6,2)=1,COLUMN($A6:$O6),""),COLUMN(A1)))

    z6
    =INDEX($A6:$O6,LARGE(IF(MOD($A6:$O6,2)=0,COLUMN($A6:$O6),""),4-COLUMN(A1)))

    ad6
    =INDEX($A6:$O6,LARGE(IF(MOD($A6:$O6,2)=1,COLUMN($A6:$O6),""),4-COLUMN(A1)))

    All formulas can be copied to the other 2 cells to the right

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

    Re: generate only initial and final suits using lasts digits even / odd.

    please, davsat, you get by on the download sheet. please

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

    Re: generate only initial and final suits using lasts digits even / odd.

    hello,DAVSTH okay now you can do for these new patterns, bass
    / high using the same formulas only changes from odd / even down / high
    low = 0.1,2,3,4
    high = 5,6,7,8,9
    change, down / high please!!!!

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: generate only initial and final suits using lasts digits even / odd.

    it is not clear what you are asking, why not provide the expected results in an attached sheet like before?

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

    Re: generate only initial and final suits using lasts digits even / odd.

    hello,davsth thanks for watching the post,
    * in the previous formulas was used
    * par = 0.2,4,6,8
    odd = 1,3,5,7,9
    now you have to use the same formulas
    * but only changes the parameters
    * high = 5,6,7,8,9
    low = 0.1,2,3,4
    just change the patterns even / odd to = low / high
    * please
    * because I will use the two types of patterns
    * you use the same formulas, but change the param- eters down / high now

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

    Re: generate only initial and final suits using lasts digits even / odd.

    Which part has doubts?

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

    Re: generate only initial and final suits using lasts digits even / odd.

    hello, you have to change the parameter
    for = 0,2,4,6,8 and odd = 1,3,5,7,9
    change down = 0.1,2,3,4 and high = 5,6,7,8,9

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: generate only initial and final suits using lasts digits even / odd.

    Modify davsth's formulas as follows:
    =INDEX($A6:$O6,SMALL(IF($A6:$O6<=4,COLUMN($A6:$O6),""),COLUMN(A1)))
    =INDEX($A6:$O6,SMALL(IF($A6:$O6>=5,COLUMN($A6:$O6),""),COLUMN(A1)))
    =INDEX($A6:$O6,LARGE(IF($A6:$O6<=4,COLUMN($A6:$O6),""),4-COLUMN(A1)))
    =INDEX($A6:$O6,LARGE(IF($A6:$O6>=5,COLUMN($A6:$O6),""),4-COLUMN(A1)))
    Note: these are all array entered formulas which are confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

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

    Re: generate only initial and final suits using lasts digits even / odd.

    ok,yes,JETEMC corret, conglatulations, thank you!!!

  11. #11
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: generate only initial and final suits using lasts digits even / odd.

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. 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. identify the initial and final cracks * odd / even.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-06-2019, 07:31 PM
  2. detect from 1 to 35, the cracks initial and final, even and odd .
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2019, 03:21 PM
  3. add the initial and last digits in the total and at the beginning and the end.
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-21-2018, 02:48 PM
  4. Data Analysis: Compare initial date with final date by looking up the latest revision
    By White_Glint in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-08-2015, 02:31 PM
  5. [SOLVED] Find initial value, final value & missing entries
    By satputenandkumar0 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 07-08-2014, 10:04 AM
  6. search and replace the final 2 digits
    By endoskeleton in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-23-2011, 02:52 PM
  7. A text number with exactly 6 digits in the final outcome
    By mjwillyone in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-06-2009, 12:26 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