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

[µo°Ý] ¬d§ä¦¨«~¦^³f¼Æ¶q

[µo°Ý] ¬d§ä¦¨«~¦^³f¼Æ¶q

¦p¹Ï©Ò¥Ü¡A§Æ±æ·í¥Î®Æ²M³æµ¥©ó­ì®Æ±ÄÁʮɥi¥H¦b²£¦¨«~¦^³f¼Æ±a¥X¥»´Á§¹¤u¼Æ¶q
¥Ñ©ó¥Î®Æ²M³æ¤£¤@©w¬O1:1¡A¦³¥i¯à¬O1:2©Î2:1³£¤£¤@©w¡A¦ý¨ä¦^³f¼Æ¶qªÖ©w¬O²£«~ªº¥»´Á§¹¤u¼Æ
¬O§_¦³¤½¦¡¥i¥H¤Þ¥Î¡AÁÂÁ¡I

°ÝÃD.zip (9.81 KB)

¦^´_ 1# shootingstar


    ÁÂÁ«e½úµoªí¦¹¥DÃD»P½d¨Ò
«á¾ÇÂǦ¹©«½m²ßVBA,¾Ç²ß¤è®×¦p¤U,½Ð«e½ú°Ñ¦Ò
°ÝÃD_20230923.zip (17.96 KB)

°õ¦æ«e:


°õ¦æµ²ªG:



Option Explicit
Sub TEST()
Dim Brr, Crr, i&, T$, T3$, T5$, T6$, TT$, S&
If [G65536].End(3).Row <> 1 Then Range([G2], [G65536].End(3)).ClearContents: Exit Sub
Brr = Range([G2], [A65536].End(3))
ReDim Crr(1 To UBound(Brr), 1 To 1)
For i = 1 To UBound(Brr)
   T = Trim(Brr(i, 1)): T3 = Trim(Brr(i, 3)): T5 = Trim(Brr(i, 5)): T6 = Trim(Brr(i, 6))
   If TT <> T Then TT = T: S = Val(T5)
   If T3 = T6 And T3 <> "" Then Crr(i, 1) = S
Next
[G2].Resize(UBound(Crr), 1) = Crr
Erase Brr, Crr
End Sub
¥Î¦æ°Ê¸Ë¸mÂsÄý½×¾Â¾Ç²ß«Ü¤è«K,ÁÂÁ½׾¸gÀç¹Î¶¤
½Ð¤j®a¤@°_¤W½×¾Â¨Ó¥æ¬y

TOP

H3=IF((C4=F4)*(C4<>""),LOOKUP(9^9,E$2:E3),"")
google"EXCEL°g"  blog  ©Îgoogleºô§}:https://hcm19522.blogspot.com/

TOP

        ÀR«ä¦Û¦b : ¦Y­W¤F­W¡B­WºÉ¤Ü¨Ó¡A¨ÉºÖ¤FºÖ¡BºÖºÉ´d¨Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD