# All Number Combinations From Entries In 7 Columns And 3 Rows With No Duplicates?

Dec 2, 2013
I have 7 columns x 3 rows with unique numbers. I wish to determine every combination of the above numbers without repeats.

5

11

17

24

29

35

40

[Code] ........

Column 1 would only use column 1 numbers.

Column 2 would only use column 2 numbers...etc.

Also have the same for 5 rows of unique numbers.

I've been working on this for 10 years and this is the last step to finalizing the WINNING numbers.

Back checking using the 5 row technique I would have spent 10,000,000.00 playing over 8 years with a winners purse of 33,000,000.00

With the 3 row I would have spent close to 200k and won 2.5 mil.

Only problem is that I don't have the 10 to start with, the 200k is a maybe .

I need to be able to generate the combinations to play the numbers.

View 9 Replies
ADVERTISEMENT
Mar 29, 2013

I have two columns of data, one with an ID # and the other one with a date. Some ID# + date combinations are repeated and I need to delete the duplicates. Here is a visual:

ID# date

54 19720211

54 19720211

54 19810512

67 19590312

89 19931104

89 19931104

I need to keep only unique ID/date combinations. I would need the final list to look like this:

ID# Date

54 19720211

54 19810512

67 19590312

89 19931104

View 2 Replies
View Related
Oct 9, 2006

I have a spreadsheet which is to record quality checks on work carried out by staff. The spreadsheet has a customer reference number in column B and a Staff reference number in column C.

I can carry out a number of checks on a member of staff on one transaction, so for instance, I could carry 3 checks on one customer number, which would result in the staff ref number being enetered 3 times (there is 1 check per row).

I need a formula to count the number of checks I carry out on each member of staff. My problem is that although 3 checks could be completed on someone, if it is on the same customer NO, it only counts as 1 check. In effect, I need a formula to count the number of staff ref numbers which have a unique customer number eneterd in the adjacent column.

All the cust numbers are unique so would I be able to use a wildcard?

View 4 Replies
View Related
Jul 2, 2014

I have a table with 6 columns (A to F) and multiple rows each, with cells containing words. Taking the words in any one cell from each of the columns in order from A to F will form a complete sentence each time. I need a solution to display all unique possible combinations in column G.

The number of rows is different for each column. A successful result in column G has to include cells from all columns (A to F).

I searched this forum and found a few analogous questions/solutions, but nothing close enough for me to apply to my case. I tried using a concatenation formula, but I have to manually edit the formula in each cell to get all unique combinations (and that would mean thousands of times). If I just drag the formula down it will increment all cell rows instead of one cell's row at a time.

Here's an example : all possible unique combinations.jpg

View 7 Replies
View Related
Dec 15, 2008

I have 25 random numbers and I would like to get a possible 5 digit combinations of these numbers. Can anybody help me with the possible formula?

View 9 Replies
View Related
Apr 9, 2007

(I am unable to use Colo’s HTML Maker to post this—I have noticed several newer members indicating the same thing).

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

| A | Y | N | Y | N | Y | Y | N | N |

| B | Y | N | N | Y | Y | N | N | N |

| C | Y | Y | N | Y | N | Y | Y | N |

| D | Y | Y | Y | N | Y | Y | N | Y |

The answer to the table above is: 144 combinations (using "Y" entries only). The answer is not to do just a simple count of the entries in each row and multiply as this produces 360 combinations rather than the desired 144 combinations. In this example, combinations such as 1-1-1-1 or 5-4-4-3 would not need to be calculated, which is the reason the answer is not 360 combinations.

The table always allows for 8 x 4 cell entries.

It is possible that every cell can be selected (the answer would be 8!/4! in this instance);

At least one entry must occur in each of the first 3 rows. In this example, if row 4 was excluded the answer would be 38 combinations (3 rows);

I am looking for 2 formulae: The first one to calculate the combinations of entries in 4 rows and the second to calculate for 3 rows only.

View 9 Replies
View Related
Jun 30, 2008

What I am looking for is to select between 7 and 15 numbers in total, I want all the possible 6 digit combinations for this.

EG: if I choose 2,9,11,13,15,17&26, it would look something like this

2,9,11,13,15,17

2,9,11,13,15,26

9,11,13,15,17,26

And so on.

If I chose more numbers (10) 1,2,3,4,3,6,7,8,9,10 it would start something like this

1,2,3,4,5,6

1,2,3,4,5,7

1,2,3,4,5,8

1,2,3,4,5,9

1,2,3,4,5,10

And so on.

Please remenber I would like to be able to secelt between 7 and 15 number and be given all the possible combinations.

I would like it to be in one sheet but if that can not be done on as many as it takes.

It would be good if I could just type the required number into A1,B1,C1 and so on and they just gave the combinations required.

View 9 Replies
View Related
Jun 4, 2013

I have attached a before and after image of what I am looking to accomplish.

In the before image, you can see that there are 3 rows of data

- a header

- a repeating model number (in column F) with accompanying data (values in columns G - J are the items of interest)

In the after image, you can see that I took the 3 rows of data and turned it into simply two rows of data

- a header

- the repeating model number

What I did however in the after image, as can be seen, is I took the data that appeared on the repeating row (Row 3 from the Before image), and included the PRICE, COST, BEGIN, and END values in new columns on row 2.

The model number is the same of course, which is why I did it that way.

If the model numbers were different, I would have simply left it alone, as-is.

Is there a way to accomplish this via some functions or maybe even a VBA script?

By the way, if we have to dump all of this onto a new sheet, then so be it.

View 5 Replies
View Related
Feb 28, 2014

I want to check between column c and E if it has same values repeated more than once.

Same user has same ID twice remove one.

for Ex:

if

c2 has "Ram" and E2 has "sample001".

c5 has "Ram" and E5 has "Sample 001".

highlight the duplicate.

Check this between columns c and E till the last row.

View 1 Replies
View Related
Apr 20, 2012

I need excel to delete entire rows if there are duplicates in two columns combined.

So, if I have this sample data (in reality I have a lot more columns)

1 Tr. ID Last Name First Name Sex

2 RBM_A Miller Johnny M

3 RBM_A Bayron Josephine F

4 RBM_A Jackson Reynaldo M

[Code] ........

I want excel to delete only row 9, not 11, 13 or 14.

So far, if I look for duplicates in both columns it marks duplicates in either one. Also if I delete the duplicates, it deletes them only in those two columns, leaving me with distorted data (in this example, row 14 would have no last or first name, but only the values "RBM_C" in column B and "F" in column E.

View 2 Replies
View Related
Dec 10, 2008

I have a single spreadsheet with a few columns but hundreds of rows. Each row is a property reference (with other data such as address in the columns) with a type of charge in column J and the amount in column K. I'll try to replicate below ...

A B ....... J K

Prop1 Prop1Address Rent 100

Prop2 Prop2Address Rent 150

Prop3 Prop3Address Gas 70

Prop4 Prop4Address Water 60

Prop4 Prop4Address Rent 200

Prop4 Prop4Address Elec 80

Prop5 Prop5Address Service 90

I want the sheet to display a property on a single row so would look like as follows ...

A B ....... Rent Gas Water Elec Service Total

Prop1 Prop1Address 100 100

Prop2 Prop2Address 150 150

Prop3 Prop3Address 70 70

Prop4 Prop4Address 200 60 80 340

Prop5 Prop5Address 90 90

View 9 Replies
View Related
May 14, 2006

I've been looking through various forums looking for a macro for a particular task, but I have not found something that works yet. Maybe someone could help me out? It's pretty straightforward situation.

I need a macro that removes an entire row when: information in column B and column C are both found in other rows ( duplicates).

I'm dealing with a worksheet with store record information ... Store Name (column B), Street Name (column C), State/Province, etc. I import new store records all the time and many are invalid because they share the same name and street address and therefore need to be removed. The ones that I’ve played with unfortunately end up deleting the cells only and not the entire row.

It's a tedious process to do manually remove entire rows (for duplicate column B&C) when dealing with thousands of rows and I would very much appreciate any assistance or insight into how simplify the process with a macro. I've attached a sample of what I'm working with.

View 9 Replies
View Related
Dec 6, 2006

I want to delete the current row if the data on row A and Row B match. Its hard to explain so I posted an example.

View 5 Replies
View Related
May 7, 2014

What I need to do is sort certain entries in longer list (column A, it is in .csv format and needs to be in it so coordinates and names and ID, all sorted with commas) and I have another list (column C) which is shorter list of certain IDs. I googled and tried and got some results for the basic structure but the fuction seems to fail. It doesn't matter how I get that third list done, but there is only one criteria: since the list in column A is really long and those entries need to keep the .csv formatting, the function should copy that info what is in the matching cells.

Let me try to put it simple: .csv cells from column A that have matching ID from column C should be copied to column B (or N).

the function I'm working with right now is

=IF(ISERROR(FIND($C:$C; A1))=TRUE;"0";A1)

View 13 Replies
View Related
Jun 3, 2014

I have attached an example. If I have a set of numbers such as the one attached, is it possible to create a formula that will show me all the combinations of numbers that add up to 55.52? In the attached I have highlighted in different colours all the number combinations that add up to 55.52. The numbers highlighted in blue appear within more then one combination. Is there a formula that can do this for me, instead of randomly adding numbers hoping they add up to 55.52.

View 1 Replies
View Related
Jun 4, 2014

I have attached an example. If I have a set of numbers such as the one attached, is it possible to create a formula that will show me all the combinations of numbers that add up to 55.52? In the attached I have highlighted in different colours all the number combinations that add up to 55.52. The numbers highlighted in blue appear within more then one combination. Is there a formula that can do this for me, instead of randomly adding numbers hoping they add up to 55.52.

examples.xlsxâ€Ž

View 1 Replies
View Related
Mar 1, 2014

I work on a daily basis with spreadsheets in excel. The number of columns is the same, but every single spreadsheet has a different number of rows. I recorded this macro in a table with 1196 rows and I would like to use this macro also in other tables with a different number of rows.

Sub City2()

'

' City2 Macro

'

'

Selection.Copy

Cells.Replace What:="POMPANO", Replacement:="Pompano Beach",

[Code].......

View 12 Replies
View Related
Jan 20, 2012

I have 13 sheets of data in my open workbook. Column D, which includes blank cells at times, across each of these sheets maps the same info. of orders. However, I know there are several duplicates, and I want to clean them out. I am trying to figure out a way to highlight all the duplicates that appear only in column D beginning with sheet 4 and ending with sheet 13. I will leave the duplicates that appear on Sheets 5-13 alone, but I want to have them highlighted, so I can review the ones that appear on sheet 4 first, and then delete them.

View 1 Replies
View Related
Mar 16, 2008

I want to have a sheet with all the previous drawings for the florida lottery.

Then I want excel to ask me how many numbers do I wish to play.

Then when I say 12 (for example) it would pick 12 numbers from 1 to 53 and match all possible comibinations of thoses numbers to the the previous drawings and tell me wich 12 number combination would have won more times then others. So it would need to compare each possible 12 nmber combination to each other and see wich one won more 6outof6, 5outof5, 4outof4, and 3outof3. Then give me the one with the highest winings

View 9 Replies
View Related
Oct 28, 2008

Here is what my table kind of looks like

A B

4 0.25

7 0.3

2 0.1

3 0.15

4 0.30

1 0.4

8 0.05

2 0.1

Now there is the number and the number(A) that it value it represents (B). This is what I want. I want to see all possible number combinations between the upper and lower A columns listed veritcally under the whole set, with out duplicating any numbers and with the upper numbers only being in the 1st position and the lower numbers being in the second position Ex( 4-1, 4-8, 4-2, 7-4, 7-1, ect, ect (listed vertically). Now in column B under, right beside each possible combination I want to see the result of the two values multiplied (ex. beside 4-1 I would like to see 0.1)

So below that mess listed above I want to see something like this

A B

4-1 0.1

4-8 0.0125

ect

ect

ect

I want to be able to swith the values around and have it automatically make the correction.

View 9 Replies
View Related
Jan 12, 2007

I wish to calculate the total number of combinations using the number of entries in 6 fields regardless of what the actual entries are. In other words only the number of entries are relevant. They look as follows for example:

Field A1=4; Field B1=3,5,12; Field C1=9,2,11; Field D1=14,1,5; Field E1=18,2; Field F1=3,7

Calculating it using a calculator is too tedious since I have several rows of data with similar entries. I just need to know what the total number of combinations are eg in the above example 1X3x3X3X2X2=108 using some excel formula.

View 3 Replies
View Related
Feb 14, 2013

I have two columns of data in a worksheet, and I need a third column that shows all of the possible combinations of the data in those two columns. For example:

A

A

AA

B

B

AB

[Code] .....

I don't need permutations so, for example, the third column should only give the combination "AB" and exclude "BA".

View 4 Replies
View Related
Apr 23, 2013

I need to count how many times a code appears over a 6mth period only on a single day. The data would look something like:-

1/1 2/1 3/1 4/1 5/1 6/1 7/1 8/1 9/1 10/1 etc

a b c a a b a a b b

If counting b the result would be 2 on the above 10 days as it appears on the 9/1 & 10/1 it would not be included. It is to be used to count the number of times somebody only appears on a single day over a period of time but not count them if they come back the next day.

I cant think of a way to do this using in built formulas (Countifs, sumproduct, etc) The example is basic and there could be up to 20 codes.

View 4 Replies
View Related
May 30, 2008

I have a spreadsheet with two columns:

The first one will always have a 'W' or a 'E'.

The second one will have a three digit code. Like this:

W 507

W 507

W 507

E 504

E 504

W 505

W 505

W 504

W 504

Is it possible to have output that show how many of each combination there is? Like this(for the example above):

W 504 2

W 505 2

W 507 3

E 504 2

View 14 Replies
View Related
May 9, 2008

Have a monthly report process in which I need to count to combinations of values in 2 columns. Example:

A 1

A 1

A 2

A 3

B 2

B 1

B 3

B 3

B 4

Count results: A&1 = 2, A&2 = 1, etc. I'd like to get a summary table of the results. I see how to use sumproduct to count combinations, but that requires a sumproduct formula for every combination. The 2 colums are lengthy and the contents vary each month, so building the formulas each month will be a fair amount of work. Is there another way?

View 3 Replies
View Related
Mar 28, 2007

im looking to piece together all possible part number combinations with a one condition:

The values in Column A must come before the values in Column B. The values in Column B must come before the values in Column C. And So forth...

Example: If Column A had the values of A, B, C; Column B had the values of -1, -2, -3; and Column C had the values of -01, -02, -03

The outcome(s) would be: A-1-01, A-1-02, A-1-03 and so forth...

How can I get it to do that? But I need the flexibility of adding on more "options" should the part number be bigger (for future part number combinations).

View 9 Replies
View Related
Jan 14, 2008

After looking at other similar post titles I could not find a formula to work exactly proper.

I have attatched a sample of my problem. What I need is for cells E4:J4 to look for a match in cells B4:B16 and give a value of " Yes or No " in cell K4 if a match is found. Then copy down formula through E5:J5 to B4:B16 - E9:J9 to B4:B16. As my examples indicate Cells K4 would = yes, K5 = yes, K6 = yes, K7 = no, K8 = no, K9 = yes. Column D is the results, Columns E-J represents all combinations of column D.

I have tried the following formulas but they did not work entirely correct.

= NOT( ISNA( MATCH($b$4:$b$16, e5:j9, 0 ) ) )

= COUNTIF(e9:j9,"="&b4:b16)>0

View 9 Replies
View Related
Aug 1, 2008

I am looking to do the following:

Say I enter the following values into a spreadsheet:

5

7

4

24

32

Is there a way to enter the value "36" and have Excel find the two values of 32 and 4 which add up to 36 for me? I will obviously be dealing with much larger spreadsheets and would like to somehow save time by not having to hunt down possible combinations of the total value I'm searching for.

View 3 Replies
View Related
Dec 19, 2012

What I am trying to achieve using the example below:

ID Subject 1 Subject 2 Subject 3

1 Italian French German

2 Italian Art Physics

3 German French Italian

4 French Italian German

the result:

Italian French German 3

Italian Art Physics 1

As in the example, the combinations of Italian, French and German where counted, irrelevant of whether the subjects are in 2nd, 3rd or 4th column.

I tried to do this task by creating a pivot table but there are so many permutations and subjects that it would take me a long time to add the combinations.

View 6 Replies
View Related
Nov 19, 2007

as an example i will use the national lottery. numbers 1 to 49 inclusive. i need a formula that will list all the possibile 6 number combinations not repeating any.

View 6 Replies
View Related