+ Reply to Thread
Results 1 to 3 of 3

Show all possible combinations

Hybrid View

  1. #1
    Registered User
    Join Date
    03-26-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    2

    Show all possible combinations

    Hi

    How do i show all possible combinations from three columns in a specific order (Excel 2013), shown below? I only wish to show the combinations where the number from column A is lower than B and B is lower than column C.

    Ex.

    A B C D
    1. 6 6 1, 6, 8 OK
    2 7 8 1, 6, 6 Not ok
    3. 8. 9. 1, 9, 6 Not ok
    4. 9. 10
    5. 10. 11
    6. 11. 12
    7. 12. 13

    I'm no pro just an amateur trying to leran.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,080

    Re: Show all possible combinations

    It's not clear from your definition or example what the cells contain.

    What does A1 contain?
    Is it 6
    Or 6 6 1?
    Or even 661?
    Or maybe something else entirely?

    From your definition
    =IF(AND(A1 < B1, B1 < C1),"","Not")&" OK"
    shoyuld suffice but that depends on your data as requested above.
    Last edited by Special-K; 03-26-2015 at 09:26 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    03-26-2015
    Location
    Sweden
    MS-Off Ver
    2013
    Posts
    2

    Re: Show all possible combinations

    Forget abort the picture, it got all wrong.

    I wish to show all possible combinations from a range of three columns A, B and C. Lets say that the range in A is 1-10, B 5-15 and C 10-20. I only want to show the combinations where the number from A is lower than B and where the number from B is lowe than C, the number from C will be higher than both A and B. So one of the possible combinations shown would be 1,5,10.

    Kind regards

+ 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. Show all combinations of 'n' numbers with condition(s)?
    By figeroa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-06-2015, 02:45 PM
  2. Formula (or macro?) to show all number combinations
    By jhill in forum Excel General
    Replies: 6
    Last Post: 05-24-2013, 11:04 AM
  3. Finding possible combinations & listing the wanted combinations
    By Zoke in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 07-16-2012, 03:41 PM
  4. Editing code to show common four-word combinations in a column
    By Glayva in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-07-2011, 09:06 AM
  5. Show possible colour combinations.
    By Bella81 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-26-2011, 10: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