1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User


  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Pairs of numbers

Discussion in 'Excel Challenges' started by bines53, Jul 26, 2018.

  1. bines53

    bines53 Active Member

    Hi haz ,

    Can you upload your formula to a file?

  2. Haz

    Haz Member

    Here you go, working on Excel 2007
    I changed it a little to give unique answers and added the logic behind it on the bottom

    Attached Files:

  3. bines53

    bines53 Active Member

  4. bines53

    bines53 Active Member

    Hello friends ,

    The small challenge (Number with 4 digits) has become a big challenge (without limitation of digits in the cell).

    The main problem is that we have backward or opposite numbers,{25-52,47-74...)

    In this challenge


    My solution was ,MIN(X,Y) = (X > Y +{1,0}=1)* XY

    In the current challenge,

    First step,with this formula


    I come to a pair of numbers without duplicates,

    10 numbers, that the two digits are equal (00,11,22...) and 45 numbers, which are two digits in number, are different ,that is, there are 55 numbers in the game.

    Second step,what combinations are there


    The complete solution,



    Attached Files:

  5. Jan Martens

    Jan Martens New Member

    hi , this is my formula solution.

    It's easy to understand and works for more than 4 digits.


    ascending ordered digits & transpose (ascending ordered digits) gives a square table (array) where the concatenated values we need are above the diagonal

    row()<transpose (row()) is a thruth table of the same dimension as the ordered digits table where the true values are above the diagonal.

    both tables are multiplied.

    large sorts the values in ascending order.
    LARGE(multiplied table;COMBIN(LEN(c1),2)+1-ROW(INDIRECT("1:"&COMBIN(LEN(c1),2))

    duplicates (due to duplicated digits) are not eliminated.
    Last edited: Aug 9, 2018
  6. bines53

    bines53 Active Member

    Hello friends ,

    Thanks to everyone who participated in the challenge, I enjoyed it very much, and I hope there will be more challenges later on.


Share This Page