advanced help
per page, with , order by , clip by
Results of 0 - 1 of about 0 (0.000 sec.)
[[20020722182227]]
@digest: a93179fb8f3df49697e807dde1436b4e
@id: 348
@mdate: 2008-09-04T06:54:45Z
@size: 1639
@type: text/plain
#keywords: ロト (7517), 象7 (7055), 数b3 (6466), 各6 (5771), 回6 (4777), ト6 (4751), 一数 (3685), 回5 (3409), 上同 (2640), 回2 (2618), 索対 (2494), 合同 (2227), 見習 (2195), 個以 (1791), 象デ (1483), 決ロ (1219), 未解 (937), 一個 (844), 回数 (754), cnt (702), integer (648), 表題 (628), 同一 (620), cells (572), ピッ (552), 解消 (527), クア (517), preserve (480), 対象 (456), 検索 (438), 弥太 (418), (a (398)
『同一数値の検索と表題の検索』(ロト6当てたい君)
(A) (AA)(BB)(CC)(DD)(EE)(GG) 1回 2 10 25 29 32 43 2回 5 11 22 31 35 38 : : 90回 6 20 22 29 31 35 検索対象 7 14 16 22 36 39 上の表のように1回〜90回までの各6個の数値があり、検索対象の数値と4個以上同じ数値がある場合、(A)欄の回数がピックアップできるようにしたいのですが教えて下さい。また、4個以上の場合同一個数も表示したいのですが‥。 ---- ほならまぁ、かなれっとはん、ROUGEせんぱいを見習って未解決ログの解消に取り組んでみまひょか。 A3から下方向に回数 B3からG92までデータを挿入(なんぼでもOK) B1からG1まで検索対象データを書き込み、ロト6を実行。あたりまへん。^^ (弥太郎) '----------------------- Sub ロト6() Dim i As Long, n As Integer, Cnt As Integer, j As Integer, tbl, x() tbl = Cells(3, 1).Resize(Cells(Rows.Count, 1).End(xlUp).Row, 7) ary = Array(Cells(1, 2), Cells(1, 3), Cells(1, 4), Cells(1, 5), Cells(1, 6), Cells(1, 7)) For i = 1 To UBound(tbl, 1) For n = 2 To 7 If Not IsError(Application.Match(tbl(i, n), ary, 0)) Then Cnt = Cnt + 1 End If Next n If Cnt >= 4 Then j = j + 1 ReDim Preserve x(1 To 2, 1 To j) x(1, j) = tbl(i, 1) x(2, j) = Cnt End If Cnt = 0 Next i If j > 0 Then Cells(1, "i").Resize(j, 2) = Application.Transpose(x) End Sub ...
http://www.excel.studio-kazu.jp/wiki/kazuwiki/200207/20020722182227.txt - [detail] - similar
PREV NEXT
Powered by Hyper Estraier 1.4.13, with 97018 documents and 608144 words.

訪問者:カウンタValid HTML 4.01 Transitional