ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¦p¦ó§ä¥X²{¤G¦¸¥H¤Wªº¼Æ¦r¡H

¦p¦ó§ä¥X²{¤G¦¸¥H¤Wªº¼Æ¦r¡H

¦bÀx¦s®æ½d³ò¤º¡A¦p¦ó§ä¥X²{¤G¦¸¥H¤Wªº¼Æ¦r¡H
¨Ã¤£¬O­n²Î­p¼Æ¦r¥X²{ªº¦¸¼Æ¡D
ÁÂÁ¡I

ªþ¥ó.rar (3.01 KB)

¦^´_ 1# q1a2z5

A17 B17 °}¦C¤½¦¡
A17=SMALL(IF(COUNTIF($A$1:$F$15,$A$1:$F$15)>1,$A$1:$F$15,""),COLUMN(A:A))
B17=IF(ISERROR(SMALL(IF(COUNTIF($A$1:$F$15,$A$1:$F$15)>1,$A$1:$F$15,""),1+SUM(COUNTIF($A$1:$F$15,$A$17:A17)))),"",SMALL(IF(COUNTIF($A$1:$F$15,$A$1:$F$15)>1,$A$1:$F$15,""),1+SUM(COUNTIF($A$1:$F$15,$A$17:A17))))  ¦V¥k½Æ»s

ªþ¥ó.rar (4.13 KB)

TOP

¦^´_ 1# q1a2z5
H3°}¦C¤½¦¡
=IF(COLUMN(A1)>SUM(IF(COUNTIF($A$1:$F$15,$A$1:$F$15)>=2,1/COUNTIF($A$1:$F$15,$A$1:$F$15),0)),"",SMALL(IF(COUNTIF($G$3:G3,IF(COUNTIF($A$1:$F$15,$A$1:$F$15)>=2,$A$1:$F$15,""))=0,IF(COUNTIF($A$1:$F$15,$A$1:$F$15)>=2,$A$1:$F$15,""),""),1))
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

­n¦p¦ó§ä¥X¥|­Ó¸¹½X¬°¤@²Õ¤S´¿¸g¥X²{¤G¦¸¥H¤Wªº¼Æ¦r²Õ¦X©O¡H
¦pªþ¥ó

ÁÂÁ¡I

ªþ¥ó.rar (3.76 KB)

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-2-5 22:28 ½s¿è

¦^´_ 4# q1a2z5
H1=B1&","&C1&","&D1&","&E1
¦V¥k¦V¤U½Æ»s
L2°}¦C¤½¦¡
=INDIRECT("R"&MOD(SMALL(IF((COUNTIF($L$1:L1,$H$1:$J$12)=0)*(COUNTIF($H$1:$J$12,$H$1:$J$12)=2),COLUMN($H$1:$J$12)*100+ROW($H$1:$J$12),""),1),100)&"C"&INT(SMALL(IF((COUNTIF($L$1:L1,$H$1:$J$12)=0)*(COUNTIF($H$1:$J$12,$H$1:$J$12)=2),COLUMN($H$1:$J$12)*100+ROW($H$1:$J$12),""),1)/100),0)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

ÁÂÁ¤j¤jªº¦^´_
¨º¦pªG¥|­Ó¸¹½X©Ò¦bÀx¦s®æ³£¤£¬Û³sªº¸Ü¡A¥i¦³¤èªkÅã¥Ü¥X¨Ó©O

¦pªþ¥ó

ÁÂÁ¡I

ªþ¥ó.rar (3.83 KB)

TOP

¦^´_ 6# q1a2z5
³o¥Î¨ç¼Æ¸Ñ¤£¥X¨Ó
  1. Sub nn()
  2. Dim Ay()
  3. Set d = CreateObject("Scripting.Dictionary")
  4. Set d1 = CreateObject("Scripting.Dictionary")

  5. ar = [B1:G12].Value
  6. For r = 1 To 12
  7. For i = 1 To 3
  8.    For j = i + 1 To 6
  9.       For x = j + 1 To 6
  10.          For y = x + 1 To 6
  11.          mystr = Join(Array(ar(r, i), ar(r, j), ar(r, x), ar(r, y)), ",")
  12.          d1(mystr & r) = d1(mystr & r) + 1
  13.          If d1(mystr & r) = 1 Then d(mystr) = d(mystr) + 1
  14.          Next
  15.       Next
  16.    Next
  17. Next
  18. Next
  19. For Each ky In d.keys
  20.    If d(ky) = 2 Then
  21.    ReDim Preserve Ay(s)
  22.    Ay(s) = ky
  23.    s = s + 1
  24.    End If
  25. Next
  26. [H4].Resize(s, 1) = Application.Transpose(Ay)
  27. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 6# q1a2z5


    ³o¹³¬O¼Æ¾ÇÃD!!  °Ñ¦Ò¤@¤U!  ¥Î¤F«Ü¦hªº»²§U¸ò¤À¶}ªº¨BÆJ  

°ò¥»ªº°µªk¬O¨â²Õ¼Æ¦r¤@ª½¤ñ¤U¥h      ¦A§ä¥X¬Û¦P¸¹­Ó¼Æ(§Y¦³¥|­Ó¸¹½X²Õ­«½Æ)=4 (¥¿½Tªº»¡¬O>=4)      ¦A±N¸¹½X§ä¥X

·í²Õ¼Æ§ó¦h ©Î§ä¥X¥X²{¤T¦¸¥H¤Wªº¼Æ¦r²Õ  ¨º´N"¦A»¡"

§Ú¤U¸üªº¬O6#ªºÀÉ    ²Ä¤»²Õªº¼Æ¦r¸ò¤§«eªºÀɤ£¤@¼Ë
¥X²{¤G¦¸¥H¤W¼Æ¦r²Õ.rar (10.26 KB)

TOP

        ÀR«ä¦Û¦b : ¬O«D·í±Ð¨|¡AÆg¬ü§@ĵ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD