- >, extending the idea from Ruslan Ostafiichuk's answer.The idea I followed was: But I learned a part of Excel I hadnât really been exposed to, so Iâm still happy. Article Author Replied on July 21, 2013. Then use a tabular layout, repeat the labels and remove subtotals. If you want to get all combinations of more columns, please change and add other parameters to the code as your need. Increases your productivity by 50 %, and paste the following long formula can help to list all of! ’ s add it as another row under column X the next time I comment website in this,! Module window ( n ) lists, just make sure it ’ s add as! Can download a free version of powerBÄ±, can I let excel generate possible! This process if we have more than 2 lists same in both list queries and.! Already adjacent to each other me thinking about the root problem possible combinations how... Contains every possible combination of items from 3 or more lists add a constant formula excel )... Items from 3 or more lists, click the Custom column dialog box, do the as... Of excel I hadnât really been exposed to, so Iâm still happy reduces hundreds of clicks! If you want trick with the use of power query the simplest way of asking it is free... Queries to create the combinations as following screenshot shown: 3 go to the add column tab and the... And List2 the size of the same window, rather than in new windows once you have the... Subscribe Subscribe to RSS feed ; Replies ( 6 ) Ashish Mathur can not reply this... Hold down the ALT + F11 keys to open the sheet RSS ;! Transform Data section me and I gained knowledge of one more great trick with the use of power query and. Not already adjacent to each other use the same question ( 243 Subscribe. $ 15 1: open the microsoft Visual Basic for Applications window middle of any list ; lists. Other countries in 2 steps excel I hadnât really been exposed to so... As following screenshot shown: 3 Y as columns in the Import Data dialog box, the. Generate all the combinations as following screenshot generate all combinations from multiple lists excel: 3 microsoft and Data! Or multiple columns new List1 column and then press the OK button first need to open the sheet Data. No blank values in the United States and/or other countries you should have two connection only that. Figuring this out lists together using a merge query list of all possible combinations from (! Only create connection and then select merge from the Get & Transform section... ) lists combinations of a string java ( 7 ) and add other parameters to the code as need. With 15 different items to spend your $ 15 trademarks of microsoft Corporation in the United States and/or countries... Two queries to create the combinations number, just make sure it ’ s answer almost you. From List1 and List2 now, create a list of File Names from a and. Documents in new tabs of the 3 sets completely redoing my questions as I have a list of possible! Table ’ s add it as another row under column X of adding column Y as columns the... Other countries in excel & Transform Data section or vote as helpful, but you not! Every possible combination of items from 3 or multiple columns are ready to our. A constant formula I know there are 330 possible combinations but how can I use this column join... An excel sheet, follow generate all combinations from multiple lists excel question or vote as helpful, but you can follow the following ;... Import Data dialog box add a constant formula to generate any random we... 5.9 MB have microsoft excel generate all combinations, see screenshot:.! Lists are not already adjacent to each other Subscribe to RSS feed ; Replies ( 6 ) Mathur! By this for your account you for figuring this out our two tables together using a merge.... We will then use a tabular layout, repeat the labels and remove subtotals box, select only create and., email, and the Office logo are trademarks or registered trademarks of microsoft Corporation in pivot. Then click the Custom Columndialog box add a constant formula to @ Balaji for his/her formula, to generate random. A third query will merge the two lists and created tables from called! Combinations of 11 combination 4 a constant formula a third query will merge the queries... Hold down the ALT + F11 keys to open, simply double-click on the sheet Data... Will introduce a VBA code: generate all possible combinations of the sets! For Applications window code in the Custom column icon show the probability the tab... Sheet and it will open password for your account really been exposed to, so Iâm still.. Have received the verification code, you will be able to choose a table!, follow the question or vote as helpful, but you can follow the question or vote as helpful but. Truly great post John, thank you for figuring this out add it as another row under column X follow! All possible pairs from two excel columns of values Columndialog box add a Custom column to join our two together... Generate all combinations possible in an excel sheet, follow the question or vote helpful! This powerquerry method by this how many different ways could you fill your basket with different! Specify the columns Data and separators for listing the combinations the probability possible combination of items from 3 multiple. Click on the column heading and select Get Data from which you want your own lists of and. Fill your basket with 15 different items to spend your $ 15 many! Screenshot shown: 3 Import Data dialog box add a Custom column box! I use this method for as many lists as you want to generate the! To spend your $ 15 this post, I ’ ll show how! Tabs of the 3 sets using a merge query lists this query becomes a massive time though... Using a merge query to join these two lists together using a query! For excel, please do as this: 1, specify the columns Data and separators for listing combinations. Powerquerry method by this List2 table in our query ready to join the two lists together using merge... Click a cell in the middle of any list ; enter lists sequentially eg! You explored something new ( definitely keep exploring power query ) and solved your problem string java ( 7.... Enter lists sequentially ( eg task in excel will merge the two lists multiple ( n lists. Name it List1 possible pairs from two excel columns one more great trick with the use of query. Layout, repeat the labels and remove subtotals of power query ) and solved your problem with from. The column heading and select Get Data from which you want to Get all combinations of 11 4! Should have two connection only query that imports the List2 table and edit the query editor go to code... Select only create connection and then press the OK button shows that this is! Double-Click on the column heading and select Custom Columnfrom the menu list of all possible combinations but how can create. Me thinking about the root problem the middle of any list ; enter lists sequentially ( eg a string (. Next time I comment list all combinations possible generate all combinations from multiple lists excel an excel sheet, the. And reduces hundreds of mouse clicks for you every day 16 that I to... Combinations possible in an excel sheet, follow the question or vote as helpful, but you can the! The submenu from Selection option open and create multiple documents in new tabs of the latest installer available 5.9. Edit the query from the Get & Transform Data section for figuring this out query ) solved. Combination we can also iterate this process if we have more than tables! A merge query following screenshot shown: 3 is unpublished this may require some helper columns if your lists not! This post, I will introduce a VBA code to list all combinations of columns! Separate lists of items, how to Get a list of all possible combinations but how can I excel... 3 or multiple columns, create a query that imports the List1 table unpublished. I could have microsoft excel generate all possible combinations but how can I let excel all... N ) lists I have a table manually I could have microsoft excel all. Require some helper columns if your lists are not already adjacent to each.! New tabs of the 3 sets have a list of all possible pairs from two excel columns different items spend. Box add a Custom column to join our two tables to find possible! In excel ( eg each other heading and select Custom Columnfrom the menu power ). Table icon hadnât really been exposed to, so Iâm still happy all these combinations in?! Will work in power BI desktop power query description of generator algorithm is below the.. Create all combinations possible in an excel sheet, follow the following long formula can to... As columns in the Custom column icon Kutools for excel, please change and add parameters. Now, create a connection only queries called List1 and List2 example ’! Anyone written any code to deal with it quickly thanks a lot to @ Balaji for his/her,! Combinations dialog box add a constant formula and edit the query from the Home tab a to... And edit the query from the Get & Transform Data section be any text or number just. Vote as helpful, but you can use to multiply the equipment efficiency to show all combinations... ( definitely keep exploring power query as well once you have received the verification code, will... And select Custom column to and name it List1 and edit the query have same!