Possible combinations of 7 numbers (non repeated)

maheshmaxi

Active Member
Joined
Dec 16, 2008
Messages
252
Hi

Can anyone help me with the list of possible combinations of 7 numbers (non repeated)
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi,

What are you considering "all possible combinations"? All combinations consisting of 7 numbers? Or do you also want groupings of 1, 2, 3, etc. numbers from those 7?

For example, if the numbers were 1, 2, 3, 4, 5, 6 and 7, would you want to see:

1
2
3
4
5
6
7
1 2
1 3
1 4
1 5
1 6
1 7
2 3
2 4
...

etc.?

Or just the seven-digit numbers?

Regards
 
Upvote 0
Thanks for your response. Yes exactly the same way. Result should be all the digits (between 1 and 7) in different combination (not repeated).
 
Upvote 0
What do you mean by "not repeated"? And are your numbers in reality all single-digit numbers?

Regards
 
Upvote 0
Hi XOR LX,

Sorry, I confused you just by mentioning it "not repeated", just to avoid 22, 223, 343, 1211, etc. I need it in the same way you have mentioned. But I am struggling to get it in excel. Even though if i get the values with repeated numbers into single cell, I have no issues. I will remove it using formulas

1
2
3
4
5
6
7
1 2
1 3
1 4
1 5
1 6
1 7
2 3
2 4
...
 
Upvote 0
But what are your actual numbers in question? Are they 1, 2, 3, 4, 5, 6 and 7? Or other single-digit numbers? Or can they be of any length?

Do any of the numbers in your original list occur more than once in that list?

I think you need to try to be a bit clearer about what data you have and what you would like to see as a result.

Regards
 
Upvote 0
Actually we compared two different tables with big data, each table contains 7 columns: Name, Age, Address, City, etc. While comparing not all the columns match for a record.
I am building a combination table for my "Match_Result" column, which will have combination of matches like below:

Name, Age & City
Name & Age
Name & City
City
Address & City
Age & City
 
Upvote 0
Could you please give an example of what results you actually want to generate?

Regards
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,702
Members
449,048
Latest member
81jamesacct

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top