Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Problem---

Yes, I see what you mean, however, I don't think that's a concern based on
the "characteristics" of the sample data. Looks like these may be lottery
numbers.

Biff

"dribler2" wrote in message
...
T. Valko,
your formula works well to see the rows having match values on per each
cells, but it also considers matching if one row consist of 7 cells with
one
match number
e.g.
scenario of one matched row
3 4 19 21 25 32 38
3 3 3 3 3 3 3
this is considered as a one full 7 - match..
maybe i am confused...or maybe u can expand in a more distinct way..
happy holidays...
dribler2
"T. Valko" wrote:

Try these:

Both are array formulas. They need to be entered using the key
combination
of CTRL,SHIFT,ENTER (not just ENTER):

The table of numbers is in the range A1:G499

The set of 7 numbers to lookup is in the range I1:O1 -

3 4 19 21 25 32 38

For all 7 numbers:

=SUMPRODUCT(--(MMULT(--ISNUMBER(MATCH(A1:G499,I1:O1,0)),TRANSPOSE(COLUMN( A1:G499)^0))=7))

For 5 out of 7:

=SUMPRODUCT(--(MMULT(--ISNUMBER(MATCH(A1:G499,I1:O1,0)),TRANSPOSE(COLUMN( A1:G499)^0))=5))

Note: if a set has 6 or 7 numbers that match it will not be counted as a
5
out 7 match.

Biff

"Sopranos" wrote in message
...
I have numbers in 7 columns (A-G) and 499 rows (1-499).
-Question 1: How could I see if exist two or more same rows?For
example:


A B C D E F
G
3 4 19 21 25 32 38
2 3 20 22 24 25 38
6 12 13 23 28 38 39
3 6 7 17 32 37 38
5 14 23 27 29 31 37
3 4 19 21 25 32 38
5 6 11 20 22 24 34
2 5 18 22 23 25 37
2 7 13 18 25 31 32
5 13 17 28 32 36 39


How can I get how manny combinations of 3 4 19 21 25 32 38

is there in whole table?


-Question 2: How could I see how manny combinations with 5 same numbers
and two diferent there is? For example:

A B C D E F
G
3 4 19 21 25 32 38
2 3 20 22 24 25 38
6 12 13 23 28 38 39
3 6 7 17 32 37 38
5 14 23 27 29 31 37
3 4 19 21 24 27 38
5 6 11 20 22 24 34
2 5 18 22 23 25 37
2 7 13 18 25 31 32
5 13 17 28 32 36 39


How can i see that there is 2 combinations where exist 5 same numbers
and
2 diferrent?

3 4 19 21 25 32 38


3 4 19 21 24 27 38



Sorry for my english... I hope that you understand me... Thanks!






 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
have some problem with database baldamenti Excel Discussion (Misc queries) 1 October 13th 05 05:38 PM
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM


All times are GMT +1. The time now is 10:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"