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

Àx¦s®æ±ÆÅã¥Ü

Àx¦s®æ±ÆÅã¥Ü

½Ð°Ý¦U¦ì¥ý¶i¡A¤p§Ì¦³­Ó°ÝÃD­n¦p¦ó²¤Æ©Î­×§ï³]©w¨ç¼Æ¡A¸Ô¦pªþÀÉ¡AÁÂÁ·P®¦¡I
Àx¦s®æ±Æ¦CÅã¥Ü.zip (9.25 KB)

½Ð°Ý¦U¦ì¥ý¶i¹ï©ó¤p§ÌªºÀɮרç¼Æ¤½¦¡¦³µL¸û²¤Æ©Î¨ä¥L¤½¦¡¡A½Ð½ç±Ð¡AÁÂÁ¡I

TOP

°}¦C¤½¦¡(¤TÁä)
=INDEX(C:C,SMALL(IF(ISERROR(0/(COUNTIF(OFFSET(D$3,ROW($1:$99),,,4),"¤¤")=0)/(C$4:C$99<>"")),4^8,ROW($4:$99)),ROW(A1)))&""

TOP

¦^´_ 3# ­ã´£³¡ªL


   ­ã¤j¡A±zªº¤@­Ó¤½¦¡¤¤¥u­n­×§ï¤@­Ó¦rªº°ÊºA¶µ¥Ø¡A´N¥i¥H¾A¥Î¨ä¥Lªº±¡ªp¡A¯uªºÂ²¤Æ«Ü¦h¡AÁÂÁ«ü±Ð¡I

TOP

¦^´_ 3# ­ã´£³¡ªL


   ­ã¤j¦n¡A¦pªG³o¤½¦¡¦P®É­n¤G­Ó°ÊºA¶µ¥Ø¡A¦p"¤¤"©M"±d" ¡A½Ð°Ý¤½¦¡­n¦p¦ó­×§ï¡AÁÂÁ·P®¦¡I

TOP

¦^´_ 5# shan0948


=INDEX(C:C,SMALL(IF(MMULT(1-ISERR(0/(FIND(D$4:G$28,"_¤¤±d")>1)),{1;1;1;1})+(C$4:C$28="")=0,ROW($4:$28),4^8),ROW(A1)))&""

TOP

¦^´_ 6# ­ã´£³¡ªL


    ­ã¤j±ß¦w¡AªGµM¦h¤@­ÓÅܼƴNÅܪº¸û½ÆÂø¤F¡A­ã¤j¯u¬O¼F®`¡A¤p§Ìªº°ÝÃD¥þ¸Ñ¨M¤F¡AÁÂÁ«ü¾É¡I

TOP

ÁÂÁ½׾Â,ÁÂÁ¦U¦ì«e½ú
«á¾ÇÂǦ¹©«½m²ß°}¦C,¾Ç²ß¤è®×¦p¤U,½Ð¦U¦ì«e½ú«ü±Ð
°õ¦æ«e:


°õ¦æµ²ªG:



Option Explicit
Sub TEST()
Dim Brr, Crr, i&, j%, R&, T$
'¡ô«Å§iÅܼÆ
Brr = Intersect(Range([A1], ActiveSheet.UsedRange), [A:G])
'¡ô¥OBrrÅܼƬO ¸Ë²±«ü©wÀx¦s®æ­Èªº¤Gºû°}¦C
ReDim Crr(1 To 1000, 1 To 4)
'¡ô«Å§iCrrÅܼƬO¤Gºû ªÅ°}¦C
For i = 4 To UBound(Brr)
'¡ô³]¶¶°j°é!i±q3¨ìBrr°}¦CÁa¦V³Ì¤j¯Á¤Þ¦C¸¹
   If T <> Trim(Brr(i, 1)) And Trim(Brr(i, 1)) <> "" Then T = Trim(Brr(i, 1))
   '¡ô¦pªGTÅܼƻP i°j°é¦C²Ä1ÄæBrr°}¦C­È(¥B¤£¬OªÅ­È)¤£¦P??´N¥OT¬O¸Ó­È
   If Trim(Brr(i, 3)) = "" Then GoTo i01
   '¡ô¦pªG©m¦WÄæ¬OªÅªº? True´N¸õ¨ì¼Ð¥Ü i01¦ì¸mÄ~Äò°õ¦æ
   For j = 4 To 7
   '¡ô³]¶¶°j°é!j±q4¨ì7
      If InStr("/¤¤/±d/", "/" & Trim(Brr(i, j)) & "/") Then GoTo i01
      '¡ô¦pªG °ÊºAÄæ®æ¸Ì¬O"¤¤"©Î"±d"? True´N¸õ¨ì¼Ð¥Ü i01¦ì¸mÄ~Äò°õ¦æ
   Next
   R = R + 1
   '¡ô¥ORÅܼƲ֥[ 1
   Crr(R, 1) = Brr(2, 1)
   '¡ô¥ORÅܼƦC²Ä1ÄæCrr°}¦C­È¬O ¼Ó¼h
   Crr(R, 2) = T
   '¡ô¥ORÅܼƦC²Ä2ÄæCrr°}¦C­È¬O ©Ð¸¹
   Crr(R, 3) = Brr(i, 2)
   '¡ô¥ORÅܼƦC²Ä3ÄæCrr°}¦C­È¬O §Ç¸¹
   Crr(R, 4) = Brr(i, 3)
   '¡ô¥ORÅܼƦC²Ä4ÄæCrr°}¦C­È¬O ©m¦W
i01: Next
[L:O].ClearContents
'¡ô¥Oµ²ªGÄæ²M°£¤º®e
If R = 0 Then Exit Sub
'¡ô¦pªGRÅܼƬO 0(¥Nªí¨S¦³²Å¦Xªº¸ê®Æ),´Nµ²§ôµ{¦¡°õ¦æ
[L4].Resize(R, 4) = Crr
'¡ô¥O«ü©wÀx¦s®æÂX®i­è¦nªº½d³òÀx¦s®æ­È¥HCrr°}¦C­È±a¤J
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

        ÀR«ä¦Û¦b : ¯à¥I¥X·R¤ß´N¬OºÖ¡A¯à®ø°£·Ð´o´N¬O¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD