Forum Discussion

MOTI's avatar
MOTI
Copper Contributor
Dec 29, 2024
Solved

FUNCTION

HELLO

I look for function that will show me all the combinationes of 4 numbers in excell

 

BEST REGARDS

5 Replies

  • AsherHolt's avatar
    AsherHolt
    Copper Contributor

    It helped me, Thank you so much for the solution.

  • m_tarler's avatar
    m_tarler
    Silver Contributor

    if you want a solution that isn't a macro you can try:

    =LET(in, A1:A7, 
             n, ROWS(in), 
             c, SEQUENCE(n)*SIGN(BITAND(SEQUENCE(1, 2 ^ n),  2 ^ SEQUENCE(n, 1, 0))),
             IF(c,INDEX(in,c),"")
             )

     

    • MOTI's avatar
      MOTI
      Copper Contributor

      HI

      I dont understand.

      could you send a file with an example ?