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

¸óÄæ¹ï¤ñ

¸óÄæ¹ï¤ñ


¦³¤T­Óªí®æ¡A¦bªí®æ¡§1¡¨°õ¦æ¡A
ªí®æ¡§1¡¨ ÄæB ©MÄæG ¨â¼Ë¤À§O¦bªí®æ¡§KP" & "KH" §ä´M¡A¦pªG§ä¨ì¬Û¦Pªº¼Æ¾Ú¡C

Á|¨Ò¡G
96089 & 5580 ²Õ¦X¦bKP ªíùاä¨ì
¡§1¡¨ªíªºÄæM (Project) ¶Ç¦^"KP"ªíªº "$A$1"
¡§1¡¨ªíªºÄæO (KP) ¶Ç¦^"KP"ªíªº "$C$1"

96183 & 4780 ²Õ¦X¦b KP & KH ªíùس£§ä¨ì
"1¡¨ªíªºÄæM (Project) ¶Ç¦^"KP"ªíªº "$H$1" & "KH" ªíªº¡§$H$1", ¨âªÌ³£¬O"BH" ¬Û¦P¡A©Ò¥HÅã¥Ü"BH"
"1¡¨ªíªºÄæN (KH) ¶Ç¦^"KH"ªíªº "$J$1"
"1¡¨ªíªºÄæO (KP) ¶Ç¦^"KP"ªíªº "$J$1"

94851 & 5370 ²Õ¦X¦b KH ªíùس£§ä¨ì
"1¡¨ªíªºÄæM (Project) ¶Ç¦^"KH"ªíªº "$A$1" &  "$H$1", ¨âªÌ¤£ ¬Û¦P¡A©Ò¥HÅã¥Ü"BF/BH"
"1¡¨ªíªºÄæN (KH) ¶Ç¦^"KH"ªíªº "$C$1" &  "$J$1", ¨âªÌ³£¬O¡§¼Qªo¡¨¬Û¦P¡A©Ò¥HÅã¥Ü¡§¼Qªo¡¨

96093 & 5260 ²Õ¦X¦b KH & KPªíùس£§ä¨ì
"1¡¨ªíªºÄæM (Project) ¶Ç¦^"KP"ªíªº"$A$1" & "$H$1" & "KH" ªíªº"$A$1" & "$H$1", ¥|³£¬O"BF/ BH/ BF/ BH" ¬Û¦P¡A¦]爲­«½Æ¡A©Ò¥HÅã¥Ü"BF/ BH"
"1¡¨ªíªºÄæN (KH) ¶Ç¦^"KH"ªíªº "$C$1" &  "$J$1", ¨âªÌ³£¬O¡§¼Qªo¡¨¬Û¦P¡A©Ò¥HÅã¥Ü¡§¼Qªo¡¨
"1¡¨ªíªºÄæO (KP) ¶Ç¦^"KP"ªíªº  "$C$1" &  "$J$1", ¨âªÌ³£¬O¡§¼Qªo¡¨¬Û¦P¡A©Ò¥HÅã¥Ü¡§¼Qªo¡¨

¹ï¤ñ.rar (15.59 KB)

¦^´_ 37# 198188

Crr(1, 3)  §ï¬° Crr(i, 3). ¸Õ¸Õ¬Ý
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 36# Andy2483


    ´ú¸Õ¹L¡Aµª®×¨S¦³°ÝÃD¡C
¥t¥~¦³­Ó°ÝÃD¡A½Ð°Ý "¼Qªo" ¬OŪ¨ú KP & KH  ¤u§@ªí内 C1 & J1 ªºÀx¦s®æ¶Ü¡H §Ú´ú¸Õ¹L¦n¹³¤£¬O¡A½Ð°Ýµ{¦¡­þ­Ó¦ì¸m¬O¾Þ§@³o­Óªº¡H
¦]爲¦³¨âºØ¿ï¾Ü ¡§ ¼Qªo¡¨ ©M ¡§¤£¼Qªo¡¨¡A§Ú·Q¬Ý¬Ý¯à¤£¯à¦Û¤v­×§ï¤@¤U¡C
©ÎªÌ¯à§_¹³©«¤lùتº¹Ï¤ù¡A²Ä¤@Äæ¼Ò¸¹¡A²Ä¤GÄæªø«×¡A²Ä¤TÄæ ¡§¼Qªo¡¨ ©ÎªÌ ªÅ¥Õ¡AµM«áª½±µÅª¨ú²Ä¤TÄ檺¼Æ¾Ú¡C

TOP

¦^´_ 35# 198188
ÁÂÁ«e½ú«ü¾É,½Ð¦A¸Õ¸Õ¬Ý
Option Explicit
Sub TEST()
Dim Arr, Brr, Crr, V$, Z, Q, i&, T$, TT$, A, xA As Range, N%, C%
Set Z = CreateObject("Scripting.Dictionary")
Set xA = Range(ActiveSheet.[G1], ActiveSheet.[B65536].End(3)(1, 0))
xA.Offset(1, 12).Resize(, 3).ClearContents:  Brr = xA
For i = 2 To UBound(Brr)
   T = Format(Trim(Brr(i, 2)), "0000000"): V = Format(Val(Brr(i, 7)), "0000000"): TT = T & "/" & V
   Z(TT) = Z(TT) & "/" & i
Next
Arr = ActiveSheet.[M1].Resize(UBound(Brr), 3)
A = Array(Range([KH!C1], [KH!A65536].End(3)), Range([KH!J1], [KH!H65536].End(3)), Range([KP!C1], [KP!A65536].End(3)), Range([KP!J1], [KP!H65536].End(3)))
For Each Crr In A
   Crr = Crr: N = N + 1
   For i = 3 To UBound(Crr)
      T = Format(Trim(Crr(i, 1)), "0000000"): V = Format(Val(Crr(i, 2)), "0000000"): TT = T & "/" & V
      If Z.Exists(TT) Then
         Q = Split(Z(TT) & "/", "/")
         For C = 1 To UBound(Q) - 1
            If Arr(Q(C), 1) = "" Then
               Arr(Q(C), 1) = Crr(1, 1)
               ElseIf InStr("/" & Arr(Q(C), 1) & "/", "/" & Crr(1, 1) & "/") = 0 Then
               Arr(Q(C), 1) = Arr(Q(C), 1) & "/" & Crr(1, 1)
            End If
            Arr(Q(C), N \ 3 + 2) = Crr(1, 3)
         Next
      End If
   Next
Next
ActiveSheet.[M1].Resize(UBound(Brr), 3) = Arr
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 32# Andy2483


    °õ¦æ¤u§@ªíùØ­±ªº¸ê®Æ (SECTION & LENGTH) ²Õ¦X·|¦³­«½Æ©Êªº¡A¦]爲¬O¥]¸Ë¤£¦PªºNOùØ¡A©Ò¥H(SECTION & LENGTH) ²Õ¦X¤£·|¬O°ß¤@

TOP

¥»©«³Ì«á¥Ñ 198188 ©ó 2024-3-5 15:20 ½s¿è

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


Project ¦WºÙ ¡]BH / BF) ³o¨Ç·|¸g±`ÅÜ°Ê¡A
KH / KP ÄæùØ¥u¦³¼Qªo¡A¨S¦³¨ä¥L¤F

TOP

¦^´_ 25# 198188


¬O°Ý:°£¤F¼Qªo, ÁÙ¦³¨S¦³¨ä¥¦? ¨Ò¦p:¤W½¤??
§Y¦P¤@Áä­È, ¦³¤£¦P¤u§@¤º®e???

BF/BH  ¼Qªo/¤W½¤~~~

TOP

¦^´_ 31# 198188


    ¤µ¤Ñ¤~¬d¨ì2¦C»P137¦CÃöÁä¦r¬Û¦P,«á¾Ç¤£¹î,©êºp
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

¦^´_ 30# Andy2483


    «e½ú«ü­þ­Ó¸ê®Æ¡H KP & KH ÁÙ¬O°õ¦æªº¤u§@ªí¡H
¤T­Óªíùتº¤å¦r³£¬O¼Æ¦r¡A¨S¦³²Å¸¹¡C

TOP

¦^´_ 29# 198188


    ¸ê®Æ¸Ì¥i¯à¦³¬Ý¤£¨£ªº¯S®í²Å¸¹
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

        ÀR«ä¦Û¦b : ¦³´¼¼z¤~¯à¤À¿ëµ½´c¨¸¥¿¡F¦³Á¾µê¤~¯à«Ø¥ß¬üº¡¤H¥Í¡C
ªð¦^¦Cªí ¤W¤@¥DÃD