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

[µo°Ý] ¤ñ¹ï¡]¼Æ²Õ¡^

[µo°Ý] ¤ñ¹ï¡]¼Æ²Õ¡^

°ÝÃD¡G
¤ñ¹ï±ø¥ó¡Ga1&b1&c1
·í¶×¤J¤u§@ªí»Pdata¤ñ¹ï¡A¬Û¦PªÌ¡A¤£¶×¤J¡A¤£¦PªÌ¤~¶×¤J
¨Ã¤£©w´Á§ó·s
½Ð¥H¼Æ²Õ¤è¦¡¼¶¼g
¨Ã¼W¥[¹L±b¥\¯à¡A¦pcÄæ1¡]²Ä1¦¸¤ë¦Ò¡^½T©w¤À¼Æ¤£§ó°Ê®É¡A2¦C¦Ü51¦C´NÂê¦í
¤£¦b§ó°Ê¡A¥H¦¹Ãþ±À

¤ñ¸û.zip (20.9 KB)

§Æ±æ¤ä«ù!

¬Ý¤£À´»Ý¨D¤Î­n³B²zªº¬yµ{~~
[¶×¤J]¤Î[§ó·s]¬O¤£¦Pªº,
[¹L±b]¤S¬O«ç§P©w??

TOP

¦^´_ 2# ­ã´£³¡ªL
¦^À³°ÝÃD¡G
1.²Ä1¦¸²Ä2¦CµL¸ê®Æ®É¡A¶×¤J¡F·í¦C¼Æ>2®É¡A¥H§ó·s¤è¦¡¶K¤W
(§PÂ_¨Ó·½¤u§@ªídata¡IAÄæ&bÄæ&cÄæ»P¤u§@ªí¶×Á`¡IAÄæ&bÄæ&cÄæ¤ñ¹ï¡A¬Û¦PªÌ¡A¤£§ó·s¡A
¤£¦PªÌ¡A¦b¤u§@ªí¶×Á`¡I³Ì«á1¦C+1¡A±µÄò¶×¤J)
2.·í¥»¤u§@ªí¸ê®Æ¡A¤w¶×¤J¤u§@ªí¶×Á`¡I®É¡A¹L±bÄæ¡]kÄæ¡^¤@¨Ö¥´v,¨ÃÂê¦í¤w¥´v¤§Àx¦s®æ¡]¦pa2:k51)¡A¥H¦¹Ãþ±À

¤ñ¸û1031.zip (19.55 KB)

§Æ±æ¤ä«ù!

TOP

¦^´_ 3# s7659109


¬JµMKÄæ¤w¦³¡eµù°O¡f¡A§Y¥i¾Ì¦¹²¤¹L¶×¤J¡A¦ó¥²¦A¥ÎA&B&C¥h¤ñ¹ï¡H¡H¡H

©Ò¿×ªº¡eÂê¦í¡f¡A¬O«ü¡e«OÅ@¤u§@ªí¡f¡H¡H¡H

TOP

§Æ±æ¥HA&B&C¥h¤ñ¹ï¡A¦Ó¤£¬OkÄæ¹ïµù°O°µ¬°¶×¤J§ó·s¨Ì¾Ú¡A¦]data¬°¨Ó·½¸ê®Æ¡A¸Ì­±¤£¦P±ø¥ó»Ý¨D¡A¬O¬°¥H«á¦U§Oªí©î¤À·Ç³Æ
¥t¥~¡eÂê¦í¡f¡A¬O«ü¡e«OÅ@¤u§@ªí¡f¤¤¤w¹L±b¸ê®Æ¡]excel ¥i¥H«OÅ@³¡¤ÀÀx¦s®æ¶Ü¡H )
§Æ±æ¤ä«ù!

TOP

¦^´_ 5# s7659109
Sub ¶×¤J()
Dim Arr, Brr, xD, r&, i&, j%, T$, xU As Range, N&
Set xD = CreateObject("Scripting.Dictionary")
Arr = Range([¶×Á`!C1], [¶×Á`!A65536].End(xlUp))
For i = 2 To UBound(Arr)
    xD(Arr(i, 1) & Arr(i, 2) & Arr(i, 3)) = 1
Next i
Application.ScreenUpdating = False
With Sheets("data")
     .Unprotect
     .[A:K].Locked = False
     Set xU = .[A1:K1]
     r = .[A65536].End(xlUp).Row
     Arr = .Range("A1:J" & r)
     Brr = .Range("K1:K" & r)
     For i = 2 To r
         If Val(xD(Arr(i, 1) & Arr(i, 2) & Arr(i, 3))) <> 1 Then
            N = N + 1
            For j = 1 To 10: Arr(N, j) = Arr(i, j): Next
         End If
         Brr(i, 1) = "v"
         Set xU = Union(xU, .Cells(i, 1).Resize(1, 11))
     Next i
     .[K1].Resize(r) = Brr
     xU.Locked = True
     .EnableAutoFilter = True
     .Protect Contents:=True, UserInterfaceOnly:=True
End With
If N = 0 Then Exit Sub
[¶×Á`!B:B].NumberFormatLocal = "@"
[¶×Á`!A65536].End(xlUp)(2).Resize(N, 10) = Arr
End Sub

Xl0000235(¶×¤J).rar (18.51 KB)

TOP

ok
¦ý If Val(xD(Arr(i, 1) & Arr(i, 2) & Arr(i, 3))) <> 1¤¤Val(xD¡]¡^¡^<>1¤£¤F¸Ñ·N«ä¡Hval ¤S¦³¦ó¥Î·N¡H
§Æ±æ¤ä«ù!

TOP

¦^´_ 7# s7659109

­ÈÂà­È ©Î ¤å¦rÂà­È
val(1)=1
val("1")=1
val("")=0
val("a")=0

TOP

¦^´_ 8# ­ã´£³¡ªL
°ÝÃD¤ÏÀ³¡G
A¡BB¡BCÄæ¶×¤J¬°¦r¦ê¡AD~J¬°¼Æ­È¡A¥B¥[¤d¤À¦ì¡A¦p¦ó­×¥¿¡H

Xl0000235(¶×¤J)-1.zip (102.6 KB)

§Æ±æ¤ä«ù!

TOP

¦^´_ 9# s7659109

[¶×Á`!B:B].NumberFormatLocal = "@"
§Y¬O[®æ¦¡]³]©w, ¦Û¦æ¥Î[¿ý»s]§Y¥i¨ú±o®æ¦¡,
©Î¤â°Ê¹w¥ý[¾ãÄæ]³]©w!!!

¸Ü»¡, ¶Q ´£°Ý©«¤]µo¤F¤£¤Ö, ¬Ý¨º»ò¦h§O¤H¼gªºµ{¦¡½X,
³oºØ²³æªºvba, ¤]À³¦Û¤v¥i¥H°µ¥X¨Ó~~~

´£¨Ñµ{¦¡½X, ¬O§Æ±æµ¹¤H¾Ç²ß¦A®M¥Î¦ÜÃþ¦ü»Ý¨D¤W,
§_«h¶È¬O[«È»s¤Æ]ªº¥Î³~,¥Î§¹§Y¥á ~~°®¯Ü±µ®×¥h¤F~~~

TOP

        ÀR«ä¦Û¦b : ¥Ç¿ù¥XÄb®¬¤ß¡A¤~¯à²M²bµL·Ð´o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD